CVE-2025-54583 — @finos/git-proxy
Fix: finos/git-proxy@a620a2fCVE-2025-54583 is a CWE-863 vulnerability in @finos/git-proxy. A fix is available for @finos/git-proxy — see the affected versions and patch details below.
GitProxy bypasses approvals when pushing multiple branches
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-54583.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@finos/git-proxynpmDescription
Summary
This vulnerability allows a user to push to the remote repository while bypassing policies and explicit approval. Since checks and plugins are skipped, code containing secrets or unwanted changes could be pushed into a repository.
Because it can allow policy violations to go undetected, we classify this as a High impact vulnerability.
Details
The source of the vulnerability is the push parser action parsePush.ts. It reads the first branch and parses it, while ignoring subsequent branches (silently letting them go through).
Although the fix involves multiple improvements to the commit and push parsing logic, the core solution is to prevent multiple branch pushes from going through in the first place:
if (refUpdates.length !== 1) {
step.log('Invalid number of branch updates.');
step.log(`Expected 1, but got ${refUpdates.length}`);
step.setError('Your push has been blocked. Please make sure you are pushing to a single branch.');
action.addStep(step);
return action;
}
PoC
- Make a commit on a branch:
git checkout -b safe-branch
echo "Approved code" > file.txt
git add .
git commit -m "Approved code"
git push proxy safe-branch
-
Wait for approval of
safe-branch. -
Make a commit on a separate branch with a secret, for example:
git checkout -b bad-branch
echo "SECRET=abc123" > .env
git add .
git commit -m "Bad code"
- Push both at the same time:
git push proxy safe-branch bad-branch
Expected Result
Ideally, this would force checks to run for the second branch while sending it out for approval. Meanwhile, the first branch would be pushed to the remote. A simpler solution is to simply prevent multiple branch pushes.
Actual Result
Both branches get pushed to the remote, and second branch bypasses the proxy.
Impact
Attackers with push access can bypass review policies, potentially inserting unwanted/malicious code into a GitProxy-protected repository.
The vulnerability impacts all users or organizations relying on GitProxy to enforce policies and prevent unapproved changes. It requires no elevated privileges beyond regular push access, and no extra user interaction. It does however, require a GitProxy administrator or designated user (canUserApproveRejectPush) to approve the first push. It is much more likely that a well-meaning user would trigger this accidentally.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @finos/git-proxy | all versions | 1.19.2npm install @finos/git-proxy@1.19.2 |
Affected Products
gitproxyfinosDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @finos/git-proxy, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @finos/git-proxy to 1.19.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-54583 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2025-54583 in your dependencies?
Find it across npm, including transitive dependencies.