All vulnerabilities

Go

CVE-2026-71861

Chainguard SDK: AWS SigV4 token replay in auth/aws.VerifyToken — Chainguard-Audience/Chainguard-Identity binding headers not required in SignedHeaders

Severity
High 7.4
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.1.107
Exploit chance
0.2% in the next 30 daysHigher than 11% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Authentication bypass by spoofing (CWE-290)Authentication bypass by capture-replay (CWE-294)Improper verification of a cryptographic signature (CWE-347)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Also known as
GHSA-wq26-3j2m-4hvv
Sources
OSV.dev and GitHub

Description

The auth/aws package of the chainguard.dev/sdk Go library provides Chainguard's AWS-backed identity federation (an AWS workload proves its identity to Chainguard by signing an AWS STS GetCallerIdentity request). Its verifier, VerifyToken, reads the Chainguard-Audience and Chainguard-Identity binding headers from a presented token but does not require them to be covered by the SigV4 signature. AWS STS validates only the headers listed in SignedHeaders and ignores all others, so an attacker can take a GetCallerIdentity request that a victim signed for a different relying party, inject or rewrite those two headers after signing (without invalidating the signature), and replay it to any service that authenticates callers with VerifyToken. The binding those headers were meant to provide is therefore forgeable — a verifier-side (relying-party) authentication bypass / cross-service token replay.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

There is no client-side workaround; the fix is in the verifier. Operators of services that verify AWS-backed identities with VerifyToken should upgrade as soon as the patched release is available.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
chainguard.dev/sdkGo · osv:Go:chainguard.dev/sdk
  • Every version before 0.1.107

About chainguard.dev/sdk

This is the only vulnerability in chainguard.dev/sdk in our list.

References