PT-2026-33170 · Unknown · Apostrophe Cms
Published
2026-04-15
·
Updated
2026-04-16
·
CVE-2026-33888
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
ApostropheCMS versions prior to 4.29.0
Description
An authorization bypass exists in the
getRestQuery() function of the @apostrophecms/piece-type module. The function checks if a MongoDB projection is already set before applying the administrator-configured publicApiProjection. An unauthenticated attacker can provide a project query parameter in a REST API request, which is processed by applyBuildersSafely() before the permission check. This pre-populates the projection state, causing the system to skip the publicApiProjection entirely. Consequently, this allows the disclosure of any field on publicly queryable documents that the administrator explicitly restricted from the public API, such as internal notes, draft content, or metadata.Recommendations
Update to version 4.29.0.
Fix
Incorrect Authorization
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Apostrophe Cms