CVE-2023-52138
NixOS vulnerability analysis and mitigation

Overview

Engrampa, an archive manager for the MATE environment, was found to be vulnerable to a Path Traversal vulnerability (CVE-2023-52138) that could be leveraged to achieve full Remote Command Execution (RCE). The vulnerability was discovered in versions prior to 1.26.2 and was fixed in commit 63d5dfa (GitHub Commit).

Technical details

The vulnerability exists in the handling of CPIO archives, where the Engrampa Archive manager follows symlinks by default during extraction without properly validating the symlink location. This behavior leads to arbitrary file writes to unintended locations on the system. The vulnerability has been assigned a CVSS v3.1 base score of 9.6 CRITICAL by NIST (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H) and 8.2 HIGH by GitHub (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N) (NVD).

Impact

An attacker can craft malicious CPIO or ISO archives that exploit this vulnerability to write files to sensitive locations such as ~/.ssh, ~/.bashrc, and ~/.config/autostart/, potentially achieving full remote command execution on the target system when the victim extracts the archive (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Engrampa version 1.26.2 by switching from cpio to unar for handling CPIO archives. Users are advised to upgrade to this version or later. Various distributions have also released security updates, including Debian 10 (version 1.20.2-1+deb10u1) and Fedora 39 (version 1.26.2-1.fc39) (Debian Advisory, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68120MEDIUM5.4
  • NixOSNixOS
  • go
NoYesDec 30, 2025
CVE-2025-69413MEDIUM5.3
  • NixOSNixOS
  • code.gitea.io/gitea
NoYesJan 01, 2026
CVE-2025-15412MEDIUM4.8
  • NixOSNixOS
  • wabt
NoNoJan 01, 2026
CVE-2025-15411MEDIUM4.8
  • NixOSNixOS
  • wabt
NoNoJan 01, 2026
CVE-2025-68932LOW2.9
  • NixOSNixOS
  • freshrss
NoYesDec 27, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management