CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2025-54997
9.10.12%

The Janitor's Key: Turning OpenBao Audit Logs into RCE

Alon Barad
Alon Barad
Software Engineer

Jan 1, 2026·6 min read·17 visits

PoC Available

Executive Summary (TL;DR)

A high-privilege RCE vulnerability (CVSS 9.1) allows operators to turn the audit logging system into an arbitrary file write primitive. By pointing a 'file' audit device at a sensitive path (like `/etc/cron.d`) and injecting a malicious 'prefix', attackers can execute code as the Vault/OpenBao service user. The fix involves disabling API-based audit configuration entirely.

OpenBao and HashiCorp Vault, the literal Fort Knoxes of the DevOps world, suffered a catastrophic logic flaw in their audit subsystems. By abusing the ability to configure audit devices via API, privileged attackers could trick the system into writing malicious code directly to the host filesystem.

Official Patches

OpenBaoPull Request #1634: Restrict API audit creation
HashiCorpHCSEC-2025-14 Advisory

Fix Analysis (1)

Technical Appendix

CVSS Score
9.1/ 10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS Probability
0.12%
Top 35% most exploited

Affected Systems

OpenBao (versions < 2.3.2)HashiCorp Vault Community Edition (versions < 1.20.1)HashiCorp Vault Enterprise (versions < 1.20.1)

Affected Versions Detail

Product
Affected Versions
Fixed Version
OpenBao
OpenBao
< 2.3.22.3.2
Vault Community Edition
HashiCorp
< 1.20.11.20.1
Vault Enterprise
HashiCorp
< 1.19.71.19.7
AttributeDetail
CWE IDCWE-94
Attack VectorNetwork (API)
CVSS Score9.1 (Critical)
Privileges RequiredHigh (Audit Write)
ImpactRemote Code Execution (RCE)
Exploit StatusConceptual / Weaponizable

MITRE ATT&CK Mapping

T1059Command and Scripting Interpreter
Execution
T1203Exploitation for Client Execution
Execution
T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-94
Code Injection

Improper Control of Generation of Code ('Code Injection')

Known Exploits & Detection

Internal ResearchExploit logic derived from patch analysis (reverse engineering configuration flags)

Vulnerability Timeline

Patch released in OpenBao v2.3.2
2025-01-15
Patch released in HashiCorp Vault v1.20.1
2025-01-15

References & Sources

  • [1]OpenBao Changelog
  • [2]HashiCorp Security Discuss
Related Vulnerabilities
CVE-2025-6000

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.