CVE-2026-136923: asar-py before 0.1.4 Path Traversal via AsarArchive.extract()
asar-py before 0.1.4 contains a path traversal vulnerability in AsarArchive.extract() and extractarchive() that allows attackers to write files outside the destination directory via crafted archive headers. Attackers can supply a .asar archive with '..' path components or malicious symlink targets to write files such as usercustomize.py, leading to code execution.
Affected Software
Event History
Frequently Asked Questions
What attacker access is required for exploitation?
The attack has a local attack vector and requires user interaction, such as causing a user or application to extract a crafted .asar archive. The attacker does not need prior privileges.
What is the security impact if extraction succeeds?
A crafted archive can write files outside the intended destination directory using traversal components or malicious symlink targets. This can enable code execution by placing files such as usercustomize.py.
Which version contains the fix?
The issue is fixed in asar-py 0.1.4. Versions before 0.1.4 are affected.