---
id: CVE-2026-102927
title: 'HedgeDoc: Missing validation of incoming permission values on change'
summary: >-
  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, an…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-20
  - CWE-284
vendor: hedgedoc
product: hedgedoc
affected:
  - hedgedoc < 1.11.1
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T17:29:59.103Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-102927'
references:
  - url: >-
      https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-93w7-49m2-cqwg
    label: >-
      https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-93w7-49m2-cqwg
  - url: >-
      https://github.com/hedgedoc/hedgedoc/commit/0dda149c7f528a7e98a34a8459b7afb23c90a05b
    label: >-
      https://github.com/hedgedoc/hedgedoc/commit/0dda149c7f528a7e98a34a8459b7afb23c90a05b
  - url: 'https://github.com/hedgedoc/hedgedoc/releases/tag/1.11.1'
    label: 'https://github.com/hedgedoc/hedgedoc/releases/tag/1.11.1'
tags:
  - cve.org
ingestedAt: '2026-11-05T22:38:31.441Z'
---

## Overview

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.

## Affected

- `hedgedoc < 1.11.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
