{"id":"CVE-2026-63475","aliases":["GHSA-96wc-2m84-2cj7"],"summary":"isomorphic-git: Circular symbolic references cause non-terminating resolution (DoS)","published_at":"2026-11-03T19:45:24.488Z","modified_at":"2026-11-09T20:15:03.974348Z","products":[],"rating":{"severity":"medium","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.003980000037699938,"percentile":0.34793999791145325,"date":"2026-11-19T00:00:00Z"},"priority":5.8,"details":"isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git persists server-supplied circular symref= capabilities through updateRemoteRefs, and GitRefManager.resolve() follows the resulting loose symbolic references without a default depth limit or cycle detection. After a clone from a malicious or man-in-the-middle-controlled remote, operations such as log, status, checkout, and branch that resolve refs/remotes/origin/a or refs/remotes/origin/b do not terminate. The circular references remain on disk, leaving the repository unusable for the application and causing a persistent denial of service. This issue is fixed in version 1.38.6.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"isomorphic-git/isomorphic-git","versions":["< 1.38.6"],"provider":"cvelistv5","source":"CVE-2026-63475","relation":"self"},{"ecosystem":"npm","package":"isomorphic-git","purl":"pkg:npm/isomorphic-git","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.38.6"}]}],"fixed":["1.38.6"],"provider":"osv","source":"GHSA-96wc-2m84-2cj7","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"affected","packages":["openshift-serverless-1/logic-rhel9-operator"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-63475"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"affected","packages":["rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend","rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator","rhdh/rhdh-hub-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-63475"},{"vendor":"Red Hat","product":"Self-service automation portal 2","cpe":"cpe:/a:redhat:ansible_portal:2","status":"affected","packages":["ansible-automation-platform/automation-portal","ansible-automation-platform/bootc-automation-portal-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-63475"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-63475","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-63475","license":"CC-BY-4.0","published_at":"2026-11-03T19:45:24.488Z","modified_at":"2026-11-03T21:31:07.998Z","summary":"isomorphic-git: Circular symbolic references cause non-terminating resolution (DoS)","details":"isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. Prior to 1.38.6, isomorphic-git persists server-supplied circular symref= capabilities through updateRemoteRefs, and GitRefManager.resolve() follows the resulting loose symbolic references without a default depth limit or cycle detection. After a clone from a malicious or man-in-the-middle-controlled remote, operations such as log, status, checkout, and branch that resolve refs/remotes/origin/a or refs/remotes/origin/b do not terminate. The circular references remain on disk, leaving the repository unusable for the application and causing a persistent denial of service. This issue is fixed in version 1.38.6.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"CVE-2026-63475"}],"affected":[{"ecosystem":"CVE","package":"isomorphic-git/isomorphic-git","versions":["< 1.38.6"],"provider":"cvelistv5","source":"CVE-2026-63475","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-96wc-2m84-2cj7"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/pull/2370"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6"}]},{"provider":"osv","source_id":"GHSA-96wc-2m84-2cj7","relation":"self","url":"https://osv.dev/vulnerability/GHSA-96wc-2m84-2cj7","license":"CC-BY-4.0","published_at":"2026-11-09T19:58:32Z","modified_at":"2026-11-09T20:15:03.974348Z","summary":"isomorphic-git: Circular symbolic references cause non-terminating resolution (DoS)","details":"### Summary\nA 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.\n\n### Details\n`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:\n\n```js\nstatic async resolve({ fs, gitdir, ref, depth = undefined }) {\n  if (depth !== undefined) { depth--; if (depth === -1) return ref }\n  …\n}\n```\n\n`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.\n\n#### Canonical git behavior (divergence)\ngit caps symref resolution at `SYMREF_MAXDEPTH = 5` (refs.c): `git rev-parse a` returns immediately with `warning: ignoring dangling symref` — no recursion, no hang.\n\n### PoC\n`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):\n\n```\n[AV-5] refs/remotes/origin/a contains: ref: refs/remotes/origin/b\n[AV-5] refs/remotes/origin/b contains: ref: refs/remotes/origin/a\n[run] *** DoS CONFIRMED: resolving a circular symref never terminates ***\n```\n\n### Impact\nA 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.\n\nImpacted: any application that clones from untrusted/compromised remotes with isomorphic-git.\n\n### Suggested fix\nAdd visited-set cycle detection (and/or a default maximum depth, as git does) in `GitRefManager.resolve()`; optionally validate server-supplied symref targets before persisting.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"GHSA-96wc-2m84-2cj7"}],"affected":[{"ecosystem":"npm","package":"isomorphic-git","purl":"pkg:npm/isomorphic-git","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.38.6"}]}],"fixed":["1.38.6"],"provider":"osv","source":"GHSA-96wc-2m84-2cj7","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-96wc-2m84-2cj7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63475"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/pull/2370"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b"},{"type":"PACKAGE","url":"https://github.com/isomorphic-git/isomorphic-git"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6"}]},{"provider":"redhat-vex","source_id":"CVE-2026-63475","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-63475","license":"CC-BY-4.0","published_at":"2026-11-03T19:45:24.488Z","modified_at":"2026-11-05T08:03:07Z","summary":"isomorphic-git: isomorphic-git: Denial of Service via circular symbolic references","details":"A flaw was found in isomorphic-git. This vulnerability allows a malicious or compromised remote server to cause a persistent Denial of Service (DoS). During a repository clone operation, the server can supply circular symbolic references that the client stores locally without cycle detection. Subsequent commands attempting to resolve these references enter an infinite loop, freezing the application and leaving the repository unusable.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"CVE-2026-63475"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-63475"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"affected","packages":["openshift-serverless-1/logic-rhel9-operator"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-63475"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"affected","packages":["rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend","rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator","rhdh/rhdh-hub-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-63475"},{"vendor":"Red Hat","product":"Self-service automation portal 2","cpe":"cpe:/a:redhat:ansible_portal:2","status":"affected","packages":["ansible-automation-platform/automation-portal","ansible-automation-platform/bootc-automation-portal-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-63475"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-63475.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-63475"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2566211"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-63475"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63475"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/pull/2370"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-96wc-2m84-2cj7"}]}],"references":[{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/security/advisories/GHSA-96wc-2m84-2cj7"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/pull/2370"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/commit/823843d1cd19182df79bc907c767f5bcecb39a0b"},{"type":"WEB","url":"https://github.com/isomorphic-git/isomorphic-git/releases/tag/v1.38.6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63475"},{"type":"PACKAGE","url":"https://github.com/isomorphic-git/isomorphic-git"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-63475.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-63475"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2566211"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-63475"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-63475","url":"https://www.cve.org/CVERecord?id=CVE-2026-63475","license":"CC-BY-4.0","modified_at":"2026-11-03T21:31:07.998Z","relation":"self"},{"provider":"osv","source_id":"GHSA-96wc-2m84-2cj7","url":"https://osv.dev/vulnerability/GHSA-96wc-2m84-2cj7","license":"CC-BY-4.0","modified_at":"2026-11-09T20:15:03.974348Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-63475","url":"https://access.redhat.com/security/cve/CVE-2026-63475","license":"CC-BY-4.0","modified_at":"2026-11-05T08:03:07Z","relation":"self"}]}
