# CVE-2022-25937: Path traversal vulnerability in glance

- Severity: Medium 6.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.12%, higher than 67% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-13T05:00:01.128Z
- Modified: 2026-06-17T04:34:30.827Z
- Also known as: GHSA-3hjh-5hgx-f5wh
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: snyk

## Description

Versions of the package glance before 3.0.9 are vulnerable to Directory Traversal that allows users to read files outside the public root directory. This is related to but distinct from the vulnerability reported in [CVE-2018-3715](https://security.snyk.io/vuln/npm:glance:20180129).

(As written by CVE List.)

## Affected

- glance: before 3.0.9
- glance (npm): before 3.0.9
- glance_project glance: before 3.0.9

## Every score

- snyk: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:P`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://security.snyk.io/vuln/SNYK-JS-GLANCE-3318395> (exploit, third-party-advisory, web)
- <https://github.com/jarofghosts/glance/commit/8cecfe90286e0c45a5494067f1b592d0ccfeabac> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25937> (advisory)
- <https://gist.github.com/lirantal/c8cfb0398c78e558b7d4ac02aae67809> (web)
- <https://github.com/jarofghosts/glance> (package)

## Sources

- CVE List: [CVE-2022-25937](https://www.cve.org/CVERecord?id=CVE-2022-25937), CVE Terms of Use, modified 2025-03-21
- GitHub Advisory Database: [GHSA-3hjh-5hgx-f5wh](https://github.com/advisories/GHSA-3hjh-5hgx-f5wh), CC-BY-4.0, modified 2025-03-21
- NVD: [CVE-2022-25937](https://nvd.nist.gov/vuln/detail/CVE-2022-25937), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25937 · Whole record: https://cve.day/CVE-2022-25937.json · Rebuilt by cve.day 2026-11-25T22:58:18.633Z
