# CVE-2023-52138: Path traversal via crafted cpio archives in Engrampa archivers

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.01% (percentile 82, 2026-11-26)
- **CWE:** CWE-25
- **Published:** 2024-02-05T14:51:09.967Z
- **Modified:** 2026-06-17T06:42:09.690Z

## Who should check

- Anyone running mate-desktop engrampa \< commit 63d5dfa

## 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.

## Affected and fixed versions

- mate-desktop engrampa: \< commit 63d5dfa (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52138. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52138.md
Affected: mate-desktop engrampa < commit 63d5dfa
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for mate-desktop engrampa: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52138 being exploited?

There is no confirmed exploitation: CVE-2023-52138 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.01% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52138?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2023-52138?

mate-desktop engrampa \< commit 63d5dfa.

### Is there a fix for CVE-2023-52138?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-52138?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/mate-desktop/engrampa/security/advisories/GHSA-c98h-v39w-3r7v>
- patch: <https://github.com/mate-desktop/engrampa/commit/63d5dfa9005c6b16d0f0ccd888cc859fca78f970>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4IOJ3QWXTZGCXFEHP72ELY22PZ4AX2CB/>
- other: <https://lists.debian.org/debian-lts-announce/2024/02/msg00011.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52138>

HTML: <https://flawdb.com/CVE-2023-52138> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52138>
