HedgeDoc: Rate-limit bypass via CF-Connecting-IP header spoofing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass, Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-290 and CWE-770.
Summary
HedgeDoc is an open source, real-time, collaborative, markdown notes application. Versions prior to 1.11.0 allowed attackers to circumvent the rate-limiting of the /login and /register routes by spoofing IP addresses. HedgeDoc instances checked for CloudFlare's cf-connecting-ip header and used that instead of the users real IP address, if the header was present even when the request did not originate from Cloudflare. This made it possible for an attacker to spam login requests or create multiple arbitrary accounts by sending another cf-connecting-ip header every few requests. The issue has been fixed in version 1.11.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA hedgedoc (hedgedoc) Fixed in 1.11.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58488
More hedgedoc vulnerabilities
- TI-2023-19867 HedgeDoc API allows to hide existing notes CVSS 3.1HIGH 8.2
- TI-2024-30379 MySQL & free URL mode allows to hide existing notes in hedgedoc CVSS 3.1MEDIUM 6.5
- TI-2021-10188 PDF export allows arbitrary file reads CVSS 3.1CRITICAL 10.0
- TI-2020-16108 Stored XSS in mermaid diagrams CVSS 3.1HIGH 8.7
- TI-2021-10211 Improper Neutralization of Script-Related HTML Tags in Notes CVSS 3.1HIGH 8.1
- TI-2026-42090 HedgeDoc: Denial-of-service via YAML alias expansion in note frontmatter CVSS 4.0HIGH 8.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences