# CVE-2022-21192: Directory Traversal vulnerability in serve-lite

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- 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.43%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-01-25T05:00:02.240Z
- Modified: 2026-06-17T04:25:42.947Z
- Also known as: GHSA-5qq4-m6c3-xxmf
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

All versions of the package serve-lite are vulnerable to Directory Traversal due to missing input sanitization or other checks and protections employed to the req.url passed as-is to path.join().

(As written by CVE List.)

## Affected

- serve-lite: before *
- serve-lite (npm): up to 1.1.0
- serve-lite_project serve-lite: no versions given

## Every score

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

## References

- <https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149916> (exploit, third-party-advisory, web)
- <https://gist.github.com/lirantal/9ccdfda0edcb95e36d07a04b0b6c2db0> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21192> (advisory)
- <https://github.com/beenotung/serve-lite> (package)

## Sources

- CVE List: [CVE-2022-21192](https://www.cve.org/CVERecord?id=CVE-2022-21192), CVE Terms of Use, modified 2025-04-01
- GitHub Advisory Database: [GHSA-5qq4-m6c3-xxmf](https://github.com/advisories/GHSA-5qq4-m6c3-xxmf), CC-BY-4.0, modified 2025-04-01
- NVD: [CVE-2022-21192](https://nvd.nist.gov/vuln/detail/CVE-2022-21192), Public domain, modified 2026-06-17

---

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