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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| black-06 | asar-py | < 0.1.4 |
References
- https://github.com/black-06/asar-py/blob/v0.1.3/asar/asar.py#L181-L230
- https://github.com/black-06/asar-py/commit/d978a7e8fc882bbb781f13218f754f43ff634de0
- https://github.com/black-06/asar-py/issues/4
- https://github.com/black-06/asar-py/releases/tag/v0.1.4
- https://www.vulncheck.com/advisories/asar-py-before-0.1.4-path-traversal-via-asararchive-extract
- https://github.com/black-06/asar-py/issues/4
Timeline
- Published
- Nov 25, 2026
- Last modified
- Dec 1, 2026
- NVD status
- Received