CVE-2026-39946: OpenBao - SQL Injection
- Cve: CVE-2026-39946
- Name: OpenBao - SQL Injection
- 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.
- Impact: Attackers with management user privileges can execute SQL injection, potentially leading to data manipulation or privilege escalation.
- Remediation: Update to version 2.5.3 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: sql_injection, privilege_escalation, data_tampering
- Requirement type: logged_in
- Requirements: Attacker needs management user privileges
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.0024
- Epss percentile: 0.14996
- Assignee: [email protected]
- Published at: 2026-04-21T01:16:06Z
- Age in days: 217
- Modified at: 2026-11-11T23:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-39946
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/openbao/openbao/security/advisories/GHSA-6vgr-cp5c-ffx3 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openbao:openbao | < 2.5.3 | no | nvd | /v1/products/openbao/openbao |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openbao/openbao | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/openbao/openbao |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts