Technical impact
isomorphic-git allows a malicious repository to write files outside the intended working directory by exploiting a symlink that leads to a non-existent child file during checkout. The git.checkout operation writes extracted files into paths that contain symlinked directories without validating the target. On systems where Node fs permits symlink resolution, such as Linux or macOS, the operating system will create or overwrite real files on the host, providing a vector for arbitrary code execution. On Windows, symlink creation is typically blocked unless elevated privileges are granted, and browsers or in‑memory providers restrict the effect to a virtual file system unless they implement symlink support.
Affected Systems
The affected product is isomorphic‑git for Node.js and browsers. Versions earlier than 1.38.6 are vulnerable. The weakness is identified as CWE‑22 (Path Traversal) and CWE‑59 (Improper Handling of Symbolic Links).
Risk and Exploitability
The vulnerability has a CVSS score of 8.8, indicating high severity. EPSS is not available, but the lack of a public exploit and absence from CISA KEV suggest the likelihood of exploitation is currently low; however, the attack is feasible for any application that clones or pulls from an attacker‑controlled repository on a Linux or macOS Node environment. An attacker only needs to supply a repository that creates a symlinked directory and later replaces it with a file during a checkout or pull operation. The impact on confidentiality, integrity, and availability is potentially complete compromise of the host system.
Github GHSA