AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

OpenBaoGHSA-6vgr-cp5c-ffx3

OpenBao's SQL Injection in PostgreSQL database secrets engine

OpenBao

CVE-2026-39946 · Published Apr 21, 2026 · updated Sep 10, 2026

Medium4.9
Fix: upgrade to 0.0.0-20260420155735-b596b0882620 or later
GitHub advisory

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

PackageAffectedFixed in
github.com/openbao/openbao
Go
< 0.0.0-20260420155735-b596b08826200.0.0-20260420155735-b596b0882620
Details and references

More OpenBao advisories

All OpenBao