CVEBrief

Home / Saltstack / Salt / CVE-2021-25283

CVE-2021-25283: is it exploited, and which versions of Saltstack Salt are affected and fixed?

CVE-2021-25283 is a code injection (remote code execution) vulnerability in Saltstack Salt. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: salt before 2015.8.13, salt from 2016.3.0 before 2016.11.5, salt from 2016.11.7 before 2016.11.10 and 6 more (GitHub advisory GHSA-xgmh-gfxw-2hvv). Fixed in 2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8 and 2 more (GitHub advisory GHSA-xgmh-gfxw-2hvv). Severity: Critical (9.8, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:03 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
salt before 2015.8.13, salt from 2016.3.0 before 2016.11.5, salt from 2016.11.7 before 2016.11.10 and 6 more
GitHub advisory GHSA-xgmh-gfxw-2hvv
Fixed in
2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8 and 2 more
GitHub advisory GHSA-xgmh-gfxw-2hvv
Severity
Critical 9.8
CVSS 3.1 from NVD
Exploit odds (EPSS)
10.5% in 30 days
higher than 96% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-25283?

An issue was discovered in through SaltStack Salt before 3002.5. The jinja renderer does not protect against server side template injection attacks.

From the CVE record by mitre, last updated August 3, 2024, 19:56 UTC.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIsalt< 2015.8.132015.8.13GHSA-xgmh-gfxw-2hvv
PyPIsalt>= 2016.3.0, < 2016.11.52016.11.5GHSA-xgmh-gfxw-2hvv
PyPIsalt>= 2016.11.7, < 2016.11.102016.11.10GHSA-xgmh-gfxw-2hvv
PyPIsalt>= 2017.5.0, < 2017.7.82017.7.8GHSA-xgmh-gfxw-2hvv
PyPIsalt>= 2018.2.0, <= 2018.3.5none listedGHSA-xgmh-gfxw-2hvv
PyPIsalt>= 2019.2.0, < 2019.2.82019.2.8GHSA-xgmh-gfxw-2hvv
PyPIsalt>= 3000, < 3000.73000.7GHSA-xgmh-gfxw-2hvv
PyPIsalt>= 3001, < 3001.53001.5GHSA-xgmh-gfxw-2hvv
PyPIsalt>= 3002, < 3002.53002.5GHSA-xgmh-gfxw-2hvv

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 23, 2024. Summary: SaltStack Salt Server Side Template Injection.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
saltstacksaltbefore 2015.8.10application
saltstacksaltfrom 2015.8.11 before 2015.8.13application
saltstacksaltfrom 2016.3.0 before 2016.3.4application
saltstacksaltfrom 2016.3.5 before 2016.3.6application
saltstacksaltfrom 2016.3.7 before 2016.3.8application
saltstacksaltfrom 2016.3.9 before 2016.11.3application
saltstacksaltfrom 2016.11.4 before 2016.11.5application
saltstacksaltfrom 2016.11.7 before 2016.11.10application
saltstacksaltfrom 2017.5.0 before 2017.7.8application
saltstacksaltfrom 2018.2.0 through 2018.3.5application
saltstacksaltfrom 2019.2.0 before 2019.2.5application
saltstacksaltfrom 2019.2.6 before 2019.2.8application
saltstacksaltfrom 3000 before 3000.6application
saltstacksaltfrom 3001 before 3001.4application
saltstacksaltfrom 3002 before 3002.5application
fedoraprojectfedora32operating system
fedoraprojectfedora33operating system
fedoraprojectfedora34operating system
debiandebian linux9.0operating system
debiandebian linux10.0operating system
debiandebian linux11.0operating system

NVD analysis (status Modified), last modified June 17, 2026, 03:41 UTC.

How severe is CVE-2021-25283?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-25283 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
10.5% probability of exploitation activity in the next 30 days, percentile 95.9 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
January 16, 2021
Published
February 27, 2021, 00:00 UTC
CVE record updated
August 3, 2024, 19:56 UTC by mitre
NVD
Modified, last modified June 17, 2026, 03:41 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:03 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Salt?

Every CVE in Salt

Questions about CVE-2021-25283

Is CVE-2021-25283 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 10.5% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Saltstack Salt are affected by CVE-2021-25283?

salt before 2015.8.13, salt from 2016.3.0 before 2016.11.5, salt from 2016.11.7 before 2016.11.10, salt from 2017.5.0 before 2017.7.8, salt through 2018.3.5, salt from 2019.2.0 before 2019.2.8 and 3 more, per the GitHub advisory GHSA-xgmh-gfxw-2hvv. The tables above give every range the sources list.

Which version fixes CVE-2021-25283?

2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.8 and 3000.7, per the GitHub advisory GHSA-xgmh-gfxw-2hvv. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-25283?

Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2021-25283?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.