CVE-2026-39946CWE-89

OpenBao allows SQL Injection in PostgreSQL database secrets engine

Medium · published April 21, 2026

CVSS v4.0
4.6
EPSS
0%
Percentile
32.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
4.6 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
EPSS
0.00391 · 32.0th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-04-21T00:19Z
EPSS history
Timeline
  • 21 APR 00:19Z
    OpenBao allows SQL Injection in PostgreSQL database secrets engine
    cvelistv5