CVE-2026-39946

published 21 Apr 2026 · updated 11 Nov 2026

OpenBao allows SQL Injection in PostgreSQL database secrets engine

4.6MediumCVSS 4.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.5.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
openbaoopenbao<2.5.32.5.3
openbao<2.5.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-39946 severity on Zeptric[![CVE-2026-39946](https://zeptric.io/badge/cve/CVE-2026-39946.svg)](https://zeptric.io/cve/CVE-2026-39946)