{"id":"EUVD-2026-116274","revision":null,"records":[{"revision":"ded59d23fd9b4c93aab1b5f48f4f03aa","observedAt":"2026-11-03T22:57:17.07+00:00","statement":{"source":"cve-program","id":"CVE-2026-63395","aliases":[],"title":"isomorphic-git: Arbitrary file write outside the working tree via a directory symlink during checkout (potential RCE)","description":"isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's git.checkout writes new child paths through symlinked leading directory components without checking them. A malicious repository can first place a directory symlink and later replace the tree state with a child file beneath that path; the usual trigger is a clone followed by a later pull, while a single clone can trigger the issue when a symlink already exists or the consuming application accesses the tree. With Node fs on Linux or macOS, the operating system can resolve the write outside the working tree, permitting arbitrary host file writes and possible code execution. Node fs on Windows usually blocks the symlink plant without additional privilege, and browser or in-memory providers limit impact to their virtual filesystem and are affected only when they implement symlink creation and following. This issue is fixed in version 1.38.6.","state":0,"publishedAt":"2026-11-03T19:48:11.232+00:00","modifiedAt":"2026-11-03T21:30:11.615+00:00","affected":[{"ecosystem":"Vendor product","name":"isomorphic-git","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"isomorphic-git\",\n                    \"product\": \"isomorphic-git\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.38.6\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-9qw7-j9xw-fv9c","https://github.com/isomorphic-git/isomorphic-git/pull/2370","https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b","https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-63395","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-63395","identifiers":["CVE-2026-63395"]},"retained":false,"historicalAffected":[]},{"revision":"5a47795b461b4dd4b88670d08940dbb0","observedAt":"2026-11-11T21:59:34.385+00:00","statement":{"source":"euvd","id":"EUVD-2026-116274","aliases":["CVE-2026-63395","GHSA-9qw7-j9xw-fv9c"],"title":"isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's git.checkout writes new child paths through symlinked leading directory components without checking them. A malicious repo…","description":"isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's git.checkout writes new child paths through symlinked leading directory components without checking them. A malicious repository can first place a directory symlink and later replace the tree state with a child file beneath that path; the usual trigger is a clone followed by a later pull, while a single clone can trigger the issue when a symlink already exists or the consuming application accesses the tree. With Node fs on Linux or macOS, the operating system can resolve the write outside the working tree, permitting arbitrary host file writes and possible code execution. Node fs on Windows usually blocks the symlink plant without additional privilege, and browser or in-memory providers limit impact to their virtual filesystem and are affected only when they implement symlink creation and following. This issue is fixed in version 1.38.6.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"severity":null}],"references":["https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-9qw7-j9xw-fv9c","https://github.com/isomorphic-git/isomorphic-git/pull/2370","https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b","https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-116274","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 3, 2026, 7:48:11 PM","dateUpdated":"Nov 3, 2026, 9:30:11 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-116274","identifiers":["EUVD-2026-116274","CVE-2026-63395","GHSA-9qw7-j9xw-fv9c"]},"retained":false,"historicalAffected":[]},{"revision":"d5e164e8437343df8fde6b944460da5e","observedAt":"2026-11-09T21:04:29.556+00:00","statement":{"source":"nvd","id":"CVE-2026-63395","aliases":[],"title":"isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's git.checkout writes new child paths through symlinked leading directory components without checking them. A malicious repo…","description":"isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git's git.checkout writes new child paths through symlinked leading directory components without checking them. A malicious repository can first place a directory symlink and later replace the tree state with a child file beneath that path; the usual trigger is a clone followed by a later pull, while a single clone can trigger the issue when a symlink already exists or the consuming application accesses the tree. With Node fs on Linux or macOS, the operating system can resolve the write outside the working tree, permitting arbitrary host file writes and possible code execution. Node fs on Windows usually blocks the symlink plant without additional privilege, and browser or in-memory providers limit impact to their virtual filesystem and are affected only when they implement symlink creation and following. This issue is fixed in version 1.38.6.","state":0,"publishedAt":"2026-11-03T20:18:14.917+00:00","modifiedAt":"2026-11-03T22:19:47.677+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b","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-9qw7-j9xw-fv9c"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-63395","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-22","CWE-59"],"productCriteria":[],"sourceDates":{"published":"2026-11-03T20:18:14.917","lastModified":"2026-11-03T22:19:47.677"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-63395","identifiers":["CVE-2026-63395"]},"retained":false,"historicalAffected":[]},{"revision":"a500ec18fc4c402e82fd50873df6becf","observedAt":"2026-11-09T21:02:27.814+00:00","statement":{"source":"osv","id":"GHSA-9qw7-j9xw-fv9c","aliases":["CVE-2026-63395"],"title":"isomorphic-git: Arbitrary file write outside of working tree via directory symlink during checkout (potential RCE)","description":"### Summary\n`git.checkout` writes working-tree files through a directory **symlink** without checking the leading path, so a malicious repository can write **outside the intended working directory**. The defect is in isomorphic-git's checkout logic itself and is therefore **independent of the `fs` provider**. The *impact* depends on the configured filesystem; worst case is arbitrary file write on the host, e.g. injecting an attacker key into `~/.ssh/authorized_keys` → remote login / code execution.\n\n### Details\nA single git tree can't hold a name as both a symlink and a directory, so the attack uses two states:\n\n```\nCommit N:    config            (mode 120000, symlink → ../.ssh)\nCommit N+1:  config/           (mode 040000, tree)\n               authorized_keys (mode 100644, attacker public key)\n```\n\nChecking out commit N writes `config` as a directory symlink. Checking out commit N+1 sees `config/authorized_keys` as a new path: isomorphic-git `mkdir`s the parent (`config`, already a symlink → `EEXIST`, ignored) then `writeFile`s the file, which the OS resolves through the symlink to outside the working directory. A *file*-level symlink swap is caught (the `120000`→`100644` mode change triggers an `rm`), but the **directory**-level variant is not — the payload is always a new child path, a plain `create`, so the parent symlink is never removed.\n\nThe symlink target is attacker-chosen. Besides `~/.ssh`, pointing it at the repo's own control directory — `hooks → .git/hooks` then `hooks/pre-commit`, or `x → .git` then overwriting `.git/config` (`core.hooksPath` / alias / `core.fsmonitor`) — yields RCE on the next native `git` command **without** depending on `~/.ssh` existing, since `.git/` is always present in a fresh clone.\n\n#### Canonical git behavior (divergence)\ngit refuses to do this: `has_symlink_leading_path()` (symlinks.c) checks each leading path component during checkout and will not follow a symlink — the hardening behind CVE-2021-21300 and CVE-2024-32002. isomorphic-git has no equivalent check.\n\n### PoC\n`https://github.com/spiceoverflow/av1-symlink-hook-rce` — open in a Codespace; it builds the malicious repo, serves it locally, and runs a victim. Output on Linux:\n\n```\n[AV-1] Directory symlink on disk: …/config → ../.ssh  (→ /home/node/.ssh)\n[AV-1] *** SSH KEY INJECTION CONFIRMED ***\n```\n\n**Trigger:** minimal realistic path is `clone` (commit N) + a later `pull` (commit N+1) — ordinary sync of an already-trusted repo. It also collapses to a single `clone` when the consuming app reads or writes into the cloned tree, or when a symlink already exists on disk.\n\n\n### Impact\n\nisomorphic-git is filesystem-agnostic, so exploitability and blast radius depend on the active `fs` provider — specifically whether it creates a symlink and follows it on a later write:\n\n- **Node `fs` on Linux/macOS** (servers, CI, CLIs, Electron/desktop tooling — the common server-side use): real OS symlinks → the write lands anywhere the process can reach → **arbitrary file write on the host → RCE** (the PoC above). Highest impact.\n- **Node `fs` on Windows:** `fs.symlink` typically requires privilege and throws `EPERM`, so the symlink-plant step usually fails — not exploitable by default. (A property of the OS/provider, not of isomorphic-git.)\n- **In-memory / browser providers** (memfs, ZenFS, lightning-fs, custom `fs`): there is no host filesystem to escape to, so the worst case is writing **outside the intended clone directory but within that virtual filesystem** — i.e. corrupting other repos/app data the same provider holds. Bounded by the sandbox, and only if the provider implements symlink creation + following.\n\nThe CVSS above reflects the worst-case (Node `fs` on a POSIX host). Browser/in-memory-only deployments are lower severity (sandboxed integrity impact).\n\n### Suggested fix\nBefore each working-tree write, `lstat` every leading path component and refuse to traverse a\nsymlink (mirrors git's `has_symlink_leading_path()`); optionally honor `core.symlinks=false`.","state":0,"publishedAt":"2026-11-09T19:53:44+00:00","modifiedAt":"2026-11-09T20:00:04.1579503+00:00","affected":[{"ecosystem":"npm","name":"isomorphic-git","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.38.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-9qw7-j9xw-fv9c","https://nvd.nist.gov/vuln/detail/CVE-2026-63395","https://github.com/isomorphic-git/isomorphic-git/pull/2370","https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b","https://github.com/isomorphic-git/isomorphic-git","https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6"],"sourceUrl":"https://github.com/advisories/GHSA-9qw7-j9xw-fv9c","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9qw7-j9xw-fv9c","identifiers":["GHSA-9qw7-j9xw-fv9c","CVE-2026-63395"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-13T11:56:58.4163340+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-13T11:56:58.416334+00:00","lastSuccessAt":"2026-11-13T11:56:58.6714353+00:00","error":null,"lastVerifiedAt":"2026-11-13T11:56:58.6714363+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d8fa82e95fdb59244e2f635e667ba17f0796ca0a4f1f4bb8cc31febcd660b76c-af089e46eea172bd379d8c101150a0dd11352446c5b78da5828b438ec0f552b6","complete":true,"records":425358,"lastAttemptAt":"2026-11-13T11:56:57.9899726+00:00","lastSuccessAt":"2026-11-13T11:56:57.9374903+00:00","error":null,"lastVerifiedAt":"2026-11-13T11:56:57.9899726+00:00","snapshotPublishedAt":"2026-11-13T11:19:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-bfa3a50a0e4b46beb3213253e5c5110d","complete":false,"records":13793,"lastAttemptAt":"2026-11-13T12:06:42.3742019+00:00","lastSuccessAt":"2026-11-13T12:06:42.37+00:00","error":"308 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-13T12:06:42.37+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13170,"expectedIdentifiers":13846,"failedIdentifiers":308},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-13T11:56:58.4163340+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T11:56:58.416334+00:00","lastSuccessAt":"2026-11-13T11:56:58.6723159+00:00","error":null,"lastVerifiedAt":"2026-11-13T11:56:58.6723163+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-6eab7ff5f2444bf596ee0981b3df1b88","complete":true,"records":13793,"lastAttemptAt":"2026-11-13T11:57:06.2675049+00:00","lastSuccessAt":"2026-11-13T11:57:06.264+00:00","error":null,"lastVerifiedAt":"2026-11-13T11:57:06.264+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13846,"expectedIdentifiers":13846,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-93e76d404e1aeb6a7e8902f5ffa06211fc86dea3b1958e297abb2668aa5e6e8c","complete":true,"records":9952,"lastAttemptAt":"2026-11-13T11:56:58.2687392+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-13T11:56:58.2687392+00:00","snapshotPublishedAt":"2026-11-12T23:03:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-13T11:56:58.0614457+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-13T11:56:58.0614457+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-20d1a8ab073a1c13ab2143dbcadb34ebb8edf1e18e16482b448513662c3d1e12","complete":true,"records":3127,"lastAttemptAt":"2026-11-13T11:56:58.3792546+00:00","lastSuccessAt":"2026-11-12T22:18:31.0338213+00:00","error":null,"lastVerifiedAt":"2026-11-13T11:56:58.3792546+00:00","snapshotPublishedAt":"2026-11-12T22:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-24050939c62dd3b6b6239735dfea28a7170f2b40b5de29359847ee068e1ec8ff","complete":true,"records":231770,"lastAttemptAt":"2026-11-13T11:56:58.1651483+00:00","lastSuccessAt":"2026-11-13T08:59:14.8600113+00:00","error":null,"lastVerifiedAt":"2026-11-13T11:56:58.1651483+00:00","snapshotPublishedAt":"2026-11-13T08:32:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}