Arbitrary Code Injection Affecting github.com/openbao/openbao/vault package, versions <2.3.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMOPENBAOOPENBAOVAULT-11737132
  • published10 Aug 2025
  • disclosed9 Aug 2025
  • creditUnknown

Introduced: 9 Aug 2025

NewCVE-2025-54997  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/openbao/openbao/vault to version 2.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the audit subsystem when manipulating log prefixes. An attacker can execute unauthorized code and gain network access by bypassing intended restrictions on privileged API operators.

Note: This is exploitable if the attacker has privileged operator access to the API.

Workaround

This vulnerability can be mitigated by blocking access to sys/audit/* endpoints using explicit deny policies, although root operators cannot be restricted this way.

CVSS Base Scores

version 4.0
version 3.1