{"id":"CVE-2025-64173","aliases":["CVE-2025-64173","GHSA-x33c-7c2v-mrj9"],"related":[],"kind":"vulnerability","state":"published","title":"Apollo Router Core: Access Control Bypass on Polymorphic Types","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"# Summary\n\nA vulnerability in Apollo Router 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.\n\n## Details\n\nApollo Federation allows users to specify access control directives ([`@authenticated`, `@requiresScopes`, and `@policy`](https://www.apollographql.com/docs/graphos/routing/security/authorization#authorization-directives)) to protect object and interface types and fields. However, the GraphQL specification does not define inheritance rules for directives from interfaces to their implementations. Apollo Router will enforce any directives on the interface types/fields but ignore any directives on the implementation object types/fields (as long as all implementations have the same requirements). This inconsistent enforcement behavior leads to unexpected runtime security gaps.\n\n## Who is impacted\n\nThis vulnerability impacts Apollo Router customers defining `@authenticated`, `@requiresScopes`, or `@policy` directives inconsistently on polymorphic types (i.e., object types that implement interface types).  Specifically, if the same access control directives are applied to all implementing types/fields but not on their implemented interface types/fields, they could be impacted.\n\n### Scope of Impact\n\nThis vulnerability could allow a malicious actor to craft a query that can bypass access control requirements on the object types/fields by instead querying them via implemented interface types/fields that don't have the same access control requirements.\n\n## Patches\n\nThis vulnerability has been fixed at runtime in Apollo Router. You may update Router to one of the following versions:\n\n- 1.61.12+\n- 2.8.1+\n\n## Workarounds\n\n- If you are not immediately updating Router to a patched version, you should apply any included access control requirements to *both* the appropriate interface types/fields and their implementations.\n- Customers not using Apollo Router access control features (`@authenticated`, `@requiresScopes`, or `@policy` directives) or not specifying inconsistent access control requirements on polymorphic types/fields are not affected and do not need to take action.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Apollo Router Core es un router de grafos configurable escrito en Rust para ejecutar un supergrafo federado usando Apollo Federation 2. En versiones anteriores a la 1.61.11, así como de la 2.0.0-alpha.0 a la 2.8.1-rc.0, una vulnerabilidad permitía que consultas no autenticadas accedieran a datos que requerían controles de acceso adicionales. El router manejaba incorrectamente las directivas de control de acceso en tipos/campos de interfaz y sus tipos/campos de objeto implementadores, aplicándolas a los tipos/campos de interfaz mientras ignoraba las directivas en sus tipos/campos de objeto implementadores cuando todas las implementaciones tenían los mismos requisitos. Los clientes de Apollo Router que definen directivas @authenticated, @requiresScopes o @policy de manera inconsistente en tipos polimórficos (es decir, tipos de objeto que implementan tipos de interfaz) se ven afectados. Este problema está solucionado en las versiones 1.61.12 y 2.8.1.","source":"nvd"}],"published":"2025-11-06T15:47:05.000Z","modified":"2026-06-17T09:53:57.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-288"],"affected":[{"ranges":[{"version":"< 1.61.12","status":"affected"},{"version":">= 2.8.1-rc.0, < 2.8.1","status":"affected"}],"vendor":"apollographql","product":"router","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.61.12"}],"ecosystem":"crates.io","package":"apollo-router","purl":"pkg:cargo/apollo-router","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0-alpha.0","status":"affected","fixed":"2.8.1"}],"ecosystem":"crates.io","package":"apollo-router","purl":"pkg:cargo/apollo-router","source":"ghsa"}],"references":[{"url":"https://github.com/apollographql/router/security/advisories/GHSA-x33c-7c2v-mrj9","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/apollographql/router/releases/tag/v2.8.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.apollographql.com/docs/graphos/routing/security/authorization#authorization-directives","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64173","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apollographql/router/commit/75ca43ecb9d38423b63d09896702f9da425cc754","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apollographql/router","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-11-07T13:48:28.797Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-64173","url":"https://www.cve.org/CVERecord?id=CVE-2025-64173","licence":"CVE Terms of Use","modified":"2025-11-07T13:48:35.506Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x33c-7c2v-mrj9","url":"https://github.com/advisories/GHSA-x33c-7c2v-mrj9","licence":"CC-BY-4.0","modified":"2025-11-06T23:13:08.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-64173","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64173","licence":"Public domain","modified":"2026-06-17T09:53:57.273Z"}],"updatedAt":"2026-11-25T22:59:07.314Z","epss":{"score":0.00619,"percentile":0.4399,"date":"2026-11-30T12:00:22.000Z"}}