OpenBaoGHSA-6vgr-cp5c-ffx3
OpenBao's SQL Injection in PostgreSQL database secrets engine
Fix: upgrade to 0.0.0-20260420155735-b596b0882620 or later
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| github.com/openbao/openbao Go | < 0.0.0-20260420155735-b596b0882620 | 0.0.0-20260420155735-b596b0882620 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-89
- Also known as
- BIT-openbao-2026-39946, CVE-2026-39946, GO-2026-5192