{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-40370", "assignerOrgId": "f38d906d-7342-40ea-92c1-6c4a2c6478c8", "state": "PUBLISHED", "assignerShortName": "microsoft", "dateReserved": "2026-04-11T23:06:15.615Z", "datePublished": "2026-05-12T16:59:21.097Z", "dateUpdated": "2026-05-13T17:59:16.963Z" }, "containers": { "cna": { "title": "SQL Server Remote Code Execution Vulnerability", "datePublic": "2026-05-12T14:00:00.000Z", "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sql_server_2025:*:*:*:*:*:*:x64:*", "versionStartIncluding": "17.0.4040.1", "versionEndExcluding": "17.0.4040.1" }, { "vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sql_server_2022:*:*:*:*:*:*:x64:*", "versionStartIncluding": "16.0.0.0", "versionEndExcluding": "16.0.4252.3" }, { "vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sql_server_2017:*:-:*:*:*:*:x64:*", "versionStartIncluding": "14.0.0", "versionEndExcluding": "14.0.2110.2" }, { "vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sql_server_2019:*:*:*:*:*:*:x64:*", "versionStartIncluding": "15.0.0", "versionEndExcluding": "15.0.2170.1" }, { "vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sql_server_2016:*:sp3:*:*:*:*:x64:*", "versionStartIncluding": "13.0.0", "versionEndExcluding": "13.0.6490.1" }, { "vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sql_server_2016:*:sp3:*:*:*:*:x64:*", "versionStartIncluding": "13.0.0", "versionEndExcluding": "13.0.7085.1" }, { "vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sql_server_2017:*:-:*:*:*:*:x64:*", "versionStartIncluding": "14.0.0", "versionEndExcluding": "14.0.3530.2" }, { "vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sql_server_2022:*:*:*:*:*:*:x64:*", "versionStartIncluding": "16.0.0", "versionEndExcluding": "16.0.1180.1" }, { "vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sql_server_2025:*:*:*:*:*:*:x64:*", "versionStartIncluding": "17.0.1050.2", "versionEndExcluding": "17.0.1115.1" }, { "vulnerable": true, "criteria": "cpe:2.3:a:microsoft:sql_server_2019:*:*:*:*:*:*:x64:*", "versionStartIncluding": "15.0.0.0", "versionEndExcluding": "15.0.4470.1" } ] } ] } ], "affected": [ { "vendor": "Microsoft", "product": "Microsoft SQL Server 2016 Service Pack 3 (GDR)", "platforms": [ "x64-based Systems" ], "versions": [ { "version": "13.0.0", "lessThan": "13.0.6490.1", "versionType": "custom", "status": "affected" } ] }, { "vendor": "Microsoft", "product": "Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack", "platforms": [ "x64-based Systems" ], "versions": [ { "version": "13.0.0", "lessThan": "13.0.7085.1", "versionType": "custom", "status": "affected" } ] }, { "vendor": "Microsoft", "product": "Microsoft SQL Server 2017 (CU 31)", "platforms": [ "x64-based Systems" ], "versions": [ { "version": "14.0.0", "lessThan": "14.0.3530.2", "versionType": "custom", "status": "affected" } ] }, { "vendor": "Microsoft", "product": "Microsoft SQL Server 2017 (GDR)", "platforms": [ "x64-based Systems" ], "versions": [ { "version": "14.0.0", "lessThan": "14.0.2110.2", "versionType": "custom", "status": "affected" } ] }, { "vendor": "Microsoft", "product": "Microsoft SQL Server 2019 (CU 32)", "platforms": [ "x64-based Systems" ], "versions": [ { "version": "15.0.0.0", "lessThan": "15.0.4470.1", "versionType": "custom", "status": "affected" } ] }, { "vendor": "Microsoft", "product": "Microsoft SQL Server 2019 (GDR)", "platforms": [ "x64-based Systems" ], "versions": [ { "version": "15.0.0", "lessThan": "15.0.2170.1", "versionType": "custom", "status": "affected" } ] }, { "vendor": "Microsoft", "product": "Microsoft SQL Server 2022 (GDR)", "platforms": [ "x64-based Systems" ], "versions": [ { "version": "16.0.0", "lessThan": "16.0.1180.1", "versionType": "custom", "status": "affected" } ] }, { "vendor": "Microsoft", "product": "Microsoft SQL Server 2022 for x64-based Systems (CU 24)", "platforms": [ "x64-based Systems" ], "versions": [ { "version": "16.0.0.0", "lessThan": "16.0.4252.3", "versionType": "custom", "status": "affected" } ] }, { "vendor": "Microsoft", "product": "Microsoft SQL Server 2025 (CU 4)", "versions": [ { "version": "17.0.4040.1", "lessThan": "17.0.4040.1", "versionType": "custom", "status": "affected" } ] }, { "vendor": "Microsoft", "product": "Microsoft SQL Server 2025 for x64-based Systems (GDR)", "platforms": [ "x64-based Systems" ], "versions": [ { "version": "17.0.1050.2", "lessThan": "17.0.1115.1", "versionType": "custom", "status": "affected" } ] } ], "descriptions": [ { "value": "External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.", "lang": "en-US" } ], "problemTypes": [ { "descriptions": [ { "description": "CWE-73: External Control of File Name or Path", "lang": "en-US", "type": "CWE", "cweId": "CWE-73" } ] } ], "providerMetadata": { "orgId": "f38d906d-7342-40ea-92c1-6c4a2c6478c8", "shortName": "microsoft", "dateUpdated": "2026-05-13T17:59:16.963Z" }, "references": [ { "name": "SQL Server Remote Code Execution Vulnerability", "tags": [ "vendor-advisory", "patch" ], "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40370" } ], "metrics": [ { "format": "CVSS", "scenarios": [ { "lang": "en-US", "value": "GENERAL" } ], "cvssV3_1": { "version": "3.1", "baseSeverity": "HIGH", "baseScore": 8.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C" } } ] }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-05-13T03:57:25.195979Z", "id": "CVE-2026-40370", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-05-13T10:04:10.932Z" } } ] } }