CVE-2026-71861: Chainguard SDK: AWS SigV4 token replay in auth/aws.VerifyToken - Chainguard-Audience/Chainguard-Identity binding headers not required in SignedHeaders
Published 2026-11-18 · Updated 2026-11-23 · Also known as GHSA-wq26-3j2m-4hvv, GO-2026-6996
Summary
A flaw in the auth/aws.VerifyToken function of chainguard.dev/sdk fails to require binding headers to be covered by AWS SigV4 signatures, enabling cross-service token replay attacks. Maintainers of relying-party services using chainguard.dev/sdk to verify AWS-backed identities should upgrade to version 0.1.107 or later.
Who is affected
Services calling auth/aws.VerifyToken in chainguard.dev/sdk versions prior to 0.1.107 are vulnerable to verifier-side authentication bypass. An attacker can capture a victim's signed AWS STS GetCallerIdentity request-such as one intended for Vault or Kubernetes-and append or modify unsigned Chainguard-Audience and Chainguard-Identity headers. This allows the attacker to impersonate the victim's AWS identity within the request's ~15-minute validity window without needing access to the victim's AWS credentials. Code using only auth/aws.GenerateToken is not affected.
Exploitability
The vulnerability has a CVSS 3.1 base score of 7.4 (High) with a vector of AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, reflecting remote access without required privileges or user interaction but with high attack complexity. The EPSS score is 0.002 (0.118th percentile). CISA KEV confirms there is currently no known active exploitation in the wild.
Remediation
- Upgrade the chainguard.dev/sdk Go dependency to version 0.1.107 or later in affected projects.
- Recompile and redeploy relying-party applications that call auth/aws.VerifyToken to enforce SigV4 SignedHeaders validation.
How to check your project
- Inspect go.mod and go.sum files across repositories for chainguard.dev/sdk versions below v0.1.107.
- Search Go codebases for imports of chainguard.dev/sdk/auth/aws and calls to the VerifyToken function.
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | chainguard.dev/sdk |
>= 0, < 0.1.107 | 0.1.107 | go get chainguard.dev/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | None |
FAQ
What specifically caused the token replay vulnerability?
AWS STS only validates headers listed in the SigV4 SignedHeaders parameter. Because VerifyToken read Chainguard-Audience and Chainguard-Identity headers without confirming they were included in SignedHeaders, attackers could inject or alter those headers on valid AWS STS requests signed for other services.
Are applications that only generate AWS identity tokens vulnerable?
No. The auth/aws.GenerateToken client implementation correctly includes the binding headers in the SigV4 signature. Only services acting as relying parties that call auth/aws.VerifyToken are affected.
Is there a workaround available without upgrading the library?
There is no documented workaround. Operators of services verifying AWS-backed identities using VerifyToken must upgrade chainguard.dev/sdk to version 0.1.107 or later.
Original advisory description
References
- WEB https://github.com/chainguard-dev/sdk/security/advisories/GHSA-wq26-3j2m-4hvv
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-71861
- WEB https://github.com/chainguard-dev/sdk/commit/d27997d62aaffe85f905cce4cbe8cdebbd5e24eb
- PACKAGE https://github.com/chainguard-dev/sdk
- WEB https://github.com/chainguard-dev/sdk/releases/tag/v0.1.107
Source records: GHSA-wq26-3j2m-4hvv, GO-2026-6996 (OSV.dev) · EPSS by FIRST, 2026-11-26.