{"id":"CVE-2025-64173","summary":"Apollo Router Core: Access Control Bypass on Polymorphic Types","details":"Apollo Router Core is a configurable graph router written in Rust to run a federated supergraph using Apollo Federation 2. In versions 1.61.11 below, as well as 2.0.0-alpha.0 through 2.8.1-rc.0, a vulnerability allowed for unauthenticated queries to access data that required additional access controls. Router incorrectly handled access control directives on interface types/fields and their implementing object types/fields, applying them to interface types/fields while ignoring directives on their implementing object types/fields when all implementations had the same requirements. Apollo Router customers defining @authenticated, @requiresScopes, or @policy directives inconsistently on polymorphic types (i.e., object types that implement interface types) are impacted. This issue is fixed in versions 1.61.12 and 2.8.1.","aliases":["GHSA-x33c-7c2v-mrj9"],"modified":"2026-10-22T10:32:45.072086979Z","published":"2025-11-06T20:42:51.785Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64173.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-288"]},"references":[{"type":"WEB","url":"https://github.com/apollographql/router/releases/tag/v2.8.1"},{"type":"WEB","url":"https://www.apollographql.com/docs/graphos/routing/security/authorization#authorization-directives"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64173.json"},{"type":"ADVISORY","url":"https://github.com/apollographql/router/security/advisories/GHSA-x33c-7c2v-mrj9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64173"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apollographql/router","events":[{"introduced":"0"},{"fixed":"12517bebc84259dc2dd39d33d229358026e174f9"},{"introduced":"827cfa979e45f636a5a68fcaecf3864ba7534d9d"},{"fixed":"efb0dcbfe8d668e3aeb1ade1513072d449128dc4"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.61.12"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"introduced":"2.8.1-rc.0"},{"fixed":"2.8.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"efb0dcbfe8d668e3aeb1ade1513072d449128dc4"}],"source":"REFERENCES_TAG","original_tag":"v2.8.1"}]}}],"versions":["v1.61.12-rc.0","v2.8.1-rc.0","v1.0.0","v1.0.0-rc.2","v1.0.0-rc.1","v1.0.0-rc.0","v1.0.0-alpha.3","v1.0.0-alpha.2","v1.0.0-alpha.1","v1.0.0-alpha.0","v0.16.0","v0.15.1","v0.15.0","v0.14.0","v0.12.0","v0.11.0","v0.10.0","v0.9.5","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.9.0-rc.0","v0.1.0-preview.7","v0.1.0-preview.6","v0.1.0-preview.5","v0.1.0-preview.4","v0.1.0-preview.3","v0.1.0-preview.2","v0.1.0-preview.1","v0.1.0-preview.0","v0.1.0-alpha.10","v0.1.0-alpha.9","v0.1.0-alpha.8","v0.1.0-alpha.7","v0.1.0-alpha.6","v0.1.0-alpha.2","v0.1.0-alpha.1","v0.1.0-alpha.0","v0.1.0-prealpha.5","v0.1.0-prealpha.4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-64173.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}