Medium severity4.9NVD Advisory· Published Apr 21, 2026· Updated Apr 24, 2026
CVE-2026-39946
CVE-2026-39946
Description
OpenBao is an open source identity-based secrets management system. Prior to version 2.5.3, when OpenBao revoked privileges on a role in the PostgreSQL database secrets engine, OpenBao failed to use proper database quoting on schema names provided by PostgreSQL. This could lead to role revocation failures, or more rarely, SQL injection as the management user. This vulnerability was original from HashiCorp Vault. The vulnerability is addressed in v2.5.3. As a workaround, audit table schemas and ensure database users cannot create new schemas and grant privileges on them.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/openbao/openbaoGo | < 0.0.0-20260420155735-b596b0882620 | 0.0.0-20260420155735-b596b0882620 |
Affected products
5- osv-coords4 versionspkg:apk/chainguard/openbao-compatpkg:apk/wolfi/openbao-compatpkg:golang/github.com/openbao/openbaopkg:rpm/opensuse/openbao&distro=openSUSE%20Tumbleweed
< 2.5.3-r0+ 3 more
- (no CPE)range: < 2.5.3-r0
- (no CPE)range: < 2.5.3-r0
- (no CPE)range: < 0.0.0-20260420155735-b596b0882620
- (no CPE)range: < 2.5.3-1.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-6vgr-cp5c-ffx3ghsaADVISORY
- github.com/openbao/openbao/security/advisories/GHSA-6vgr-cp5c-ffx3nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-39946ghsaADVISORY
- github.com/openbao/openbao/commit/80693a46ebb4fc2455f1c51ed1dd853b28c2fd77ghsaWEB
- github.com/openbao/openbao/pull/2931ghsaWEB
- github.com/openbao/openbao/releases/tag/v2.5.3ghsaWEB
News mentions
0No linked articles in our index yet.