CVE-2026-54725 vault-addr annotation SSRF -- webhook makes outbound HTTP call to attacker URL during admission; vault-serviceaccount enables cluster-wide SA token theft via TokenRequest API

Critical 9.6 Published Updated

An attacker can trigger server-side request forgery and steal service account tokens by manipulating Vault annotations in Kubernetes pods.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-54725?

CVE-2026-54725 is a critical server-side request forgery vulnerability in bank-vaults vault-secrets-webhook, published on 31 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

vault-secrets-webhook is a Kubernetes mutating webhook that makes direct secret injection into Pods possible. Prior to 1.23.1, parseVaultConfig() in pkg/webhook/config.go accepts the vault.security.banzaicloud.io/vault-addr annotation, MutateConfigMap and MutateSecret call newVaultClient in pkg/webhook/webhook.go, and vault.security.banzaicloud.io/vault-serviceaccount can cause a ServiceAccount JWT to be sent to an attacker-controlled Vault address. This issue is fixed in version 1.23.1.

Weakness: CWE-918

Which versions are affected by CVE-2026-54725?

3 open source packages ship an affected version, including github.com/bank-vaults/vault-secrets-webhook.

PackageAffectedFixed in
github.com/bank-vaults/vault-secrets-webhook GoAll versions1.23.1
github.com/bank-vaults/vault-secrets-webhook GoAll versions1.23.1
github.com/bank-vaults/vault-secrets-webhook GoAll versions1.23.1

How do I fix CVE-2026-54725?

Upgrade github.com/bank-vaults/vault-secrets-webhook to 1.23.1 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-54725 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54725 exists.

Sources

Also known as GHSA-r2v3-8gwf-7ghm, GO-2026-6160.

Is CVE-2026-54725 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free