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
Share

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

1
Analysis Generated
Jul 13, 2026 - 22:31 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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
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

Share

CVE-2026-58488 vulnerability details – vuln.today

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