Description
HashiCorp Vault and Vault Enterprise versions 0.8.0 through 1.13.1 are vulnerable to an SQL injection attack when configuring the Microsoft SQL (MSSQL) Database Storage Backend. When configuring the MSSQL plugin through the local, certain parameters are not sanitized when passed to the user-provided MSSQL database. An attacker may modify these parameters to execute a malicious SQL command.
This issue is fixed in versions 1.13.1, 1.12.5, and 1.11.9.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HashiCorp | Vault | 1.13.0 – < 1.13.1, 1.12.0 – < 1.12.5, 0.8.0 – < 1.11.9 | 1.13.1 |
| HashiCorp | Vault Enterprise | 1.13.0 – < 1.13.1, 1.12.0 – < 1.12.5, 0.8.0 – < 1.11.9 | 1.13.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | k3d +2 | 5.6.0-r11 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/hashicorp/vault | >= 0.8.0, < 1.11.9 | 1.11.9 | GHSA-v3hp-mcj5-pg39 |
| Go | github.com/hashicorp/vault | >= 1.12.0, < 1.12.5 | 1.12.5 | GHSA-v3hp-mcj5-pg39 |
| Go | github.com/hashicorp/vault | >= 1.13.0, < 1.13.1 | 1.13.1 | GHSA-v3hp-mcj5-pg39 |
| Go | github.com/hashicorp/vault | >= 0.8.0, < 1.11.9 · >= 1.12.0, < 1.12.5 · >= 1.13.0, < 1.13.1 | 1.11.9, 1.12.5, 1.13.1 | GO-2023-1685 |
Advisories 2
- WID-SEC-2023-1542 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2023-0795 Hashicorp Vault: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 29, 2023