# CVE-2022-30123: Possible shell escape sequence injection vulnerability in Rack

- Severity: Critical 10.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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): 1.96%, higher than 80% of CVEs (2026-12-01)
- Published: 2022-05-27T16:36:51.000Z
- Modified: 2026-06-17T04:43:04.987Z
- Also known as: GHSA-wq4h-7r42-5hrr
- Weaknesses: CWE-150
- Assigned by: hackerone

## Description

A sequence injection vulnerability exists in Rack <2.0.9.1, <2.1.4.1 and <2.2.3.1 which could allow is a possible shell escape in the Lint and CommonLogger components of Rack.

(As written by CVE List.)

## Affected

- https://github.com/rack/rack: 2.0.9.1, 2.1.4.1, 2.2.3.1
- rack (RubyGems): before 2.0.9.1; from 2.1 before 2.1.4.1; from 2.2 before 2.2.3.1
- rack_project rack: before 2.0.9.1; from 2.1.0 before 2.1.4.1; from 2.2.0 before 2.2.3.1
- debian debian_linux: 11.0

## Every score

- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://discuss.rubyonrails.org/t/cve-2022-30123-possible-shell-escape-sequence-injection-vulnerability-in-rack/80728> (third-party-advisory, web)
- <https://www.debian.org/security/2023/dsa-5530> (third-party-advisory, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202310-18> (third-party-advisory, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20231208-0011/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-30123> (advisory)
- <https://github.com/rack/rack/commit/b426cc224908ec6ed6eb8729325392b048215d88> (web)
- <https://github.com/rack/rack> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2022-30123.yml> (web)
- <https://groups.google.com/g/ruby-security-ann/c/LWB10kWzag8> (web)
- <https://security.netapp.com/advisory/ntap-20231208-0011> (web)

## Sources

- CVE List: [CVE-2022-30123](https://www.cve.org/CVERecord?id=CVE-2022-30123), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-wq4h-7r42-5hrr](https://github.com/advisories/GHSA-wq4h-7r42-5hrr), CC-BY-4.0, modified 2024-02-18
- NVD: [CVE-2022-30123](https://nvd.nist.gov/vuln/detail/CVE-2022-30123), Public domain, modified 2026-06-17

---

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