Vulnerability Description
isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's tree parser in src/models/GitTree.js accepts a standalone .. tree-entry name because it rejects only path separators. During clone or checkout from a malicious or man-in-the-middle-controlled non-GitHub remote, nested .. entries can escape the working-tree root and write files at attacker-selected parent paths on any host-backed fs provider. The arbitrary file write can overwrite startup or configuration files and lead to code execution. GitHub-hosted trees are not a direct source because GitHub rejects .. entries during repository integrity checks. This issue is fixed in version 1.38.6.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907
- https://github.com/isomorphic-git/isomorphic-git/pull/2370
- https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6
- https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-cw2g-2
- https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-cw2g-2
FAQ
What is CVE-2026-63478?
CVE-2026-63478 is a vulnerability with a CVSS score of 5.3 (MEDIUM). isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's tree parser in src/models/GitTree.js accepts a standalone .. tree-entry name becau...
How severe is CVE-2026-63478?
CVE-2026-63478 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-63478?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.