{"cve":"CVE-2023-0620","nvd":{"published":"2023-03-30T01:15:07.380","modified":"2026-06-17T05:25:56.713","status":"Modified","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.\n\nThis issue is fixed in versions 1.13.1, 1.12.5, and 1.11.9.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.7},"cwes":["CWE-89"],"references":["https://discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1","https://security.netapp.com/advisory/ntap-20230526-0008/","https://discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1","https://security.netapp.com/advisory/ntap-20230526-0008/"],"products":["hashicorp:vault"],"source":"nvd","synced_at":"2026-10-19T21:37:48.383111019+00:00"},"epss":{"cve":"CVE-2023-0620","score":0.00378,"percentile":0.31819,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v3hp-mcj5-pg39","url":"https://osv.dev/vulnerability/GHSA-v3hp-mcj5-pg39","summary":"HashiCorp Vault’s Microsoft SQL Database Storage Backend Vulnerable to SQL Injection Via Configuration File","modified":"2026-09-10T03:49:57.082551525Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=0.8.0 <1.11.9"],"fixed":["1.11.9"]},{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=1.12.0 <1.12.5"],"fixed":["1.12.5"]},{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=1.13.0 <1.13.1"],"fixed":["1.13.1"]}]},{"id":"GO-2023-1685","url":"https://osv.dev/vulnerability/GO-2023-1685","summary":"HashiCorp Vault’s Microsoft SQL Database Storage Backend Vulnerable to SQL Injection Via Configuration File in github.com/hashicorp/vault","modified":"2026-02-04T03:41:23.892597Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=0.8.0 <1.11.9",">=1.12.0 <1.12.5",">=1.13.0 <1.13.1"],"fixed":["1.11.9","1.12.5","1.13.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}