The Daily Byte
Breaking
Welcome to The Daily Byte — real stories from across Pakistan.
Tuesday, 24 November 2026 · Pakistan

The Daily Byte

Stories from Pakistan that deserve to be heard

HedgeDoc flaw CVE-2026-134794 lets users crash servers

By The Daily Byte ·23 Nov 2026 ·2 min read
Screenshot of the Vim text editor (gvim)

HedgeDoc versions before 1.12.1 contain a prototype pollution flaw, tracked as CVE-2026-134794, that lets an authenticated user crash the server by sending a specially crafted request to the note history endpoint. The fix is to update HedgeDoc to version 1.12.1 or later, as of 23 November 2026.

HedgeDoc is an open-source, real-time collaborative markdown notes application. According to the CVE record published by MITRE, the flaw sits in the POST /history/:noteId endpoint. An authenticated user can supply __proto__ as the noteId, and the historyPost() function in lib/history.js assigns the supplied value onto the prototype, modifying Object.prototype. That can crash the Node.js process and cause a denial of service for all users.

How the flaw works

Prototype pollution happens when an application lets user input change the shared prototype object that JavaScript objects inherit from. In this case the history endpoint does not block the reserved __proto__ key, so a pinned value sent to /history/__proto__ is merged into the prototype. The resulting invalid data can trigger unhandled exceptions in the Node.js event loop, and the process crashes. That takes the whole HedgeDoc instance down, not just one note, as reported by VulDB, which also confirms the fix version as 1.12.1.

The flaw needs an authenticated account, so it is not open to anonymous visitors. But many HedgeDoc instances let people register or share notes widely, and any authenticated user who can reach the history endpoint could trigger the crash. The CVE listing published on 22 November 2026 describes the flaw as a denial of service in the note history API, as recorded by cve.now.

What to do

Administrators should update HedgeDoc to 1.12.1 or later, where the input validation has been corrected to prevent __proto__ and similar keys from being merged into object prototypes. Until the update is installed, operators should limit who can create accounts and use the history feature, and monitor the server process so a crash is spotted and the service restarted quickly.

Frequently asked questions

What is CVE-2026-134794? It is a prototype pollution flaw in HedgeDoc before 1.12.1 that lets an authenticated user crash the server through the note history endpoint.

Which HedgeDoc versions are affected? Versions before 1.12.1 are affected; update to 1.12.1 or later to fix it.

Does the flaw allow code execution? The CVE record describes a denial of service, with the Node.js process crashing. It does not describe code execution.