# GHSA-cv3v-7846-6pxm: Unauthorized File Access in node-git-server

- Severity: High 7.5 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T21:15:19.000Z
- Modified: 2026-07-17T18:30:27.790Z
- Weaknesses: CWE-552

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- node-git-server (npm): from 0.2.0 before 0.6.1

## References

- <https://github.com/gabrielcsapo/node-git-server/pull/62> (web)
- <https://github.com/gabrielcsapo/node-git-server/commit/ac26650f69bc445d71e4f2c55328676d10a4be43> (web)
- <https://github.com/gabrielcsapo/node-git-server/commit/fb8d62710e3d78c796e04a33fcff66cea3f212f3> (web)
- <https://github.com/gabrielcsapo/node-git-server> (package)
- <https://github.com/gabrielcsapo/node-git-server/blob/0.2.0/lib/git.js> (web)
- <https://github.com/gabrielcsapo/node-git-server/tree/0.1.0> (web)
- <https://snyk.io/vuln/SNYK-JS-NODEGITSERVER-474343> (web)

## Sources

- GitHub Advisory Database: [GHSA-cv3v-7846-6pxm](https://github.com/advisories/GHSA-cv3v-7846-6pxm), CC-BY-4.0, modified 2026-07-17

---

Page: https://cve.day/GHSA-cv3v-7846-6pxm · Whole record: https://cve.day/GHSA-cv3v-7846-6pxm.json · Rebuilt by cve.day 2026-11-25T22:56:45.149Z
