CVE-2021-3148: An issue was discovered in SaltStack Salt before 3002.5.

CVE-2021-3148 affects 131 listed versions of Salt Project Salt in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
8%EPSS (next 30 days)
27 February 2021published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Salt Project Salt

131 of 229 listed versions are affected. Fixed in 3002.5, 3001.4, 3000.6, 2019.2.8, 2019.2.5, 2017.7.8, 2016.11.10, 2016.11.5. The newest release, 3008.5, is not affected.

3002.4 3002.3 3002.2 3002.1 3002 3001.3 3001.2 3001.1 3001 3000.5 3000.4 3000.3 3000.2 3000.1 3000 2019.2.7 2019.2.6 2019.2.4 2019.2.3 2019.2.2.3 2019.2.2.2 2019.2.2 2019.2.1 2019.2.0 2019.2 2018.3.5 2018.3.4 2018.3.3 2018.3.2 2018.3.1 2018.3.0 2018.3 2018.2 2017.7.7 2017.7.6 2017.7.5 2017.7.4 2017.7.3 2017.7.2 2017.7.1 2017.7.0 2017.7.0-rc1 2017.7 2017.5 2016.11.9 2016.11.8 2016.11.7 2016.11.4 2016.11.2 2016.11.1 2016.11.1-rc2 2016.11.1-rc1 2016.11.0 2016.11.0-rc2 2016.11.0-rc1 2016.9 2016.3.7 2016.3.5 2016.3.3 2016.3.2 and 71 more

What it is

An issue was discovered in SaltStack Salt before 3002.5. Sending crafted web requests to the Salt API can result in salt.utils.thin.gen_thin() command injection because of different handling of single versus double quotes. This is related to salt/utils/thin.py.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 27 February 2021. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2021-3148 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.