Junglewise Threat Intelligence

CVE-2026-39946: OpenBao's SQL Injection in PostgreSQL database secrets engine

CVE-2026-39946 · Severity: medium · CVSS 4.9 · Published 2026-04-21

Technologies: github.com/openbao/openbao (Go). Vendors: Go.

Executive brief

### 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 products

  • Go github.com/openbao/openbao

References

Related threats