asar-py before 0.1.4 Path Traversal via AsarArchive.extract()
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 25, 2026
Description
asar-py before 0.1.4 contains a path traversal vulnerability in AsarArchive.extract() and extract_archive() 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.
| Product | Versions |
|---|---|
| asar-py black-06 | before 0.1.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://github.com/black-06/asar-py/issues/4Issue Tracker
- https://github.com/black-06/asar-py/commit/d978a7e8fc882bbb781f13218f754f43ff634de0Patch
- asar-py v0.1.4 Release NotesRelease Notes
- https://github.com/black-06/asar-py/blob/v0.1.3/asar/asar.py#L181-L230Technical Details
- VulnCheck Advisory: asar-py before 0.1.4 Path Traversal via AsarArchive.extract()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.