Unauthorized File Access in node-git-serverGHSA-cv3v-7846-6pxm
HIGHFix: gabrielcsapo/node-git-server#62GHSA-cv3v-7846-6pxm is a high-severity (CVSS 7.5) vulnerability in node-git-server. A fix is available for node-git-server — see the affected versions and patch details below.
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.
node-git-servernpmDescription
Versions of node-git-server prior to 0.6.1 are vulnerable to Unauthorized File Access. It is possible to access any git repository by using absolute paths, which may allow attackers to access private repositories.
Recommendation
Upgrade to version 0.6.1 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | node-git-server | ≥ 0.2.0&&< 0.6.1 | 0.6.1npm install node-git-server@0.6.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for node-git-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update node-git-server to 0.6.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cv3v-7846-6pxm is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-cv3v-7846-6pxm in your dependencies?
Find it across npm, including transitive dependencies.