{"id":"CVE-2026-32236","aliases":["CVE-2026-32236","GHSA-qp4c-xg64-7c6x"],"related":[],"kind":"vulnerability","state":"published","title":"@backstage/plugin-auth-backend: SSRF in experimental CIMD metadata fetch","summary":"Backstage is an open framework for building developer portals. Prior to 0.27.1, a Server-Side Request Forgery (SSRF) vulnerability exists in @backstage/plugin-auth-backend when auth.experimentalClientIdMetadataDocuments.enabled is set to true. The CIMD\nmetadata fetch validates the initial client_id hostname against private IP ranges but does not apply the same validation after HTTP redirects. The practical impact is limited. The attacker cannot read the response body from the internal request, cannot control request headers or method, and the feature must be explicitly enabled via an experimental flag that is off by default. Deployments that restrict allowedClientIdPatterns to specific trusted domains are not affected. Patched in @backstage/plugin-auth-backend version 0.27.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Backstage is an open framework for building developer portals. Prior to 0.27.1, a Server-Side Request Forgery (SSRF) vulnerability exists in @backstage/plugin-auth-backend when auth.experimentalClientIdMetadataDocuments.enabled is set to true. The CIMD\nmetadata fetch validates the initial client_id hostname against private IP ranges but does not apply the same validation after HTTP redirects. The practical impact is limited. The attacker cannot read the response body from the internal request, cannot control request headers or method, and the feature must be explicitly enabled via an experimental flag that is off by default. Deployments that restrict allowedClientIdPatterns to specific trusted domains are not affected. Patched in @backstage/plugin-auth-backend version 0.27.1.","source":"cvelist"},{"lang":"en","text":"### Impact                                                                                                                                                                         \n                                                           \n  A Server-Side Request Forgery (SSRF) vulnerability exists in `@backstage/plugin-auth-backend` when `auth.experimentalClientIdMetadataDocuments.enabled` is set to `true`. The CIMD \n  metadata fetch validates the initial `client_id` hostname against private IP ranges but does not apply the same validation after HTTP redirects.\n                          \n  The practical impact is limited. The attacker cannot read the response body from the internal request, cannot control request headers or method, and the feature must be explicitly\n   enabled via an experimental flag that is off by default. Deployments that restrict `allowedClientIdPatterns` to specific trusted domains are not affected.\n\n  ### Patches\n\n  Patched in `@backstage/plugin-auth-backend` version `0.27.1`. The fix disables HTTP redirect following when fetching CIMD metadata documents.\n\n  ### Workarounds\n\n  Disable the experimental CIMD feature by removing or setting `auth.experimentalClientIdMetadataDocuments.enabled` to `false` in your app-config. This is the default configuration.\n   Alternatively, restrict `allowedClientIdPatterns` to specific trusted domains rather than using the default wildcard pattern.\n\n  ### References\n\n  - [IETF Client ID Metadata Document draft](https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/)\n  - [MCP Authorization Specification - Client ID Metadata Documents](https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization#client-id-metadata-documents)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Backstage es un framework abierto para construir portales de desarrollador. Antes de 0.27.1, existe una vulnerabilidad de falsificación de petición del lado del servidor (SSRF) en @backstage/plugin-auth-backend cuando auth.experimentalClientIdMetadataDocuments.enabled está configurado como true. La obtención de metadatos CIMD valida el nombre de host client_id inicial contra rangos de IP privados, pero no aplica la misma validación después de las redirecciones HTTP. El impacto práctico es limitado. El atacante no puede leer el cuerpo de la respuesta de la petición interna, no puede controlar las cabeceras o el método de la petición, y la característica debe habilitarse explícitamente mediante una bandera experimental que está desactivada por defecto. Las implementaciones que restringen allowedClientIdPatterns a dominios de confianza específicos no se ven afectadas. Parcheado en la versión 0.27.1 de @backstage/plugin-auth-backend.","source":"nvd"}],"published":"2026-03-12T14:51:02.000Z","modified":"2026-06-17T10:35:24.013Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U","score":1.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U","score":1.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U","rating":"LOW"},{"scorer":"NVD","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-918"],"affected":[{"ranges":[{"version":"< 0.27.1","status":"affected"}],"vendor":"@backstage","product":"plugin-auth-backend","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.27.1"}],"ecosystem":"npm","package":"@backstage/plugin-auth-backend","purl":"pkg:npm/%40backstage/plugin-auth-backend","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.27.0"}],"vendor":"linuxfoundation","product":"backstage","cpe":"cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-qp4c-xg64-7c6x","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/backstage/backstage/commit/17038abf2dfdb4abc08a59b1c95af39851de0e07","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32236","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/backstage/backstage","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-12T20:38:12.992Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-32236","url":"https://www.cve.org/CVERecord?id=CVE-2026-32236","licence":"CVE Terms of Use","modified":"2026-04-15T20:46:50.517Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qp4c-xg64-7c6x","url":"https://github.com/advisories/GHSA-qp4c-xg64-7c6x","licence":"CC-BY-4.0","modified":"2026-04-15T21:03:48.712Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-32236","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32236","licence":"Public domain","modified":"2026-06-17T10:35:24.013Z"}],"updatedAt":"2026-11-25T22:59:15.846Z","epss":{"score":0.00343,"percentile":0.29815,"date":"2026-12-01T12:00:22.000Z"}}