Description
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.
Published: 2026-07-13
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

HedgeDoc versions prior to 1.11.0 enforce rate limits on the /login and /register routes but incorrectly rely on the Cloudflare CF-Connecting-IP header to determine a client’s IP address. When the header is present, HedgeDoc uses it instead of the actual source IP, even if the request does not originate from Cloudflare. An attacker can therefore send a distinct CF-Connecting-IP value with each request to appear as a new IP address and circumvent the rate limits, enabling repeated login attempts or mass account creation. The weakness is represented by CWE‑290 (Authorization Bypass using Misused Credentials) and CWE‑770 (Too Many Objects), and its primary impact is the ability to overwhelm authentication flows, allowing brute‑force or credential‑stuffing attacks.

Affected Systems

Any instance of the open‑source HedgeDoc collaborative editor running a version older than 1.11.0. The vendor name is hedgedoc:hedgedoc. No later releases are affected, and the problem was fixed in 1.11.0.

Risk and Exploitability

The CVSS score is 6.9, indicating moderate severity. The EPSS score of less than 1 percent shows that exploitation is unlikely but still possible. HedgeDoc is not listed in the CISA KEV catalog. Attackers can exploit the flaw remotely via simple HTTP requests that include a fabricated CF-Connecting-IP header set to a varying value; no special privileges are required and the attack can be automated. Because the bypass is purely a header manipulation, the risk of widespread account or credential abuse increases if the vulnerability remains unpatched.

Generated by OpenCVE AI on July 29, 2026 at 06:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade HedgeDoc to version 1.11.0 or later to remove the header-based IP override and restore proper rate limiting.
  • Configure the web server to accept the CF-Connecting-IP header only from Cloudflare’s IP ranges, or strip the header entirely for non‑Cloudflare traffic to prevent IP spoofing.
  • Apply stricter login and account‑creation rate limits or enable multi‑factor authentication to reduce the effectiveness of brute‑force or credential‑stuffing attacks, and monitor login activity for abnormal patterns.

Generated by OpenCVE AI on July 29, 2026 at 06:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Hedgedoc
Hedgedoc hedgedoc
Vendors & Products Hedgedoc
Hedgedoc hedgedoc

Mon, 13 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
Description 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.
Title HedgeDoc: Rate-limit bypass via CF-Connecting-IP header spoofing
Weaknesses CWE-290
CWE-770
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Hedgedoc Hedgedoc
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-14T12:47:03.169Z

Reserved: 2026-06-30T20:21:25.812Z

Link: CVE-2026-58488

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T06:45:04Z

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-770

    Allocation of Resources Without Limits or Throttling