PT-2026-66831 · Banzai Cloud · Vault-Secrets-Webhook
CVE-2026-54725
·
Published
2026-07-31
·
Updated
2026-07-31
CVSS v3.1
9.6
Critical
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
vault-secrets-webhook versions prior to 1.23.1
Description
The software reads the
vault.security.banzaicloud.io/vault-addr annotation from ConfigMaps or Secrets without validation or allowlisting. When a value prefixed with vault: is present, the admission handler synchronously calls the Vault API at the attacker-supplied address. Because the webhook possesses cluster-wide serviceaccounts/token:create permissions, the vault.security.banzaicloud.io/vault-serviceaccount annotation can be used to fetch a ServiceAccount JWT and send it to the attacker-controlled address. This allows an attacker with permissions to create or update ConfigMaps or Secrets in a watched namespace to perform arbitrary outbound HTTP connections (such as accessing cloud IMDS) and exfiltrate ServiceAccount JWTs to access secrets in Vault.Technical details include:
- API Endpoints: The webhook makes requests to the address specified in the
vault.security.banzaicloud.io/vault-addrannotation, specifically targeting the/v1/auth/<path>/loginendpoint. - Vulnerable Parameters or Variables:
vault.security.banzaicloud.io/vault-addrandvault.security.banzaicloud.io/vault-serviceaccountannotations. - Function Names:
parseVaultConfig(),MutateConfigMap(),MutateSecret(), andnewVaultClient().
Recommendations
Update vault-secrets-webhook to version 1.23.1.
Exploit
Fix
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Vault-Secrets-Webhook