Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-git-server
  4. ›
  5. GMS-2020-405

GMS-2020-405: Unauthorized File Access in node-git-server

September 3, 2020 (updated July 17, 2026)

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.

References

  • github.com/advisories/GHSA-cv3v-7846-6pxm
  • github.com/gabrielcsapo/node-git-server/blob/0.2.0/lib/git.js
  • github.com/gabrielcsapo/node-git-server/commit/ac26650f69bc445d71e4f2c55328676d10a4be43
  • github.com/gabrielcsapo/node-git-server/commit/fb8d62710e3d78c796e04a33fcff66cea3f212f3
  • github.com/gabrielcsapo/node-git-server/pull/62
  • github.com/gabrielcsapo/node-git-server/tree/0.1.0
  • snyk.io/vuln/SNYK-JS-NODEGITSERVER-474343

Code Behaviors & Features

Detect and mitigate GMS-2020-405 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.2.0 before 0.6.1

Fixed versions

  • 0.6.1

Solution

Upgrade to version 0.6.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-552: Files or Directories Accessible to External Parties

Source file

npm/node-git-server/GMS-2020-405.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:59 +0000.