Reliance on Untrusted Inputs in a Security Decision in HedgeDoc - CVE-2026-58488
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass rate limits on login and registration requests, enabling repeated login attempts and unrestricted account creation.
The vulnerability exists due to reliance on an untrusted HTTP header for client identification in HedgeDoc's rate-limiting logic when handling requests to /login and /register. A remote attacker can send requests with changing cf-connecting-ip header values, which are trusted even when requests do not originate from Cloudflare, to bypass per-IP rate limits and submit excessive login or registration requests.