CVE-2026-39946

MEDIUM

OpenBao allows SQL Injection in PostgreSQL database secrets engine

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 4.9
EPSS 0.0024
EPSS Percentile 14.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-89
Status published
Products (2)
openbao/openbao < 2.5.3 (2 CPE variants)
openbao/openbao 0 - 0.0.0-20260420155735-b596b0882620Go
Published Apr 21, 2026
Tracked Since Apr 21, 2026