/

CVE-2026-57579

Severity:

HIGH RISK

(7.5)

Missing Authorization (CWE-862) in Alchemy CMS API

CVE-2026-57579

Deferred

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized Information Disclosure

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Alchemy CMS exposes an unauthenticated page-tree API endpoint that does not enforce authorization or filter results according to the caller's permissions. Anonymous users may retrieve restricted or unpublished page metadata, and requests including element data may also expose content from protected pages.

Affected context

The issue occurs in Alchemy CMS deployments that expose the nested pages API endpoint and rely on its response for page-tree data. The endpoint may return restricted or unpublished pages because it does not apply the same ability checks as related page actions; requesting element data can further expose associated elements and ingredients.

Exploit preconditions

  • Attack surface: The HTTP API, specifically the nested pages endpoint
  • Required access: No authentication may be required
  • Trigger point: An unauthenticated GET request to the page-tree endpoint, optionally requesting element data
  • Why exploitation is possible: The controller and related serialization paths do not scope descendants and associated records by the requesting caller's authorization ability

Why this happens

The vulnerability results from missing authorization enforcement in an API endpoint that returns hierarchical records. The controller retrieves a page tree without applying the caller's ability, while preloading and serialization of related elements and ingredients also omit equivalent access checks. This maps to CWE-862: Missing Authorization, where a protected operation or resource is accessible without verifying whether the requester is permitted to view it.

Potential impact

  • Anonymous users may discover restricted or unpublished page metadata
  • Sensitive page structure and navigation information could be exposed
  • Element and ingredient content from protected pages may be disclosed
  • Attackers could use exposed content to support reconnaissance or targeted attacks

General mitigation guidance

Mitigation generally focuses on enforcing authorization consistently at every API and serialization boundary.

Common defensive patterns include:

  • Applying ability checks before selecting pages and descendants for API responses
  • Filtering associated elements and ingredients according to the same authorization policy
  • Using secure-by-default response serializers that exclude protected records unless explicitly permitted
  • Treating unpublished and restricted content as untrusted for anonymous access
  • Centralizing authorization rules and applying least-privilege defaults to API resources
  • Adding regression tests for anonymous, authenticated, restricted, and unpublished content access

How teams detect issues like this

Organizations can identify similar issues through:

  • Static analysis and policy checks for controller actions that query records without authorization calls
  • Code review of API endpoints, serializers, preloaders, and nested-resource traversal
  • Tests confirming that anonymous and low-privilege users cannot retrieve restricted or unpublished records
  • Monitoring anonymous requests for unusual enumeration of page-tree endpoints or content identifiers
  • Automated security review tools that flag resource access paths lacking explicit authorization enforcement

Sources

SourceLink
github.comgithub.com/AlchemyCMS/alchemy_cms/commit/30888fb41d8b71fdfb3b116a7efccd851d73e1f3
github.comgithub.com/AlchemyCMS/alchemy_cms/commit/5620e76f0d274d6f69f34281b7e46d01879f6b99
github.comgithub.com/AlchemyCMS/alchemy_cms/commit/8417a2e9dcb00653c8b238f8a040b09532dd4c0f
github.comgithub.com/AlchemyCMS/alchemy_cms/commit/85702d9fe4e247649b1358900c5af853e83b4a3a
github.comgithub.com/AlchemyCMS/alchemy_cms/commit/a082dd0afe188d199f386a5e1db01987d0de807f
github.comgithub.com/AlchemyCMS/alchemy_cms/pull/3982
github.comgithub.com/AlchemyCMS/alchemy_cms/releases/tag/v7.4.15
github.comgithub.com/AlchemyCMS/alchemy_cms/releases/tag/v8.0.15
github.comgithub.com/AlchemyCMS/alchemy_cms/releases/tag/v8.1.14
github.comgithub.com/AlchemyCMS/alchemy_cms/releases/tag/v8.2.6
github.comgithub.com/AlchemyCMS/alchemy_cms/security/advisories/GHSA-mqq5-j7w8-2hgh

Frequently asked

questions

Yes. If the affected API endpoint is publicly reachable, an unauthenticated remote user may request the page tree without needing an account.

No authenticated access may be necessary. Network access to the exposed API endpoint is the primary prerequisite.

Enforce authorization before selecting pages and again before serializing related elements or ingredients, ensuring that every returned record is permitted for the current caller.

Use centralized authorization policies, secure-by-default serializers, least-privilege access rules, and automated tests covering anonymous, restricted, unpublished, and nested-resource responses.

Find out what's already
exploitable in your codebase.