CVE-2026-39946 OpenBao allows SQL Injection in PostgreSQL database secrets engine
MediumCVSS 4.6
EPSS 0.24%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/openbao(Alpine v3.23) | < 2.5.4-r0 | 2.5.4-r0 | Fixed |
| alpine/openbao(Alpine v3.24) | < 2.5.4-r0 | 2.5.4-r0 | Fixed |
| openbao | < 2.5.3; = < 2.5.3 | 2.5.3 | Fixed |
| openbao(Go) | < 0.0.0-20260420155735-b596b0882620 | 0.0.0-20260420155735-b596b0882620 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openbao(Go) | < 0.0.0-20260420155735-b596b0882620 | 0.0.0-20260420155735-b596b0882620 |
| openbao | = < 2.5.3 | No fix listed |
| alpine/openbao(Alpine:v3.23) | < 2.5.4-r0 | 2.5.4-r0 |
| alpine/openbao(Alpine:v3.24) | < 2.5.4-r0 | 2.5.4-r0 |
| openbao | < 2.5.3 | 2.5.3 |
References
- https://github.com/openbao/openbao/security/advisories/GHSA-6vgr-cp5c-ffx3 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- github.com
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2459953 issue-tracking
- www.cve.org
- security.alpinelinux.org vendor-advisory