CVE-2025-4166
CVE-2025-4166 · Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin
CVSS 4.5 · Medium · EPSS 0.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- vaultUpdate to 1.19.2
- vault enterpriseUpdate to 1.16.20
- openbao Alpine 3.22Update to 2.2.2-r0
- openbao Alpine 3.23Update to 2.2.2-r0
- and 1 more
Check the installed version:
apk list -I -o openbaoAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Vault Community and Vault Enterprise Key/Value (kv) Version 2 plugin may unintentionally expose sensitive information in server and audit logs when users submit malformed payloads during secret creation or update operations via the Vault REST API. This vulnerability, identified as CVE-2025-4166, is fixed in Vault Community 1.19.3 and Vault Enterprise 1.19.3, 1.18.9, 1.17.16, 1.16.20.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2025:15186-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:15059-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
vault
- Versions
- ≥ 0.3.0, < 1.19.2: Affected (semver)
Update to 1.19.2
vault enterprise
- Versions
- ≥ 0.10.0, < 1.19.2: Affected; ≥ 1.18.9: Not affected; ≥ 1.17.16: Not affected; ≥ 1.16.20: Not affected (semver)
Update to 1.16.20
openbao Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 2.2.2-r0
Update to 2.2.2-r0
openbao Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 2.2.2-r0
Update to 2.2.2-r0
openbao Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 2.2.2-r0
Update to 2.2.2-r0