# CVE-2024-0831: Vault May Expose Sensitive Information When Configuring An Audit Log Device

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.5
- **CVSS:** 4.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.85% (percentile 56, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** BIT-vault-2024-0831, GHSA-vgh3-mwxq-rcp8, GO-2024-2511
- **Published:** 2024-02-01T01:41:33.801Z
- **Modified:** 2026-06-17T06:54:23.810Z

## Who should check

- Projects that depend on Go package github.com/hashicorp/vault (\>= 1.15.0, \< 1.15.5)
- Anyone running HashiCorp Vault \>= 1.15.0, \<= 1.15.4
- Anyone running HashiCorp Vault Enterprise \>= 1.15.0, \<= 1.15.4

## Description

Vault and Vault Enterprise (“Vault”) may expose sensitive information when enabling an audit device which specifies the \`log\_raw\` option, which may log sensitive information to other audit devices, regardless of whether they are configured to use \`log\_raw\`.

## Affected and fixed versions

- Go `github.com/hashicorp/vault`: affected \>= 1.15.0, \< 1.15.5; fixed 1.15.5 (osv)
- HashiCorp Vault: \>= 1.15.0, \<= 1.15.4 (cvelist)
- HashiCorp Vault Enterprise: \>= 1.15.0, \<= 1.15.4 (cvelist)

## Mitigation

- Upgrade github.com/hashicorp/vault to 1.15.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-0831. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-0831.md
Affected: github.com/hashicorp/vault >= 1.15.0, < 1.15.5
Fixed in: 1.15.5

Steps:
1. Search this machine and project for github.com/hashicorp/vault (Go), HashiCorp Vault, HashiCorp Vault Enterprise: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-0831 being exploited?

There is no confirmed exploitation: CVE-2024-0831 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-0831?

Medium: CVSS 4.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2024-0831?

github.com/hashicorp/vault \>= 1.15.0, \< 1.15.5.

### Is there a fix for CVE-2024-0831?

Yes. Fixed in 1.15.5. Upgrade github.com/hashicorp/vault to 1.15.5 or later.

### How do I check if I'm affected by CVE-2024-0831?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://discuss.hashicorp.com/t/hcsec-2024-01-vault-may-expose-sensitive-information-when-configuring-an-audit-log-device/62311>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-0831>
- vendor: <https://github.com/advisories/GHSA-vgh3-mwxq-rcp8>
- patch: <https://github.com/hashicorp/vault/commit/2a72f2a8a5b57de88c22a2a94c4a5f08c6f3770b>
- exploit: <https://developer.hashicorp.com/vault/docs/upgrading/upgrade-to-1.15.x#audit-devices-could-log-raw-data-despite-configuration>
- other: <https://security.netapp.com/advisory/ntap-20240223-0005/>
- other: <https://github.com/hashicorp/vault>
- other: <https://security.netapp.com/advisory/ntap-20240223-0005>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-0831>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-vgh3-mwxq-rcp8> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2024-2511> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-0831> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-0831>
