MEDIUMCVSS v3.1 5.3Vulnerability

CVE-2026-113668

## Summary The REST route `GET /api/v1/<piece-type>/:_id/locales` (and the equivalent page route) does not apply the `publicApiCheckAsync` gate that ApostropheCMS's other read routes enforce. An unauthenticated caller can therefore query this route for any document `_id` and learn whether the document exists and which locales it is published in — a document-existence and locale-metadata disclosure that the read-API is otherwise supposed to gate. ## Affected - Repository: `apostrophecms/apostrophe` (monorepo package `apostrophe`). - Confirmed at **4.32.2** (commit `d3ff8c9` == the shipped 4.32.2; unchanged at current HEAD). No fix at time of report. - Stack: Node.js / Express + MongoDB. - Endpoints: `GET /api/v1/<piece-type>/:_id/locales` and `GET /api/v1/@apostrophecms/page/:_id/locales`. ## Technical detail - Unsafe: `modules/@apostrophecms/piece-type/index.js:397` registers the `:_id/locales` route with **no** `publicApiCheckAsync`. The page module has the same omission at `modules/@apostrophecms/page/index.js:925`. - Gated siblings: the read routes in the same module (e.g. `getAll` at `piece-type/index.js:256-263`) call `publicApiCheckAsync` (`:263`) to enforce the public-API access policy. - So the `locales` handler (which calls `getLocales()` for the document) runs for any caller regardless of the public-API gate the other read routes apply, returning the document's locale/publication metadata without authorization. ## Impact An unauthenticated caller can confirm the existence of a document by `_id` and enumerate its locales/publication state — information the read-API is meant to gate. Defensibly 4.3 (AC:H) given the opaque `_id` precondition (the caller needs a document id). ## How it was verified (local only) Reproduced against `[email protected]` (== commit `d3ff8c9`) locally with synthetic content: - Source review confirmed the `:_id/locales` route lacks `publicApiCheckAsync` while the sibling read routes have it. - An **unauthenticated** `GET /api/

Properties

Summary
ApostropheCMS: :_id/locales REST route omits the public-API authorization gate its sibling read routes enforce (unauthenticated doc-existence + locale metadata disclosure)
Severity
medium
Nvd fetched at
2026-10-20T21:14:08.448323+00:00
Cvss score
5.3
Cvss severity
MEDIUM
Retrieved at
2026-10-21T01:23:59+00:00
Ghsa published
2026-10-20T18:14:32Z
Source url
https://github.com/advisories/GHSA-gqh3-7856-rjjg
Ghsa updated
2026-10-20T18:14:33Z
Ghsa id
GHSA-gqh3-7856-rjjg
Last source
GitHub Advisory Database
Score
5.3
Cvss version
3.1
Cve id
CVE-2026-113668
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
First seen by Signal
2026-10-20T21:15:35+00:00
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published at
2026-10-20T18:17:20.410
Last modified
2026-10-20T19:53:10.247

Related Entities (4)

AFFECTS (1)

→[Software]npm/apostrophe

VULNERABLE_TO (1)

←[Software]npm/apostrophe

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-113668 (CVSS v3.1 5.3) — Ninja Signal Threat Intelligence | Ninja Signal