Home / serve-lite / serve-lite / CVE-2022-21192
CVE-2022-21192: is it exploited, and which versions of serve-lite are affected and fixed?
CVE-2022-21192 is a path traversal (reading or writing files outside the intended folder) vulnerability in serve-lite. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: serve-lite through 1.1.0 (GitHub advisory GHSA-5qq4-m6c3-xxmf). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.1, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:42 UTC.
What is CVE-2022-21192?
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().
From the CVE record by snyk, last updated April 1, 2025, 14:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| serve-lite | all versions |
As the CVE record by snyk states it, last updated April 1, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | serve-lite | <= 1.1.0 | none listed | GHSA-5qq4-m6c3-xxmf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 1, 2025. Summary: Directory Traversal vulnerability in serve-lite.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| serve-lite project | serve-lite | all versions | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:25 UTC.
How severe is CVE-2022-21192?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | snyk |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-21192 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, April 1, 2025)
- EPSS
- 1.43% probability of exploitation activity in the next 30 days, percentile 74.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149916
- https://gist.github.com/lirantal/9ccdfda0edcb95e36d07a04b0b6c2db0
Who found and reported it?
- Liran Tal (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 24, 2022
- Published
- January 25, 2023, 05:00 UTC
- CVE record updated
- April 1, 2025, 14:54 UTC by snyk
- NVD
- Modified, last modified June 17, 2026, 04:25 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:42 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect serve-lite?
- Jan 25, 2023CVE-2022-25847 serve-lite: cross-site scripting (XSS)
Questions about CVE-2022-21192
Is CVE-2022-21192 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 1.43% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of serve-lite are affected by CVE-2022-21192?
serve-lite through 1.1.0, per the GitHub advisory GHSA-5qq4-m6c3-xxmf. The tables above give every range the sources list.
Which version fixes CVE-2022-21192?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2022-21192?
High (7.5, CVSS 3.1, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2022-21192?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.