CVE-2023-52138: mate-desktop engrampa Path Traversal: '/../filedir'
Vulnerability summary
CVE-2023-52138 is a critical (CVSS 9.6) Path Traversal: '/../filedir' vulnerability in mate-desktop engrampa. EPSS estimates a 1.67% chance of exploitation in the next 30 days, higher than 76.5% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 05-02-2024PublishedVulnerability first disclosed.
- 17-06-2025Last modifiedVulnerability information updated.
Description
Engrampa is an archive manager for the MATE environment. Engrampa is found to be vulnerable to a Path Traversal vulnerability that can be leveraged to achieve full Remote Command Execution (RCE) on the target. While handling CPIO archives, the Engrampa Archive manager follows symlink, cpio by default will follow stored symlinks while extracting and the Archiver will not check the symlink location, which leads to arbitrary file writes to unintended locations. When the victim extracts the archive, the attacker can craft a malicious cpio or ISO archive to achieve RCE on the target system. This vulnerability was fixed in commit 63d5dfa.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated9.6CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.6CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS trend
Probability
1.67%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
0.00 pp
From 1.67% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundEngrampa
Maturity: poc
Weaknesses
CWE · root cause- CWE-25Path Traversal: '/../filedir'The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "/../" sequences that can resolve to a location that is outside of that directory.
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-59Improper Link Resolution Before File Access ('Link Following')The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected systems
Debian1 product
- engrampa< 1.24.1-1+deb11u1 | < 1.20.2-1+deb10u1 | < 1.26.0-1+deb12u2 | < 1.26.2-1
Mate-desktop1 product
- engrampa< commit 63d5dfa | < 1.26.2
Ubuntu1 product
- engrampa< 1.12.0-2ubuntu0.1+esm1 | < 1.20.0-1ubuntu0.1~esm1 | < 1.24.0-2ubuntu0.1~esm1 | < 1.26.0-1ubuntu1+esm1
3 vendors · 3 products
References
8 links- github.com/mate-desktop/engrampa/security/advisories/GHSA-c98h-v39w-3r7vX Refsource CONFIRMREPORTExploitVendor Advisory
- github.com/mate-desktop/engrampa/commit/63d5dfa9005c6b16d0f0ccd888cc859fca78f970X Refsource MISCREPORTPatch