ZeroHour

CVE-2026-89011

large

Prototype Pollution in isomorphic-git getRemoteInfo Enables Credential Theft

CVSS 4.0
7.1 high
EPSS
Published
()
Modified
AI analysis

isomorphic-git versions before 1.42.0 contain an Object prototype pollution flaw (CWE-1321) in the getRemoteInfo function, which clients use to query a Git server's advertised capabilities. A Git server operator controlling the URL passed to getRemoteInfo can advertise a crafted ref name containing '__proto__' path segments (such as '__proto__/corsProxy') during ref negotiation, polluting Object.prototype in the client process. The pollution allows the attacker to reroute all of the victim's subsequent network operations through an attacker-controlled proxy, causing isomorphic-git to invoke the victim's onAuth callback and transmit credentials to the attacker. Any application, service, or tool built with isomorphic-git before 1.42.0 that queries untrusted or attacker-supplied Git URLs is affected, while deployments that only talk to trusted, first-party Git servers face little practical risk. The flaw carries a CVSS 4.0 score of 7.1 (high) with user interaction required, is not listed in CISA's KEV, and no public proof-of-concept or confirmed in-the-wild exploitation is known.

What to do: Upgrade to isomorphic-git 1.42.0 or later, which fixes the prototype pollution in getRemoteInfo. Until patched, restrict getRemoteInfo calls to trusted Git server URLs and audit npm/bundler lockfiles and dependency trees for vulnerable isomorphic-git versions. Treat credentials supplied via onAuth to untrusted Git servers as potentially compromised and rotate them if exposure is suspected.

Affected
isomorphic-git project isomorphic-gitall versions before 1.42.0 (fixed in 1.42.0)
Estimated exposure
large≈100k–1M downstream deployments (npm package with on the order of 1M weekly downloads) — isomorphic-git is a widely adopted pure-JavaScript Git client distributed via npm with on the order of a million weekly downloads and many bundled applications, suggesting an install base in the hundreds of thousands, though only…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

isomorphic-git before 1.42.0 contains a prototype pollution vulnerability in the getRemoteInfo function that allows a malicious Git server operator to pollute Object.prototype by advertising crafted ref names containing '__proto__' path segments during ref negotiation. Attackers controlling a Git server can advertise a specially crafted ref such as '__proto__/corsProxy' to reroute all subsequent network operations through an attacker-controlled proxy, causing isomorphic-git to invoke the victim's onAuth callback and transmit credentials to the attacker when the victim calls getRemoteInfo with an attacker-supplied URL.

Weakness
CWE-1321
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.