github.com/openbao/openbao
Affected
- introduced
0, fixed0.0.0-20260420155735-b596b0882620(semver)
Fixed versions
0.0.0-20260420155735-b596b0882620
Fix
- Fixed version
0.0.0-20260420155735-b596b0882620go get github.com/openbao/[email protected]
Advisory
Also known as: BIT-openbao-2026-39946, CVE-2026-39946, GO-2026-5192
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.
Medium Basis: The source's own band: MODERATE
0, fixed 0.0.0-20260420155735-b596b0882620 (semver)0.0.0-20260420155735-b596b0882620
0.0.0-20260420155735-b596b0882620go get github.com/openbao/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0