CVE-2026-39946 MEDIUM

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

Vendor Openbao
Product openbao
Weakness CWE-89 · SQLi
Published April 21, 2026
Last update April 21, 2026

CVSS base score

4.6/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 21, 2026 CVE published
April 21, 2026 Record updated