OpenBao's SQL Injection in PostgreSQL database secrets engine
### Impact 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 originally from HashiCorp Vault. ### Patches This was addressed in v2.5.3. ### Workarounds Audit table schemas and ensure database users cannot create new schemas and grant privileges on them.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-39946US | medium4.9 | — | ||
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, Ope… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/openbao/openbaoPACKAGE
- https://github.com/openbao/openbao/commit/80693a46ebb4fc2455f1c51ed1dd853b28c2fd77WEB
- https://github.com/openbao/openbao/pull/2931WEB
- https://github.com/openbao/openbao/releases/tag/v2.5.3WEB
- https://github.com/openbao/openbao/security/advisories/GHSA-6vgr-cp5c-ffx3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39946ADVISORY
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan