CVE-2026-89011
largePrototype Pollution in isomorphic-git getRemoteInfo Enables Credential Theft
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.
| isomorphic-git project isomorphic-git | all versions before 1.42.0 (fixed in 1.42.0) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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 news0 stories
No ingested article mentions this CVE yet.