---
id: CVE-2026-54725
title: >-
  vault-secrets-webhook is a Kubernetes mutating webhook that makes direct
  secret injection into Pods possible
summary: >-
  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, M…
severity: critical
cvss: 9.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N'
cwe:
  - CWE-918
vendor: bank-vaults
product: github.com/bank-vaults/vault-secrets-webhook
affected:
  - github.com/bank-vaults/vault-secrets-webhook <= 1.22.2
patched:
  - github.com/bank-vaults/vault-secrets-webhook 1.23.1
published: '2026-07-31'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T20:12:43.783'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54725'
references:
  - url: >-
      https://github.com/bank-vaults/vault-secrets-webhook/commit/76db45976fee0f54cafd94dffa425e6b542f65a0
    label: security-advisories@github.com
  - url: 'https://github.com/bank-vaults/vault-secrets-webhook/releases/tag/v1.23.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/bank-vaults/vault-secrets-webhook/security/advisories/GHSA-r2v3-8gwf-7ghm
    label: security-advisories@github.com
  - url: >-
      https://github.com/bank-vaults/vault-secrets-webhook/security/advisories/GHSA-r2v3-8gwf-7ghm
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-r2v3-8gwf-7ghm'
tags:
  - nvd
  - ghsa
  - go
epss: 0.00449
epssPercentile: 0.36285
aliases:
  - GHSA-r2v3-8gwf-7ghm
ecosystem: go
ingestedAt: '2026-07-31T18:00:26.955Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-54725)

Affected packages:

- `github.com/bank-vaults/vault-secrets-webhook <= 1.22.2`

Patched in:

- `github.com/bank-vaults/vault-secrets-webhook 1.23.1`

Source: https://github.com/advisories/GHSA-r2v3-8gwf-7ghm
