# CVE-2022-31249: [RANCHER] OS command injection in Rancher and Fleet

- Severity: High 7.5 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:N/AC:H/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): 3.86%, higher than 90% of CVEs (2026-12-01)
- Published: 2023-01-25T19:40:43.000Z
- Modified: 2026-06-17T04:45:13.037Z
- Also known as: GHSA-qrg7-hfx7-95c5, GO-2023-1519
- Weaknesses: CWE-77, CWE-78, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: suse

## Description

A Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in wrangler of SUSE Rancher allows remote attackers to inject commands in the underlying host via crafted commands passed to Wrangler. This issue affects: SUSE Rancher wrangler version 0.7.3 and prior versions; wrangler version 0.8.4 and prior versions; wrangler version 1.0.0 and prior versions.

(As written by CVE List.)

## Affected

- SUSE Rancher: from wrangler up to 0.7.3
- github.com/rancher/wrangler (Go): before 0.7.4-security1; from 0.8.0 before 0.8.5-security1; from 1.0.0 before 1.0.1; from 0.8.6 before 0.8.11
- suse wrangler: before 0.7.4; from 0.8.0 before 0.8.5; 1.0.0

## Every score

- suse: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1200299> (issue-tracking, web)
- <https://github.com/rancher/wrangler/security/advisories/GHSA-qrg7-hfx7-95c5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31249> (advisory)
- <https://github.com/rancher/wrangler/commit/12397eec50155cb2d24aa70bdf9e90c5f3b9a727> (web)
- <https://github.com/rancher/wrangler/commit/341018c8fef3e12867c7cb2649bd2cecac75f287> (web)
- <https://github.com/rancher/wrangler/commit/5a387e13e8d51e3340d9e5012a1951f0cca5fc90> (web)
- <https://github.com/rancher/wrangler/commit/8649ecc062204f28764fd80157a621cbae89c9cf> (web)
- <https://github.com/advisories/GHSA-qrg7-hfx7-95c5> (advisory)
- <https://github.com/rancher/wrangler> (package)
- <https://github.com/rancher/wrangler/compare/v0.7.2...v0.7.4-security1> (web)
- <https://github.com/rancher/wrangler/compare/v0.8.4...v0.8.5-security1> (web)
- <https://pkg.go.dev/vuln/GO-2023-1519> (web)

## Sources

- CVE List: [CVE-2022-31249](https://www.cve.org/CVERecord?id=CVE-2022-31249), CVE Terms of Use, modified 2025-03-25
- GitHub Advisory Database: [GHSA-qrg7-hfx7-95c5](https://github.com/advisories/GHSA-qrg7-hfx7-95c5), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2023-1519](https://pkg.go.dev/vuln/GO-2023-1519), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-31249](https://nvd.nist.gov/vuln/detail/CVE-2022-31249), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31249 · Whole record: https://cve.day/CVE-2022-31249.json · Rebuilt by cve.day 2026-11-25T22:58:18.526Z
