CVE-2026-57579: Alchemy: Unauthenticated nested page API leaks restricted & unpublished content
Alchemy is an open source content management system engine written in Ruby on Rails. Prior to 7.4.15, 8.0.15, 8.1.14, and 8.2.6, the unauthenticated GET /api/pages/nested endpoint implemented by Api::PagesController#nested in app/controllers/alchemy/api/pagescontroller.rb returns an unfiltered page tree because it performs no authorization and does not scope descendants by the caller's ability. Anonymous callers can retrieve restricted and unpublished page metadata that the sibling show action denies. When elements=true is supplied, PageTreeSerializer also returns element and ingredient content from restricted pages because PageTreePreloader and the serializer do not apply an ability check to those records. This issue is fixed in versions 7.4.15, 8.0.15, 8.1.14, and 8.2.6.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Alchemyto a version that resolves this vulnerability.Fixed in 7.4.15 - Upgrade
Upgrade
Alchemyto a version that resolves this vulnerability.Fixed in 8.0.15 - Upgrade
Upgrade
Alchemyto a version that resolves this vulnerability.Fixed in 8.1.14 - Upgrade
Upgrade
Alchemyto a version that resolves this vulnerability.Fixed in 8.2.6
Event History
Frequently Asked Questions
Who can access the exposed content?
Any anonymous network caller can query the affected GET /api/pages/nested endpoint. No authentication, privileges, or user interaction are required.
What information can be disclosed?
The endpoint can return metadata for restricted and unpublished pages. Supplying elements=true can additionally expose element and ingredient content from restricted pages.
How can I determine whether an instance is vulnerable?
Affected instances are those running Alchemy earlier than 7.4.15, 8.0.15, 8.1.14, or 8.2.6. The vulnerable behavior is present when an unauthenticated request to GET /api/pages/nested can return restricted or unpublished pages.
What remediation is available?
Upgrade to Alchemy 7.4.15, 8.0.15, 8.1.14, or 8.2.6, as appropriate for the deployed release line.