CVE-2026-39946
mediumpriority · track · 20EPSS 0.002 · 14 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1–4.9
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
- Go github.com/openbao/openbao< 0.0.0-20260420155735-b596b0882620osvUSpkg:golang/github.com/openbao/openbao
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1189OpenBao: Mehrere SchwachstellenDeutsch2026-04-20csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in OpenBao ausnutzen, um Sicherheitsvorkehrungen zu umgehen, um einen Denial of Service Angriff durchzuführen, und um einen SQL-Injection Angriff durchzuführen.
- GHSA-6vgr-cp5c-ffx3OpenBao's SQL Injection in PostgreSQL database secrets engine2026-04-21ghsa · osvUS
### Impact 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 originally from HashiCorp Vault. ### Patches This was addressed in v2.5.3. ### Workarounds Audit table schemas and ensure database users cannot create new schemas and grant privileges on them.
- BIT-openbao-2026-39946OpenBao allows SQL Injection in PostgreSQL database secrets engine2026-07-27vendor · osvUS
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.
- GO-2026-5192OpenBao's SQL Injection in PostgreSQL database secrets engine in github.com/openbao/openbao2026-06-25vendor · osvUS
OpenBao's SQL Injection in PostgreSQL database secrets engine in github.com/openbao/openbao
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202604-4168cnnvd
- EUVD-2026-24035enisa_euvd
- BDU:2026-08724fstec_bdu
- GHSA-6vgr-cp5c-ffx3enisa_euvd
- BIT-openbao-2026-39946osv
- GHSA-6vgr-cp5c-ffx3osv
- GO-2026-5192osv
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-39946cnnvd
- https://github.com/openbao/openbao/releasesPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-39946cnnvd
- https://github.com/openbao/openbao/security/advisories/GHSA-6vgr-cp5c-ffx3enisa_euvd
- https://github.com/openbao/openbao/security/advisories/GHSA-6vgr-cp5c-ffx3Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan