{"id":"CVE-2022-23551","aliases":["CVE-2022-23551","GHSA-p82q-rxpm-hjpc","GO-2022-1181"],"related":[],"kind":"vulnerability","state":"published","title":"AAD Pod Identity obtaining token with backslash","summary":"aad-pod-identity assigns Azure Active Directory identities to Kubernetes applications and has now been deprecated as of 24 October 2022. The NMI component in AAD Pod Identity intercepts and validates token requests based on regex. In this case, a token request made with backslash in the request (example: `/metadata/identity\\oauth2\\token/`) would bypass the NMI validation and be sent to IMDS allowing a pod in the cluster to access identities that it shouldn't have access to. This issue has been fixed and has been included in AAD Pod Identity release version 1.8.13. If using the AKS pod-managed identities add-on, no action is required. The clusters should now be running the version 1.8.13 release.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"aad-pod-identity assigns Azure Active Directory identities to Kubernetes applications and has now been deprecated as of 24 October 2022. The NMI component in AAD Pod Identity intercepts and validates token requests based on regex. In this case, a token request made with backslash in the request (example: `/metadata/identity\\oauth2\\token/`) would bypass the NMI validation and be sent to IMDS allowing a pod in the cluster to access identities that it shouldn't have access to. This issue has been fixed and has been included in AAD Pod Identity release version 1.8.13. If using the AKS pod-managed identities add-on, no action is required. The clusters should now be running the version 1.8.13 release.","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nThe [NMI](https://azure.github.io/aad-pod-identity/docs/concepts/nmi/) component in AAD Pod Identity intercepts and validates token requests based on regex. In this case, a token request made with backslash in the request (example: `/metadata/identity\\oauth2\\token/`) would bypass the NMI validation and be sent to [IMDS](https://learn.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service?tabs=windows) allowing a pod in the cluster to access identities that it shouldn't have access to.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n- We analyzed this bug and determined that we needed to fix it. This fix has been included in AAD Pod Identity release [v1.8.13](https://github.com/Azure/aad-pod-identity/releases/tag/v1.8.13)\n- If using the [AKS pod-managed identities add-on](https://learn.microsoft.com/en-us/azure/aks/use-azure-ad-pod-identity), no action is required. The clusters should now be running the `v1.8.13` release.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\nOpen an issue in [Azure/aad-pod-identity](https://github.com/Azure/aad-pod-identity)","format":"markdown","source":"ghsa"},{"lang":"en","text":"AAD Pod Identity obtaining token with backslash in github.com/Azure/aad-pod-identity","format":"markdown","source":"go"},{"lang":"es","text":"aad-pod-identity asigna identidades de Azure Active Directory a aplicaciones de Kubernetes y ahora quedó obsoleto a partir del 24 de octubre de 2022. El componente NMI en AAD Pod Identity intercepta y valida solicitudes de token según expresiones regulares. En este caso, una solicitud de token realizada con una barra invertida en la solicitud (ejemplo: `/metadata/identity\\oauth2\\token/`) omitirá la validación de NMI y se enviará a IMDS, lo que permitirá que un pod en el clúster acceda a identidades a las que no debería tener acceso. Este problema se solucionó y se incluyó en la versión 1.8.13 de AAD Pod Identity. Si utiliza el complemento de identidades administradas por pods de AKS, no es necesario realizar ninguna acción. Los clústeres ahora deberían ejecutar la versión 1.8.13.","source":"nvd"}],"published":"2022-12-21T18:48:22.000Z","modified":"2026-06-17T04:30:20.380Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-863","CWE-1259"],"affected":[{"ranges":[{"version":"< 1.8.13","status":"affected"}],"vendor":"Azure","product":"aad-pod-identity","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.13"}],"ecosystem":"Go","package":"github.com/Azure/aad-pod-identity","purl":"pkg:golang/github.com/Azure/aad-pod-identity","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.13"}],"ecosystem":"Go","package":"github.com/Azure/aad-pod-identity","purl":"pkg:golang/github.com/Azure/aad-pod-identity","source":"go"},{"ranges":[{"status":"affected","fixed":"1.8.13"}],"vendor":"microsoft","product":"azure_ad_pod_identity","cpe":"cpe:2.3:a:microsoft:azure_ad_pod_identity:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Azure/aad-pod-identity/security/advisories/GHSA-p82q-rxpm-hjpc","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/Azure/aad-pod-identity/commit/7e01970391bde6c360d077066ca17d059204cb5d","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/Azure/aad-pod-identity/releases/tag/v1.8.13","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23551","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/Azure/aad-pod-identity","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-15T18:10:00.841Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-23551","url":"https://www.cve.org/CVERecord?id=CVE-2022-23551","licence":"CVE Terms of Use","modified":"2025-04-15T18:10:15.229Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p82q-rxpm-hjpc","url":"https://github.com/advisories/GHSA-p82q-rxpm-hjpc","licence":"CC-BY-4.0","modified":"2024-08-21T16:28:54.895Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-1181","url":"https://pkg.go.dev/vuln/GO-2022-1181","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:49.064Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-23551","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23551","licence":"Public domain","modified":"2026-06-17T04:30:20.380Z"}],"updatedAt":"2026-11-25T22:58:17.741Z","epss":{"score":0.00769,"percentile":0.56806,"date":"2026-12-01T12:00:22.000Z"}}