All vulnerabilities

npm

CVE-2026-102650

Nuxt Content: Unauthenticated SQLite Function DoS via Content Query API

Severity
High 7.5
Published
10 Nov 2026
Last changed
10 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.15.2
Exploit chance
0.6% in the next 30 daysHigher than 47% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Uncontrolled resource consumption (CWE-400)Allocation without limits (CWE-770)
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
Also known as
GHSA-xxrh-5hgg-gj4h
Sources
OSV.dev and GitHub

Description

The POST /__nuxt_content/:collection/query endpoint in @nuxt/content accepts an attacker-controlled sql field from the HTTP request body and executes it against a local SQLite database after passing it through an insufficient validator (assertSafeQuery). The validator only blocks a small set of SQL command keywords and does not reject expensive SQLite built-in functions such as randomblob(), zeroblob(), hex(), or length(). An unauthenticated remote attacker can craft a single request that forces SQLite to allocate hundreds of megabytes of memory and perform CPU-intensive work, causing server-wide denial of service. This endpoint is enabled by default for every collection and requires no authentication.

The vulnerability spans three source files:

The Nuxt Content module registers a public HTTP POST handler for each configured collection at startup:

No authentication middleware is attached; the route is reachable by any client.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

If you cannot upgrade, block or restrict access to POST /__nuxt_content/*/query at the proxy/WAF level, or prerender the site so the endpoint is not deployed.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
@nuxt/contentnpm · osv:npm:@nuxt/content
  • From 3.0.0 before 3.15.2

About @nuxt/content

Weekly downloads (npm)
275,614npm, 24 Nov 2026

This is the only vulnerability in @nuxt/content in our list.

References