Incorrect Authorization Affecting github.com/openbao/openbao/v2/vault/policy package, versions <2.6.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (27th 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 Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMOPENBAOOPENBAOV2VAULTPOLICY-20078889
  • published24 Sept 2026
  • disclosed23 Sept 2026
  • creditbabakizo420

Introduced: 23 Sep 2026

NewCVE-2026-63131  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/openbao/openbao/v2/vault/policy to version 2.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization through the AllowOperation path-matching logic in vault/policy/acl.go. An attacker can perform an unauthorized LIST request on a more specific trailing-wildcard path by sending a request that matches a broader allowed list rule on a parent path, causing a capabilities = ["deny"] rule on the nested path to be ignored. This affects LIST operations on paths such as foo/metadata/private/* when a parent rule like foo/metadata/* grants list, allowing access to directory listings that the policy operator intended to block. Other operation types are not affected.

CVSS Base Scores

version 4.0
version 3.1