GHSA-cv3v-7846-6pxm: Node git server Unauthorized File Access Vulnerability
HIGHGHSA-cv3v-7846-6pxm is a HIGH (CVSS 7.5) unauthorized file access vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting Node git server libraries in the npm ecosystem. The issue involves unauthorized file access in node-git-server. Remediation is available by upgrading affected packages to version 0.6.1.
GHSA-cv3v-7846-6pxm at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix GHSA-cv3v-7846-6pxm
To remediate this vulnerability, upgrade all affected Node git server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install node-git-server@0.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls node-git-server
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-cv3v-7846-6pxm, inspect your project dependencies using npm:
npm ls node-git-server
Analyze the terminal output to locate any version of Node git server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1), your application is affected.
Note: The npm ls node-git-server command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In Node git server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-cv3v-7846-6pxm Affected Node git server Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
node-git-server
|
npm |
≥ 0.2.0
< 0.6.1
|
0.6.1
|
References
Frequently Asked Questions
What is GHSA-cv3v-7846-6pxm?
Which Node git server versions are affected?
What version fixes GHSA-cv3v-7846-6pxm?
Is node-git-server affected?
What is the CVSS score of GHSA-cv3v-7846-6pxm?
What CWE is associated with GHSA-cv3v-7846-6pxm?
How can I check npm dependencies for GHSA-cv3v-7846-6pxm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cv3v-7846-6pxm",
"modified" : "2026-07-17T18:22:40Z",
"published" : "2020-09-03T21:15:19Z",
"aliases" : [ ],
"summary" : "Unauthorized File Access in node-git-server",
"details" : "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.\n\n\n## Recommendation\n\nUpgrade to version 0.6.1 or later.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "node-git-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.2.0"
}, {
"fixed" : "0.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/gabrielcsapo/node-git-server/pull/62"
}, {
"type" : "WEB",
"url" : "https://github.com/gabrielcsapo/node-git-server/commit/ac26650f69bc445d71e4f2c55328676d10a4be43"
}, {
"type" : "WEB",
"url" : "https://github.com/gabrielcsapo/node-git-server/commit/fb8d62710e3d78c796e04a33fcff66cea3f212f3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gabrielcsapo/node-git-server"
}, {
"type" : "WEB",
"url" : "https://github.com/gabrielcsapo/node-git-server/blob/0.2.0/lib/git.js"
}, {
"type" : "WEB",
"url" : "https://github.com/gabrielcsapo/node-git-server/tree/0.1.0"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JS-NODEGITSERVER-474343"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-552" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:51:11Z",
"nvd_published_at" : null
}
}