All vulnerabilities

Servers and applications

GHSA-gwvv-rr68-cmv6

Unauthenticated persistent Denial of Service via prototype pollution in the `deep` query parameter

Severity
High 7.5
Published
20 Aug 2026
Last changed
20 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
12.2.0
Weakness
Prototype pollution (CWE-1321)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Sources
Project advisories (GitHub)

Description

A single unauthenticated GET request to the Directus items API can crash the Node.js process and keep it down. The deep query parameter, when supplied as a JSON string, is parsed and its keys are used to build an object path that is written with a prototype-walking setter, with no validation of the key names. A crafted payload uses inherited built-in method names (rather than proto, constructor, or prototype) to corrupt a shared JavaScript built-in. Directus later invokes that built-in in its logging path, which now throws outside any request handler and terminates the server. The instance stays down until it is restarted, and the same request kills it again.

The deep sanitization runs inside the global query-sanitization middleware, which executes before any per-collection permission check. A missing token is admitted as the public role without throwing, so the vulnerable code path is reached by a completely unauthenticated request, and even for a collection that does not exist.

From directus/directus's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
DirectusServers and applications · github:directus/directus
  • Every version before 12.2.0

About Directus

The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.

From its GitHub repository.
Weekly downloads (npm)
30,924npm, 15 Nov 2026
Docker Hub pulls
50,954,770Docker Hub, 15 Nov 2026
GitHub stars
38,722GitHub, 15 Nov 2026
Forks
5,000GitHub, 15 Nov 2026
Latest release
v12.6.1GitHub, 15 Nov 2026
Released
4 Nov 2026GitHub
First published on GitHub
12 Dec 2012GitHub

References