Skip to content

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

MediumCVSS 4.6 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

4 packages: 4 fixed.

PackageAffectedFixed inStatus
alpine/openbao(Alpine v3.23) < 2.5.4-r0 2.5.4-r0 Fixed
alpine/openbao(Alpine v3.24) < 2.5.4-r0 2.5.4-r0 Fixed
openbao < 2.5.3; = < 2.5.3 2.5.3 Fixed
openbao(Go) < 0.0.0-20260420155735-b596b0882620 0.0.0-20260420155735-b596b0882620 Fixed

Affected products

ProductAffected versionsFixed in
openbao(Go) < 0.0.0-20260420155735-b596b0882620 0.0.0-20260420155735-b596b0882620
openbao = < 2.5.3 No fix listed
alpine/openbao(Alpine:v3.23) < 2.5.4-r0 2.5.4-r0
alpine/openbao(Alpine:v3.24) < 2.5.4-r0 2.5.4-r0
openbao < 2.5.3 2.5.3

References