What’s Vulnerable › Vulnerabilities
CVE-2026-39946: OpenBao allows SQL Injection in PostgreSQL database secrets engine
- Severity: medium (CVSS 4.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-21 · updated 2026-06-17
- Weakness: CWE-89
Description
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, 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 original from HashiCorp Vault. The vulnerability is addressed in v2.5.3. As a workaround, audit table schemas and ensure database users cannot create new schemas and grant privileges on them.
Affected products
- openbao: before 2.5.3 — fixed in 2.5.3
How to fix
Upgrade to a fixed version: openbao 2.5.3. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-39946 or the next vulnerability affects your stack