HedgeDoc: Missing validation of incoming permission values on change
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-284.
Summary
HedgeDoc versions before 1.11.1 accept invalid permission values when a note owner changes a note's permissions through the WebSocket handler. The viewing and editing checks fall through to permissive behavior for unknown values, which can make a note readable or writable more broadly than intended (CWE-20). A note owner must intentionally submit an invalid value, and the owner could already choose a permissive setting, so the practical impact is limited.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Description from the CNA
HedgeDoc is an open source, real-time collaborative markdown notes application. Prior to 1.11.1, the WebSocket permission handler allows a note owner to store strings outside the supported freely, editable, limited, locked, protected, and private permission values. The viewing and editing checks handle only known values and can otherwise fall through to permissive behavior, making a note readable or writable more broadly than intended. SQLite deployments can persist the invalid value because the database column does not strictly enforce the set, while MySQL and PostgreSQL reject the database update but can leave the in-memory note state inconsistent for connected users until reload or cache eviction. Exploitation requires the note owner to intentionally submit an invalid permission value, and the owner could already choose a legitimate permissive setting, which limits the practical security impact. This issue is fixed in version 1.11.1.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade HedgeDoc to version 1.11.1, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
- Fix · CNA hedgedoc (hedgedoc) Fixed in 1.11.1
Timeline
- 2026-11-05 Threatist record created from CVE-2026-102927
- 2026-11-07 Priority changed: MEDIUM → LOW
References
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-2026-42092 HedgeDoc: Rate-limit bypass via CF-Connecting-IP header spoofing CVSS 4.0MEDIUM 6.9
- TI-2021-10211 Improper Neutralization of Script-Related HTML Tags in Notes CVSS 3.1HIGH 8.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences