# CVE-2020-35459: ClusterLabs crmsh vulnerable to shell code injection

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/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): 0.69%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-12T14:32:23.000Z
- Modified: 2026-07-07T11:56:09.898Z
- Also known as: GHSA-99xx-83jm-h24m, PYSEC-2026-799
- Weaknesses: CWE-78, CWE-269
- Assigned by: mitre

## Description

An issue was discovered in ClusterLabs crmsh through 4.2.1. Local attackers able to call "crm history" (when "crm" is run) were able to execute commands via shell code injection to the crm history commandline, potentially allowing escalation of privileges.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- crmsh (PyPI): up to 4.2.1
- clusterlabs crmsh: up to 4.2.1
- debian debian_linux: 9.0

## Every score

- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.openwall.com/lists/oss-security/2021/01/12/3> (exploit, mailing-list, third-party-advisory, web)
- <https://bugzilla.suse.com/show_bug.cgi?id=1179999> (issue-tracking, third-party-advisory, web)
- <https://github.com/ClusterLabs/crmsh/releases> (release-notes, third-party-advisory, web)
- <https://github.com/ClusterLabs/crmsh/blob/a403aa15f3ea575adfe5e43bf2a31c9f9094fcda/crmsh/history.py#L476> (patch, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/01/12/3> (mailing-list, patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/01/msg00021.html> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35459> (advisory)
- <https://github.com/ClusterLabs/crmsh> (package)
- <https://pypi.org/project/crmsh> (package)
- <https://github.com/advisories/GHSA-99xx-83jm-h24m> (advisory)

## Sources

- CVE List: [CVE-2020-35459](https://www.cve.org/CVERecord?id=CVE-2020-35459), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-99xx-83jm-h24m](https://github.com/advisories/GHSA-99xx-83jm-h24m), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2020-35459](https://nvd.nist.gov/vuln/detail/CVE-2020-35459), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-799](https://osv.dev/vulnerability/PYSEC-2026-799), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2020-35459 · Whole record: https://cve.day/CVE-2020-35459.json · Rebuilt by cve.day 2026-11-25T22:57:56.982Z
