|
| 1 | +--- |
| 2 | +layout: advisory |
| 3 | +title: 'GHSA-wppq-8h64-w78r (alchemy_cms): Unauthenticated navigation-tree disclosure |
| 4 | + via GET /api/nodes (missing authorization)' |
| 5 | +comments: false |
| 6 | +categories: |
| 7 | +- alchemy_cms |
| 8 | +advisory: |
| 9 | + gem: alchemy_cms |
| 10 | + ghsa: wppq-8h64-w78r |
| 11 | + url: https://github.com/AlchemyCMS/alchemy_cms/security/advisories/GHSA-wppq-8h64-w78r |
| 12 | + title: Unauthenticated navigation-tree disclosure via GET /api/nodes (missing authorization) |
| 13 | + date: 2026-07-28 |
| 14 | + description: |- |
| 15 | + ## Summary |
| 16 | +
|
| 17 | + Alchemy::Api::NodesController#index (GET /api/nodes) returns every |
| 18 | + menu node of every site and every language with no authorization |
| 19 | + check and no site/language scoping. It is the only API index action |
| 20 | + with neither accessible_by nor authorize!. Because a menu node attached |
| 21 | + to a page derives its name and url from that page (Node#name → page.name, |
| 22 | + Node#url → page.url_path), an anonymous request also discloses names |
| 23 | + and URL paths of pages that are restricted (members-only) or not |
| 24 | + published (draft), plus any internal URLs editors placed in menus. |
| 25 | +
|
| 26 | + This is the same class the maintainer fixed in the sibling action |
| 27 | + Api::PagesController#nested (advisory GHSA-mqq5-j7w8-2hgh) and in |
| 28 | + PR #2145 ("Do not leak all records for guest users in API controllers"). |
| 29 | + nodes#index was not covered. |
| 30 | + cvss_v3: 5.3 |
| 31 | + patched_versions: |
| 32 | + - "~> 7.4.16" |
| 33 | + - ">= 8.3.6" |
| 34 | + related: |
| 35 | + ghsa: |
| 36 | + - mqq5-j7w8-2hgh |
| 37 | + url: |
| 38 | + - https://rubygems.org/gems/alchemy_cms/versions/8.3.6 |
| 39 | + - https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v8.3.6 |
| 40 | + - https://github.com/AlchemyCMS/alchemy_cms/compare/v8.3.5...v8.3.6 |
| 41 | + - https://rubygems.org/gems/alchemy_cms/versions/7.4.16 |
| 42 | + - https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v7.4.16 |
| 43 | + - https://github.com/AlchemyCMS/alchemy_cms/compare/v7.4.15...v7.4.16 |
| 44 | + - https://github.com/AlchemyCMS/alchemy_cms/pull/2145 |
| 45 | + - https://github.com/AlchemyCMS/alchemy_cms/security/advisories/GHSA-wppq-8h64-w78r |
| 46 | + notes: | |
| 47 | + - No CVE value in project GHSA |
| 48 | + - cvss_v3 from project GHSA |
| 49 | +--- |
0 commit comments