MEDIUM · CVSS 3.1 4.3 EPSS 0.4% · 35th percentile CWE-674CWE-835

CVE-2026-63475: isomorphic-git: Circular symbolic references cause non-terminating resolution (DoS)

Published 2026-11-09 · Updated 2026-11-09 · Also known as GHSA-96wc-2m84-2cj7

Summary

isomorphic-git is vulnerable to a denial-of-service attack due to a lack of cycle detection when resolving circular symbolic references. Developers using this library should update to version 1.38.6 or later to prevent repository bricking from malicious or compromised remote servers.

Who is affected

The vulnerability affects any application that performs git operations using isomorphic-git with untrusted remotes. When a client clones a repository containing circular symrefs, these references are written to disk; subsequent repository operations like logs or checkouts trigger an infinite loop, rendering the repository permanently unusable.

Exploitability

The vulnerability is exploitable remotely with low complexity and does not require special privileges, though it requires user interaction to initiate the clone. With an EPSS score of 0.004, active exploitation is not currently documented by CISA KEV.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
npm isomorphic-git >= 0, < 1.38.6 1.38.6 npm install [email protected]

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityLow

FAQ

Does this vulnerability result in remote code execution?

No. The flaw specifically triggers a non-terminating resolution process, which leads to a persistent denial of service rather than unauthorized code execution.

Is the repository permanently damaged?

The repository becomes effectively unusable for the application because the circular references are written to the local disk, causing any operation that accesses these references to hang indefinitely.

What happens if a repository has already been cloned from a malicious server?

The local repository will likely hang during subsequent operations. Users may need to manually remove the affected local repository directory to restore functionality after patching the library.

Original advisory description
### Summary A malicious server can advertise circular `symref=` capabilities (e.g. `a → b` and `b → a`). isomorphic-git writes them to disk as loose symrefs, and `GitRefManager.resolve()` follows them with no depth limit and no cycle detection, so any later operation that resolves one of them (`log`, `status`, `checkout`, `branch`, …) **loops forever** - a persistent denial of service from a single clone. ### Details `src/managers/GitRefManager.js` - `resolve()` only enforces a depth limit when a `depth` argument is passed (`depth = undefined` by default), and has no visited-set: ```js static async resolve({ fs, gitdir, ref, depth = undefined }) { if (depth !== undefined) { depth--; if (depth === -1) return ref } … } ``` `updateRemoteRefs` persists all server-supplied symrefs unconditionally. After clone the client has `refs/remotes/origin/a → ref: refs/remotes/origin/b` and `b → a` on disk; resolving either never terminates. Because the bad refs live on disk, the repo is effectively bricked for the application. #### Canonical git behavior (divergence) git caps symref resolution at `SYMREF_MAXDEPTH = 5` (refs.c): `git rev-parse a` returns immediately with `warning: ignoring dangling symref` - no recursion, no hang. ### PoC `https://github.com/spiceoverflow/av5-circular-symref` - open in a Codespace; clone writes the circular symrefs, then `git.log` on one never returns (the runner stops it after a 20s hang): ``` [AV-5] refs/remotes/origin/a contains: ref: refs/remotes/origin/b [AV-5] refs/remotes/origin/b contains: ref: refs/remotes/origin/a [run] *** DoS CONFIRMED: resolving a circular symref never terminates *** ``` ### Impact A persistent denial of service via non-terminating symbolic-ref resolution (CWE-674 / CWE-835). After a single clone from a malicious (or MitM'd) server the circular refs are written to disk, so every later operation that resolves them (`log`, `status`, `checkout`, `branch`, …) hangs forever - the repository becomes effectively unusable for the application. Impacted: any application that clones from untrusted/compromised remotes with isomorphic-git. ### Suggested fix Add visited-set cycle detection (and/or a default maximum depth, as git does) in `GitRefManager.resolve()`; optionally validate server-supplied symref targets before persisting.

References

Source records: GHSA-96wc-2m84-2cj7 (OSV.dev) · EPSS by FIRST, 2026-11-21.