Skip to main content

HedgeDoc CVE-2026-58488

MEDIUM
Authentication Bypass by Spoofing (CWE-290)
2026-07-13 GitHub_M
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-facing HedgeDoc instance
  2. Delivery
    Craft HTTP request with spoofed cf-connecting-ip header
  3. Exploit
    Application accepts header as authoritative client IP
  4. Execution
    Rate limiter attributes each request to distinct IP
  5. Persist
    Bypass per-IP lockout threshold
  6. Impact
    Execute unlimited login or register requests

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target must run HedgeDoc on a version prior to 1.11.0 and must be reachable over a network by the attacker. No authentication is required and no special network position (such as a man-in-the-middle position) is needed - the attacker simply includes an arbitrary cf-connecting-ip HTTP header in standard HTTP requests. The bypass applies specifically to the /login and /register routes where rate-limiting is enforced. Exploitation is limited in direct impact to bypassing rate limits; it does not provide direct code execution, data exfiltration, or privilege escalation on its own. Instances not exposed to the internet or protected by upstream rate-limiting controls (WAF, reverse proxy header stripping) face reduced real-world risk. Public registration being enabled increases severity for the account-creation abuse vector.

Impact

The CVSS 4.0 score of 6.9 with AV:N/AC:L/AT:N/PR:N/UI:N correctly reflects trivial network exploitation with no prerequisites, but the impact sub-scores (VA:L, all others N) understate the practical security consequence for internet-facing deployments. Bypassing login rate-limiting enables unconstrained credential-stuffing, which can lead to full account takeover - an outcome not captured by the raw availability impact label. The mass-registration capability can pollute user databases, enable spam campaigns from the platform, or exhaust storage. The attack requires only the ability to set an HTTP header and is fully automatable, making it trivially scalable. No CISA KEV listing and no known POC code exist at time of analysis, indicating no confirmed in-the-wild exploitation; EPSS data was not available in the provided intelligence. Deployments behind a WAF or reverse proxy that strips untrusted headers upstream are partially mitigated, but the application itself should not be relied upon as a control point. Overall, this is a genuine priority for any internet-exposed HedgeDoc instance with public registration or publicly known accounts.

Exploit ScenarioDerived

An attacker scripts HTTP POST requests to a public HedgeDoc instance's /login endpoint, incrementing the cf-connecting-ip header value (e.g., cycling through 1.0.0.1, 1.0.0.2, 1.0.0.3) with each attempt. The application rate limiter records a new unique IP per request and never blocks the attacker's actual source address, permitting thousands of credential-stuffing attempts per minute against known email addresses. The same technique applied to /register allows bulk creation of accounts for spam abuse.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 13, 2026

Rate-limiting bypass in HedgeDoc prior to 1.11.0 permits unauthenticated remote attackers to circumvent brute-force protections on the /login and /register endpoints by injecting arbitrary cf-connecting-ip headers, cycling apparent source IPs per request. This enables unlimited credential-stuffing attacks against login and bulk registration of throwaway accounts. No public exploit code identified at time of analysis; the issue is confirmed fixed in version 1.11.0 per the vendor's GitHub Security Advisory.

RemediationAI

Upgrade HedgeDoc to version 1.11.0 or later, which fixes the issue by gating cf-connecting-ip header trust to requests that can be verified as originating from Cloudflare's infrastructure. The authoritative advisory is at https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-2f9f-w8xq-276v. If immediate upgrade is not possible, configure a reverse proxy (e.g., nginx) upstream of HedgeDoc to unconditionally strip any incoming cf-connecting-ip headers before they reach the application; note that this breaks legitimate IP attribution for deployments genuinely behind Cloudflare, so the header should be re-injected only by a trusted Cloudflare-verified path. As an additional compensating control, disabling public registration eliminates the mass account-creation attack surface entirely, though /login brute-force risk remains. Deploying network-layer rate limiting (WAF, fail2ban on the reverse proxy, or Cloudflare's own rate-limiting rules) upstream of the application provides defense-in-depth against the credential-stuffing risk independently of the application patch.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HedgeDoc is a Node.js-based open-source collaborative markdown note application. The vulnerability is rooted in CWE-290 (Authentication Bypass by Spoofing): the application consumed Cloudflare's cf-connecting-ip header - intended to convey the originating client IP when traffic passes through Cloudflare's proxy network - as the authoritative client IP for rate-limiting purposes without verifying that the request actually transited Cloudflare infrastructure. Because HTTP headers are attacker-controlled, any client could inject a cf-connecting-ip header with an arbitrary value, causing the rate limiter to record a different IP per request and never accumulate enough hits from a single apparent source to trigger a block. The affected CPE is cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:* covering all versions prior to 1.11.0.

Know when Hedgedoc gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.5 MEDIUM

Network-reachable with no auth or complexity required (AV:N/AC:L/PR:N/UI:N); limited integrity impact from mass account creation and limited availability impact from request flooding; no confidentiality impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche open-source collaborative notes tool, limited enterprise footprint
Data Quality
3 sources
Confidence: Low
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:hedgedoc:hedgedoc:*:*:*:*:*:*:*:*
CVE-2020-26287 HIGH POC
8.7 Dec 29

HedgeDoc is a collaborative platform for writing and sharing markdown. Rated high severity (CVSS 8.7), this vulnerabilit

CVE-2023-38487 HIGH POC
8.2 Aug 04

HedgeDoc is software for creating real-time collaborative markdown notes. Rated high severity (CVSS 8.2), this vulnerabi

CVE-2024-45308 MEDIUM POC
6.5 Sep 02

HedgeDoc is an open source, real-time, collaborative, markdown notes application. Rated medium severity (CVSS 6.5), this

CVE-2021-21259 MEDIUM POC
6.1 Jan 22

HedgeDoc is open source software which lets you create real-time collaborative markdown notes. Rated medium severity (CV

CVE-2021-29475 CRITICAL
10.0 Apr 26

HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. Rated critical severity (CVSS 10.0)

CVE-2021-29474 MEDIUM POC
5.8 Apr 26

HedgeDoc (formerly known as CodiMD) is an open-source collaborative markdown editor. Rated medium severity (CVSS 5.8), t

CVE-2026-58486 HIGH
8.3 Jul 13

Denial of service in HedgeDoc before 1.11.0 lets a user who can store a note crash the instance by embedding a YAML "ali

CVE-2020-26286 HIGH
7.5 Dec 29

HedgeDoc is a collaborative platform for writing and sharing markdown. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2026-58489 MEDIUM
6.8 Jul 13

HedgeDoc's GitHub Gist export feature exposes private and protected note content to attacker-controlled GitHub accounts

CVE-2025-32391 MEDIUM POC
6.4 Apr 10

HedgeDoc is an open source, real-time, collaborative, markdown notes application. Rated medium severity (CVSS 6.4), this

CVE-2021-39175 MEDIUM
6.1 Aug 30

HedgeDoc is a platform to write and share markdown. Rated medium severity (CVSS 6.1), this vulnerability is remotely exp

CVE-2021-29503 MEDIUM
6.1 May 19

HedgeDoc is a platform to write and share markdown. Rated medium severity (CVSS 6.1), this vulnerability is remotely exp

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy