Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft .asar with '..' or symlink entries
-
DeliveryDeliver archive to target application
-
ExploitVictim calls extract_archive()/extract()
-
ExecutionFile written outside destination directory
-
ImpactCode execution via dropped usercustomize.py
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an application or user to extract an attacker-supplied .asar archive using asar-py before 0.1.4 through AsarArchive.extract() or extract_archive(); the malicious archive must contain header entries with '..' path components or a symlink whose link target resolves outside the destination directory. LIMITING FACTORS: exploitation is local (the attacker must deliver the archive file, AV:L) and needs the victim to initiate extraction (UI:P), so it is not remotely self-propagating; it affects only versions prior to 0.1.4; and turning the arbitrary file write into code execution additionally requires the traversal to land a file such as usercustomize.py in a location the Python interpreter will later load. No authentication is required per PR:N. |
| Impact | Signals are moderately consistent and point to a real but non-emergency issue. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P) correctly reflects a local attack vector requiring a victim to process an attacker-supplied file: asar-py is an extraction library, so the attacker does not reach it over the network but instead supplies a malicious .asar archive that the application decompresses. The vuln.today decision label is 'this_week' (not act_now/emergency), aligning with a high-severity flaw that is gated by user/application interaction rather than mass-remotely exploitable. No EPSS score and no CISA KEV entry are provided, so there is no evidence of widespread or active exploitation; absence of these is not itself a defect but means urgency rests on severity and the low bar to craft an exploit. A public PoC reference exists in the form of the regression test shipped in the fix commit (test_file_write_to_outside_directory), which constructs a traversal archive - it is not independently verified as a weaponized, in-the-wild exploit. The code-execution claim (via usercustomize.py) is plausible and described in the source but is conditional on the traversal reaching a Python-importable location and a subsequent interpreter run; the raw primitive is confirmed arbitrary file write. Net: a legitimate priority for the specific, small population of deployments that extract untrusted .asar archives with this library, rather than a broad-impact emergency. |
| Exploit ScenarioDerived | An attacker crafts a .asar archive whose header contains entries with '..' path components or a symlink whose target escapes the destination directory, and gets a victim application or user to extract it with asar-py < 0.1.4 via AsarArchive.extract() or extract_archive(). The extraction writes attacker-controlled content outside the intended output directory - for example dropping a usercustomize.py into a Python-importable path - which executes the next time the interpreter starts. A public PoC reference exists (the regression test added in the fix commit builds such a traversal archive); it is not verified as a packaged working exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Arbitrary file write outside the extraction directory in asar-py before 0.1.4 lets an attacker who supplies a crafted .asar archive plant files anywhere the extracting process can write, including paths such as usercustomize.py that Python will later load, which can escalate to code execution. The attacker must get the malicious archive to a victim application or user that calls AsarArchive.extract() or extract_archive(); the assessed vector is local with user interaction (AV:L/AC:L/PR:N/UI:R in the CVSS 3.1 assessment, UI:P in the vendor's CVSS 4.0 vector), so it is not remotely self-propagating and no authentication is required per PR:N. No public exploit has been identified at time of analysis and the CVE is not in CISA KEV; the vendor has released a fixed build in v0.1.4.
RemediationAI
Upgrade to asar-py v0.1.4, which is the vendor-released fixed version (release tag https://github.com/black-06/asar-py/releases/tag/v0.1.4, fixing commit https://github.com/black-06/asar-py/commit/d978a7e8fc882bbb781f13218f754f43ff634de0); the patch enforces that resolved write paths and symlink targets stay under the destination directory and rejects '', '.', '..' and slash-containing entry names. If upgrading immediately is not possible, treat every .asar archive as untrusted: do not run extract()/extract_archive() on archives from external or user-supplied sources, and if extraction must continue, pre-parse the header JSON yourself and reject any node whose name is '..', '.', empty, or contains '/' or '\', and any 'link' value whose resolved target escapes the destination - the trade-off is that this duplicates the upstream fix in your own code and any encoding edge case you miss reopens the write primitive. As a further containment measure, perform extraction inside a sandbox or container as a low-privilege user whose writable paths exclude Python import locations such as site-packages, PYTHONSTARTUP directories, or a working directory on sys.path, so that a successful traversal cannot land a file like usercustomize.py that the interpreter would later execute; this adds operational overhead and does not fix the underlying path handling.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
asar is the archive format used by Electron to bundle application resources; asar-py is a pure-Python reader/writer for that format. An .asar file starts with a little-endian size header followed by a JSON directory tree in which each node carries a name, size/offset for files, or a 'link' target for symlinks. In versions before 0.1.4, AsarArchive.extract() and extract_archive() joined header-supplied paths and link targets onto the destination directory without normalizing or re-validating the result, so the root-cause class is CWE-22 (improper limitation of a pathname to a restricted directory). A crafted header containing '..' components, or a symlink entry whose target resolves outside the destination, therefore produced writes at attacker-chosen absolute locations. The upstream fix (commit d978a7e8fc882bbb781f13218f754f43ff634de0, released as v0.1.4) adds resolve()-based containment checks on both the write path and the symlink target and rejects entry names that are empty, '.', '..', or contain '/' or '\' characters. The trigger mechanism, as shown in the accompanying regression test, is simply an archive header whose nested 'files' maps use '..' hops and a 'link' entry; no special timing, memory or race condition is involved.
Know when Asar Py gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attacker supplies a local malicious archive the victim must extract (AV:L, UI:R) with no privileges (PR:N); arbitrary file write escalating to code execution gives C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
CVE-2026-136923 is a high-severity vulnerability in the asar-py library (before version 0.1.4) that enables an attacker to write arbitrary files outside the extraction directory when processing a malicious .asar archive, potentially leading to code execution on affected systems. Any application or user that extracts untrusted .asar files with this library is at risk, and because no authentication is required, a successful exploit could allow an attacker to plant files and compromise the host. Leadership should prioritize remediation to prevent potential data breaches or system compromise.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-135421
GHSA-7m8m-qv34-g8wr
NVD
CVE.org
EPSS
Exploit-DB