Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Skip to content
Check your stack
CVE-2026-71861

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

Products / packages chainguard-dev sdk · chainguard.dev/sdk

Published

Share

Severity and exploitation

Not in CISA KEVSource: HIGH

KEV coverage does not rule out exploitation.

KEV checked 23/11/2026, 12:55:32 UTC
GitHub_M · CVSS:3.1 · 7.4
Assessment vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV · CVSS:3.1 · 7.4
Assessment vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
The headline uses the highest imported catalog score. Assessments can differ by source and CVSS version.

Severity

high7.4

CVSS measures technical severity, not the likelihood of an attack.

Known exploitation

Not listed in the checked CISA KEV catalog

Absence from CISA KEV does not rule out attacks.

Public exploit

Not established by this record

Missing evidence does not mean no public exploit exists.

Remediation

Package fixes recorded

Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.

What this means

The Chainguard SDK's auth/aws.VerifyToken function is vulnerable to authentication bypass and token replay attacks due to not requiring Chainguard-Audience and Chainguard-Identity binding headers to be covered by the SigV4 signature. This affects all versions up to v0.1.106. An attacker can replay a signed request to any service using VerifyToken.

Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.

Attack conditions

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. The fix requires both the Chainguard-Audience and Chainguard-Identity headers to be present in the request's SigV4 SignedHeaders before their values are trusted (mirroring the mitigation HashiCorp Vault applies by requiring X-Vault-AWS-IAM-Server-ID to be signed). - AWS Signature Version 4 — signed headers: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html

  • Comparable mitigation: HashiCorp Vault requires the X-Vault-AWS-IAM-Server-ID header to appear in SignedHeaders before trusting it.

Excerpt from the original source description below.

Review supporting sources →

Affected versions

Check the exact model, release, and any platform requirements against your installation.

chainguard-dev · GitHub_M

sdk

1 range

Compare with this publisher’s ranges. This does not inspect your installation.

affected

< 0.1.107

unaffected

unknown

Other versions: unknown

Packages

Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.

Affected range Recorded fix
Earlier releases before 0.1.107Semantic versions0.1.107

Version evidence: OSV · GHSA-wq26-3j2m-4hvv

View original version evidence (0 explicit versions)

What to do

Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.

Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.

Upgrade to v0.1.107 or later.

OSV guidance ↗

cve.new guidance unless attributed to a publisher. This page does not inspect your installation.

Public exploit evidence

No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.

Original source description

Read the full publisher description

Summary

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.

Background

The package uses the standard "signed GetCallerIdentity" pattern — the same approach HashiCorp Vault's AWS auth method and Kubernetes aws-iam-authenticator use: the caller signs an AWS STS GetCallerIdentity request with its AWS credentials to prove who it is, and presents that signed request as a bearer token. It has two halves:

  • GenerateToken (client): builds the GetCallerIdentity request, adds the Chainguard-Audience and Chainguard-Identity headers that bind the proof to a specific Chainguard audience (issuer) and assumable identity, SigV4-signs it, and serializes it into a token.
  • VerifyToken (relying party): decodes the token, checks those two binding headers, forwards the request to AWS STS to confirm the caller's real AWS identity (ARN), and returns it so a Chainguard token can be issued for that identity.

The binding headers exist so a proof minted for one audience/identity cannot be reused for another — a defense against cross-service replay — and their security depends entirely on being covered by the SigV4 signature.

Impact

A relying party calling auth/aws.VerifyToken can be induced to accept a GetCallerIdentity proof that a victim produced for an unrelated purpose — for example a request minted for HashiCorp Vault's AWS auth method, Kubernetes aws-iam-authenticator, a different audience, or one captured from logs or a proxy — and to treat it as proof of the victim's AWS identity for an attacker-chosen audience and identity. The signed request is valid within its ~15-minute window. No access to the victim's AWS credentials is required; the attacker only needs a fresh signed GetCallerIdentity request from the victim principal.

Code that uses only auth/aws.GenerateToken (token generation) is not affected — the generator correctly includes the binding headers in the signature. Only verifiers using auth/aws.VerifyToken are affected.

Affected versions

All released versions of chainguard.dev/sdk that include auth/aws.VerifyToken, up to and including v0.1.106.

Patches

Fixed in chainguard.dev/sdk v0.1.107. The fix requires both the Chainguard-Audience and Chainguard-Identity headers to be present in the request's SigV4 SignedHeaders before their values are trusted (mirroring the mitigation HashiCorp Vault applies by requiring X-Vault-AWS-IAM-Server-ID to be signed). It additionally adds defense-in-depth checks on the request method, the STS host, and the request timestamp. Upgrade to v0.1.107 or later.

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.

References

Credits

Reported by Kris Kennaway (Datadog).

References

5 sources

Inside the record

Evidence available

Package identity
Version evidence
Remediation guidance · not supplied
Weakness classification
Additional publishers

Describes the evidence in this view, not whether the product is safe.

Original records

CVE-2026-71861

View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.

cve.new JSON →

Underlying weaknesses

The source’s classification of what caused the vulnerability.

CWE-290 ↗

CWE-290: Authentication Bypass by Spoofing

GitHub_M

Related →
CWE-294 ↗

CWE-294: Authentication Bypass by Capture-replay

GitHub_M

Related →
CWE-347 ↗

CWE-347: Improper Verification of Cryptographic Signature

GitHub_M

Related →
Contributing organizations · 2
GitHub_M

Assigning organization

2026-11-18
CISA-ADP

Additional data publisher

2026-11-18

Timeline

All times UTC
  1. Advisory published

    Publication date supplied by the source.

  2. Source updated

    Latest modification date supplied by the source.

  3. Last imported by cve.new

    Latest catalog import, not the date we first saw this advisory.

What changed

Follow changes
  1. CVE · CVE-2026-71861

    Observed 2026-11-18T16:41:09.716Z · upstream updated 2026-11-18T16:32:30.397Z

    Prioritization updated

    before

    []

    after

    [
      {
        "source": "CISA-ADP",
        "type": "SSVC",
        "role": "CISA Coordinator",
        "timestamp": "2026-11-18T16:32:03.980471Z",
        "decisions": [
          {
            "name": "Exploitation",
            "value": "none"
          },
          {
            "name": "Automatable",
            "value": "no"
          },
          {
            "name": "Technical Impact",
            "value": "total"
          }
        ]
      }
    ]

Large field values are marked as truncated previews. Original source snapshots remain retained.

Showing up to 50 most recent observed changes.