{"id":"CVE-2026-40370","aliases":["CVE-2026-40370"],"related":[],"kind":"vulnerability","state":"published","title":"SQL Server Remote Code Execution Vulnerability","summary":"External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.","summarySource":"cvelist","descriptions":[{"lang":"en-US","text":"External control of file name or path in SQL Server allows an authorized attacker to execute code over a network.","source":"cvelist"},{"lang":"es","text":"Control externo del nombre o la ruta del archivo en SQL Server permite a un atacante autorizado ejecutar código a través de una red.","source":"nvd"}],"published":"2026-05-12T16:59:21.097Z","modified":"2026-11-30T17:32:28.480Z","severity":{"scorer":"microsoft","scheme":"CVSS:3.1","vector":"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","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"microsoft","scheme":"CVSS:3.1","vector":"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","score":8.8,"rating":"HIGH"}],"cwes":["CWE-73","CWE-610"],"affected":[{"ranges":[{"type":"custom","introduced":"13.0.0","fixed":"13.0.6490.1","status":"affected"}],"vendor":"Microsoft","product":"Microsoft SQL Server 2016 Service Pack 3 (GDR)","platforms":["x64-based Systems"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"13.0.0","fixed":"13.0.7085.1","status":"affected"}],"vendor":"Microsoft","product":"Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack","platforms":["x64-based Systems"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"14.0.0","fixed":"14.0.3530.2","status":"affected"}],"vendor":"Microsoft","product":"Microsoft SQL Server 2017 (CU 31)","platforms":["x64-based Systems"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"14.0.0","fixed":"14.0.2110.2","status":"affected"}],"vendor":"Microsoft","product":"Microsoft SQL Server 2017 (GDR)","platforms":["x64-based Systems"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"15.0.0.0","fixed":"15.0.4470.1","status":"affected"}],"vendor":"Microsoft","product":"Microsoft SQL Server 2019 (CU 32)","platforms":["x64-based Systems"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"15.0.0","fixed":"15.0.2170.1","status":"affected"}],"vendor":"Microsoft","product":"Microsoft SQL Server 2019 (GDR)","platforms":["x64-based Systems"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"16.0.0","fixed":"16.0.1180.1","status":"affected"}],"vendor":"Microsoft","product":"Microsoft SQL Server 2022 (GDR)","platforms":["x64-based Systems"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"16.0.0.0","fixed":"16.0.4252.3","status":"affected"}],"vendor":"Microsoft","product":"Microsoft SQL Server 2022 for x64-based Systems (CU 24)","platforms":["x64-based Systems"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"17.0.4040.1","fixed":"17.0.4040.1","status":"affected"}],"vendor":"Microsoft","product":"Microsoft SQL Server 2025 (CU 4)","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"17.0.1050.2","fixed":"17.0.1115.1","status":"affected"}],"vendor":"Microsoft","product":"Microsoft SQL Server 2025 for x64-based Systems (GDR)","platforms":["x64-based Systems"],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"13.0.6300.2","fixed":"13.0.6490.1"},{"status":"affected","introduced":"13.0.7000.253","fixed":"13.0.7085.1"}],"vendor":"microsoft","product":"sql_server_2016","cpe":"cpe:2.3:a:microsoft:sql_server_2016:*:*:*:*:*:*:x64:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"14.0.1000.169","fixed":"14.0.2110.2"},{"status":"affected","introduced":"14.0.3006.16","fixed":"14.0.3530.2"}],"vendor":"microsoft","product":"sql_server_2017","cpe":"cpe:2.3:a:microsoft:sql_server_2017:*:*:*:*:*:*:x64:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"15.0.2000.5","fixed":"15.0.2170.1"},{"status":"affected","introduced":"15.0.4003.23","fixed":"15.0.4470.1"}],"vendor":"microsoft","product":"sql_server_2019","cpe":"cpe:2.3:a:microsoft:sql_server_2019:*:*:*:*:*:*:x64:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"16.0.1000.6","fixed":"16.0.1180.1"},{"status":"affected","introduced":"16.0.4003.1","fixed":"16.0.4252.3"}],"vendor":"microsoft","product":"sql_server_2022","cpe":"cpe:2.3:a:microsoft:sql_server_2022:*:*:*:*:*:*:x64:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"17.0.1000.7","fixed":"17.0.1115.1"},{"status":"affected","introduced":"17.0.4006.2","fixed":"17.0.4040.1"}],"vendor":"microsoft","product":"sql_server_2025","cpe":"cpe:2.3:a:microsoft:sql_server_2025:*:*:*:*:*:*:x64:*","source":"nvd"}],"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40370","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"microsoft","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-13T03:57:25.195Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40370","url":"https://www.cve.org/CVERecord?id=CVE-2026-40370","licence":"CVE Terms of Use","modified":"2026-11-30T17:32:28.480Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40370","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40370","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"}],"updatedAt":"2026-11-30T17:42:31.173Z","epss":{"score":0.0101,"percentile":0.62226,"date":"2026-11-30T12:00:22.000Z"}}