# CVE-2022-31507: Ganga allows absolute path traversal

- Severity: Critical 9.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L`
- 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.72%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-07-11T00:54:07.000Z
- Modified: 2026-06-17T04:45:35.160Z
- Also known as: GHSA-7488-6x3r-23w5, PYSEC-2022-225
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ganga (PyPI): before 8.5.10; before 730e7aba192407d35eb37dd7938d49071124be8c
- ganga_project ganga: before 8.5.10

## Every score

- GitHub: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:H/SI:N/SA:L`
- NVD: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:P`

## References

- <https://github.com/github/securitylab/issues/669#issuecomment-1117265726> (exploit, issue-tracking, report, third-party-advisory, web)
- <https://github.com/ganga-devs/ganga/commit/730e7aba192407d35eb37dd7938d49071124be8c> (exploit, fix, patch, third-party-advisory, web)
- <https://github.com/ganga-devs/ganga/releases/tag/8.5.10> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31507> (advisory)
- <https://github.com/advisories/GHSA-7488-6x3r-23w5> (advisory)
- <https://github.com/ganga-devs/ganga> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ganga/PYSEC-2022-225.yaml> (web)

## Sources

- CVE List: [CVE-2022-31507](https://www.cve.org/CVERecord?id=CVE-2022-31507), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-7488-6x3r-23w5](https://github.com/advisories/GHSA-7488-6x3r-23w5), CC-BY-4.0, modified 2025-02-21
- NVD: [CVE-2022-31507](https://nvd.nist.gov/vuln/detail/CVE-2022-31507), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-225](https://osv.dev/vulnerability/PYSEC-2022-225), CC-BY-4.0, modified 2023-11-08

---

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