CVE-2026-39857
CVE-2026-39857 is a medium-severity vulnerability in Apostrophecms with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-200.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- EPSS exploit prediction: 0% (35th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-23108
- Weakness: CWE-200
- Affected product: Apostrophecms
- Published:
- Last modified:
Description
ApostropheCMS is an open-source Node.js content management system. Versions 4.28.0 and prior contain an authorization bypass vulnerability in the choices and counts query parameters of the REST API, where these query builders execute MongoDB distinct() operations that bypass the publicApiProjection restrictions intended to limit which fields are exposed publicly. The choices and counts parameters are processed via applyBuildersSafely before the projection is applied, and MongoDB's distinct operation does not respect projections, returning all distinct values directly. The results are returned in the API response without any filtering against publicApiProjection or removeForbiddenFields. An unauthenticated attacker can extract all distinct field values for any schema field type that has a registered query builder, including string, integer, float, select, boolean, date, slug, and relationship fields. Fields protected with viewPermission are similarly exposed, and the counts variant additionally reveals how many documents have each distinct value. Both the piece-type and page REST APIs are affected. This issue has been fixed in version 4.29.0.
Frequently asked questions
- What is CVE-2026-39857?
- ApostropheCMS is an open-source Node.js content management system. Versions 4.28.0 and prior contain an authorization bypass vulnerability in the choices and counts query parameters of the REST API, where these query builders execute MongoDB distinct() operations that bypass the publicApiProjection restrictions intended to limit which fields are exposed publicly. The choices and counts parameters are processed via applyBuildersSafely before the projection is applied, and MongoDB's distinct operation does not respect projections, returning all distinct values directly. The results are returned in the API response without any filtering against publicApiProjection or removeForbiddenFields. An unauthenticated attacker can extract all distinct field values for any schema field type that has a registered query builder, including string, integer, float, select, boolean, date, slug, and relationship fields. Fields protected with viewPermission are similarly exposed, and the counts variant additionally reveals how many documents have each distinct value. Both the piece-type and page REST APIs are affected. This issue has been fixed in version 4.29.0.
- How severe is CVE-2026-39857?
- CVE-2026-39857 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
- Is CVE-2026-39857 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (35th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-39857?
- CVE-2026-39857 affects Apostrophecms. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-39857?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-39857 have an EU (EUVD) identifier?
- Yes. CVE-2026-39857 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-23108.
- When was CVE-2026-39857 published?
- CVE-2026-39857 was published on 2026-04-15 and last updated on 2026-06-17.
References
- https://github.com/apostrophecms/apostrophe/commit/6c2b548dec2e3f7a82e8e16736603f4cd17525aa
- https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-c276-fj82-f2pq
Affected products (1)
- cpe:2.3:a:apostrophecms:apostrophecms:*:*:*:*:*:*:*:*
More vulnerabilities in Apostrophecms
- CVE-2021-25979 — Critical (CVSS 9.8): Apostrophe CMS versions prior to 3.3.1 did not invalidate existing login sessions when disabling a user account or…
- CVE-2026-35569 — High (CVSS 8.7): ApostropheCMS is an open-source Node.js content management system. Versions 4.28.0 and prior contain a stored…
- CVE-2026-32730 — High (CVSS 8.1): ApostropheCMS is an open-source content management framework. Prior to version 4.28.0, the bearer token authentication…
- CVE-2026-40186 — Medium (CVSS 6.1): ApostropheCMS is an open-source Node.js content management system. A regression introduced in commit 49d0bb7, included…
- CVE-2026-33889 — Medium (CVSS 5.4): ApostropheCMS is an open-source Node.js content management system. Versions 4.28.0 and prior contain a stored…
- CVE-2021-25978 — Medium (CVSS 5.4): Apostrophe CMS versions between 2.63.0 to 3.3.1 are vulnerable to Stored XSS where an editor uploads an SVG file that…
All CVEs affecting Apostrophecms →
Other CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities
- CVE-2026-27604 — Critical (CVSS 10.0): FOSSBilling is a free, open-source billing and client management system. Starting in version 0.5.4 and prior to version…
- CVE-2026-40965 — Critical (CVSS 10.0): Cloud Foundry UAA versions v76.12.0 through v78.12.0 are vulnerable to a private key exposure. The server contains a…
- CVE-2026-42826 — Critical (CVSS 10.0): Exposure of sensitive information to an unauthorized actor in Azure DevOps allows an unauthorized attacker to disclose…
- CVE-2025-29270 — Critical (CVSS 10.0): Incorrect access control in the realtime.cgi endpoint of Deep Sea Electronics devices DSE855 v1.1.0 to v1.1.26 allows…
- CVE-2025-61481 — Critical (CVSS 10.0): An issue in MikroTik RouterOS v.7.14.2 and SwOS v.2.18 exposes the WebFig management interface over cleartext HTTP by…
- CVE-2025-53624 — Critical (CVSS 10.0): The Docusaurus gists plugin adds a page to your Docusaurus instance, displaying all public gists of a GitHub user.…
Browse all CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) vulnerabilities →