# CVE-2021-31215: SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSl…

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.90%, higher than 87% of CVEs (2026-12-01)
- Published: 2021-05-13T05:51:41.000Z
- Modified: 2026-06-17T03:51:27.820Z
- Assigned by: mitre

## Description

SchedMD Slurm before 20.02.7 and 20.03.x through 20.11.x before 20.11.7 allows remote code execution as SlurmUser because use of a PrologSlurmctld or EpilogSlurmctld script leads to environment mishandling.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- schedmd slurm: before 20.02.7; from 20.11 before 20.11.7
- fedoraproject fedora: 33; 34
- debian debian_linux: 9.0

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://www.schedmd.com/news.php?id=248#OPT_248> (release-notes, vendor-advisory)
- <https://lists.schedmd.com/pipermail/slurm-announce/2021/000055.html> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ODMJQNY4FAV7G3DSKVIO5KY7Q7DKBPU/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PRHTASFAU5FNB2MJOG67YID2ONQS5MCQ/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00011.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-31215](https://www.cve.org/CVERecord?id=CVE-2021-31215), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31215](https://nvd.nist.gov/vuln/detail/CVE-2021-31215), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31215 · Whole record: https://cve.day/CVE-2021-31215.json · Rebuilt by cve.day 2026-11-25T22:58:01.321Z
