# CVE-2022-35410: mat2 before 0.13.0 allows directory traversal during the ZIP archive cleaning process.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `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): 2.31%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-07-08T17:35:23.000Z
- Modified: 2026-06-17T04:51:47.320Z
- Also known as: GHSA-f33p-9287-h552, PYSEC-2022-223
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

mat2 (aka metadata anonymisation toolkit) before 0.13.0 allows ../ directory traversal during the ZIP archive cleaning process. This primarily affects mat2 web instances, in which clients could obtain sensitive information via a crafted archive.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mat2 (PyPI): before 0.13.0
- 0xacab mat2: before 0.13.0
- debian debian_linux: 10.0; 11.0

## Every score

- 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`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA: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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://0xacab.org/jvoisin/mat2/-/issues/174> (exploit, issue-tracking, vendor-advisory, web)
- <https://0xacab.org/jvoisin/mat2/-/commit/beebca4bf1cd3b935824c966ce077e7bcf610385> (exploit, patch, vendor-advisory, web)
- <https://dustri.org/b/mat2-0130.html> (patch, third-party-advisory, web)
- <https://www.debian.org/security/2022/dsa-5185> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-35410> (advisory)
- <https://0xacab.org/jvoisin/mat2> (package)
- <https://github.com/advisories/GHSA-f33p-9287-h552> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mat2/PYSEC-2022-223.yaml> (web)

## Sources

- CVE List: [CVE-2022-35410](https://www.cve.org/CVERecord?id=CVE-2022-35410), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-f33p-9287-h552](https://github.com/advisories/GHSA-f33p-9287-h552), CC-BY-4.0, modified 2024-09-30
- NVD: [CVE-2022-35410](https://nvd.nist.gov/vuln/detail/CVE-2022-35410), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-223](https://osv.dev/vulnerability/PYSEC-2022-223), CC-BY-4.0, modified 2023-11-08

---

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