Home / duke-git / lancet / CVE-2022-41920
CVE-2022-41920: is it exploited, and which versions of duke-git lancet are affected and fixed?
CVE-2022-41920 is a path traversal (reading or writing files outside the intended folder) vulnerability in duke-git lancet. 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: github.com/duke-git/lancet/v2 from 2.0.0 before 2.1.10 and github.com/duke-git/lancet before 1.3.4 (GitHub advisory GHSA-pp3f-xrw5-q5j4). Fixed in 2.1.10 and 1.3.4 (GitHub advisory GHSA-pp3f-xrw5-q5j4). Severity: Medium (6.3, CVSS 3.1, from GitHub_M).
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:43 UTC.
What is CVE-2022-41920?
Zip slip in Lancet
Lancet is a general utility library for the go programming language. Affected versions are subject to a ZipSlip issue when using the fileutil package to unzip files. This issue has been addressed and a fix will be included in versions 2.1.10 and 1.3.4. Users are advised to upgrade. There are no known workarounds for this issue.
From the CVE record by GitHub_M, last updated April 22, 2025, 16:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| duke-git | lancet | < 1.3.4 >= 2.0.0, < 2.1.10 |
As the CVE record by GitHub_M states it, last updated April 22, 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 |
|---|---|---|---|---|
| Go | github.com/duke-git/lancet/v2 | >= 2.0.0, < 2.1.10 | 2.1.10 | GHSA-pp3f-xrw5-q5j4 |
| Go | github.com/duke-git/lancet | < 1.3.4 | 1.3.4 | GHSA-pp3f-xrw5-q5j4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 29, 2023. Summary: Lancet vulnerable to path traversal when unzipping files.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| lancet project | lancet | before 1.3.4 | application |
| lancet project | lancet | from 2.0.0 before 2.1.10 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:04 UTC.
How severe is CVE-2022-41920?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | 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-41920 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 22, 2025)
- EPSS
- 1.04% probability of exploitation activity in the next 30 days, percentile 65.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://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4
- https://github.com/duke-git/lancet/issues/62
- https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572
- https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9
When was it published, and where is the official record?
- Reserved
- September 30, 2022
- Published
- November 17, 2022, 00:00 UTC
- CVE record updated
- April 22, 2025, 16:07 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:04 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect lancet?
- Oct 13, 2026CVE-2026-110240 duke-git lancet: server-side request forgery (SSRF)
Questions about CVE-2022-41920
Is CVE-2022-41920 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.04% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of duke-git lancet are affected by CVE-2022-41920?
github.com/duke-git/lancet/v2 from 2.0.0 before 2.1.10 and github.com/duke-git/lancet before 1.3.4, per the GitHub advisory GHSA-pp3f-xrw5-q5j4. The tables above give every range the sources list.
Which version fixes CVE-2022-41920?
2.1.10 and 1.3.4, per the GitHub advisory GHSA-pp3f-xrw5-q5j4. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-41920?
Medium (6.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2022-41920?
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.