CVE-2026-63478 isomorphic-git: Path traversal via a ".." tree-entry name writes files outside the working directory on clone/checkout
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
isomorphic-git
isomorphic-git
영향 받는 버전
- 1.38.6 미만
해결 버전
- 1.38.6 이상
참고 자료 4건
- github.com https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b (새 창)
- github.com https://github.com/isomorphic-git/isomorphic-git/pull/2370 (새 창)
- github.com https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6 (새 창)
- github.com https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-cw2g-2vwq-88w6 (새 창)