CVE-2026-39857: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in apostrophecms apostrophe
ApostropheCMS versions 4. 28. 0 and earlier have an authorization bypass vulnerability in the REST API's choices and counts query parameters. This flaw allows unauthenticated attackers to retrieve distinct values of any schema field, including those protected by view permissions, bypassing intended field exposure restrictions. The vulnerability arises because MongoDB's distinct() operation does not respect the publicApiProjection filtering, resulting in sensitive data exposure. The issue affects both piece-type and page REST APIs and has been fixed in version 4. 29. 0.
AI Analysis
Technical Summary
CVE-2026-39857 is an information exposure vulnerability in ApostropheCMS (Node.js CMS) versions prior to 4.29.0. The vulnerability occurs in the choices and counts query parameters of the REST API, which use MongoDB distinct() operations that bypass publicApiProjection restrictions designed to limit publicly exposed fields. Because distinct() ignores projections, the API returns all distinct values for any schema field with a registered query builder, including fields protected by viewPermission. This allows unauthenticated attackers to extract sensitive field values and counts of documents with those values. The flaw affects both piece-type and page REST APIs and was fixed in version 4.29.0.
Potential Impact
An unauthenticated attacker can access sensitive information from ApostropheCMS instances running versions 4.28.0 and earlier by exploiting the REST API. The attacker can retrieve distinct values of various schema fields, including those protected by view permissions, potentially exposing confidential data. The counts parameter additionally reveals how many documents contain each distinct value. This exposure does not affect data integrity or availability but compromises confidentiality.
Mitigation Recommendations
This vulnerability has been fixed in ApostropheCMS version 4.29.0. Users should upgrade to version 4.29.0 or later to remediate this issue. No official patch or temporary fix is documented beyond upgrading. Since this is not a cloud service, remediation depends on applying the vendor's fixed version.
CVE-2026-39857: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in apostrophecms apostrophe
Description
ApostropheCMS versions 4. 28. 0 and earlier have an authorization bypass vulnerability in the REST API's choices and counts query parameters. This flaw allows unauthenticated attackers to retrieve distinct values of any schema field, including those protected by view permissions, bypassing intended field exposure restrictions. The vulnerability arises because MongoDB's distinct() operation does not respect the publicApiProjection filtering, resulting in sensitive data exposure. The issue affects both piece-type and page REST APIs and has been fixed in version 4. 29. 0.
CVSS v3.1
Score 5.3medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-39857 is an information exposure vulnerability in ApostropheCMS (Node.js CMS) versions prior to 4.29.0. The vulnerability occurs in the choices and counts query parameters of the REST API, which use MongoDB distinct() operations that bypass publicApiProjection restrictions designed to limit publicly exposed fields. Because distinct() ignores projections, the API returns all distinct values for any schema field with a registered query builder, including fields protected by viewPermission. This allows unauthenticated attackers to extract sensitive field values and counts of documents with those values. The flaw affects both piece-type and page REST APIs and was fixed in version 4.29.0.
Potential Impact
An unauthenticated attacker can access sensitive information from ApostropheCMS instances running versions 4.28.0 and earlier by exploiting the REST API. The attacker can retrieve distinct values of various schema fields, including those protected by view permissions, potentially exposing confidential data. The counts parameter additionally reveals how many documents contain each distinct value. This exposure does not affect data integrity or availability but compromises confidentiality.
Mitigation Recommendations
This vulnerability has been fixed in ApostropheCMS version 4.29.0. Users should upgrade to version 4.29.0 or later to remediate this issue. No official patch or temporary fix is documented beyond upgrading. Since this is not a cloud service, remediation depends on applying the vendor's fixed version.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-07T19:13:20.379Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69dfeeb382d89c981f942281
Added to database: 4/15/2026, 8:01:55 PM
Last enriched: 4/22/2026, 11:12:49 PM
Last updated: 5/30/2026, 9:39:57 PM
Views: 86
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.