CVE 4.6 MEDIUM

OpenBao allows SQL Injection in PostgreSQL database secrets engine_CVE-2026-39946

4.6 / 10
MEDIUM
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

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.

Basic Information

ID CVE-2026-39946
Source GitHub_M
Published Apr 21, 2026 at 00:19

Affected Product

Vendor openbao
Product openbao
Version < 2.5.3
Affected Versions openbao openbao < 2.5.3

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.