CVE-2022-31507
Ganga allows absolute path traversal
The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
NVD Score used
9.3
The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
- Record
CVE-2022-31507- 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 - CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:P - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
- Record
CVE-2022-31507- Updated
- 2026-11-02
EUVDEUVD-2022-0110 No score
The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
- Record
EUVD-2022-0110- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7488-6x3r-23w5
9.2
Ganga allows absolute path traversal
The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
- Record
GHSA-7488-6x3r-23w5- CVSS 4.0
- 9.2 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 - 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 - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGHSA-7488-6x3r-23w5
9.2
Ganga allows absolute path traversal
The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
- Record
GHSA-7488-6x3r-23w5- CVSS 4.0
- 9.2 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 - 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 - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV No score
The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
- Record
CVE-2022-31507- Updated
- 2026-11-02
OSVPYSEC-2022-225 No score
The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
- Record
PYSEC-2022-225- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gangaPyPI |
before 8.5.10 | 8.5.10 |
gangaPyPI |
before 8.5.10, plus listed versions 6.1.156.1.166.1.176.1.186.1.19 Show 45 moreShow less6.1.206.1.216.1.226.1.236.1.246.1.256.2.06.2.16.2.26.2.36.3.06.3.16.4.06.5.06.5.16.5.26.6.06.6.16.6.26.6.36.6.46.7.06.7.16.7.26.7.36.7.47.0.07.0.17.0.27.0.37.0.47.1.07.1.17.1.107.1.117.1.127.1.137.1.147.1.157.1.37.1.47.1.57.1.67.1.77.1.8 |
8.5.10 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-31507 is a critical vulnerability (CVSS 9.3) in Ganga Project Ganga, published July 11, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.70%, the 77th percentile. Fixed in ganga 8.5.10.
References
github.com/github/securitylab/issues/669
github.com/ganga-devs/ganga/commit/730e7aba192407d35eb37dd7938d49071124be8c
github.com/ganga-devs/ganga/releases/tag/8.5.10
nvd.nist.gov/vuln/detail/CVE-2022-31507
github.com/pypa/advisory-database/tree/main/vulns/ganga/PYSEC-2022-225.yaml
github.com/advisories/GHSA-7488-6x3r-23w5
github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31507.json
github.com/ganga-devs/ganga
Left out here: 36 versions. The JSON record has them.