Every CVE Search/ Get API key

CVE-2022-31507

Ganga allows absolute path traversal

9.3 CriticalFix available

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

1.70%Up 0.8 points since Jul 11, 2022
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
CVSS 2.0
6.4 MediumAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
ganga
PyPI
before 8.5.10
8.5.10
ganga
PyPI
before 8.5.10, plus listed versions
6.1.156.1.166.1.176.1.186.1.19
Show 45 moreShow less
6.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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

This page doesn't list everything

Left out here: 36 versions. The JSON record has them.

MoveEnter Open