Skip to content
Fencer Vulns
critical 9.3

CVE-2022-31507 json

Ganga allows absolute path traversal

published 2022-07-11 4 y ago modified 2026-06-17 4 mo ago also GHSA-7488-6x3r-23w5 , PYSEC-2022-225 , EUVD-2022-0110

cvss
9.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

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

Patch / fix

  • pypi ganga 8.5.10
  • ganga_project ganga 8.5.10

Exploit prediction

1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/ganga-devs/ganga/commit/730e7aba192407d35eb37dd7938d49071124be8c referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/github/securitylab/issues/669#issuecomment-1117265726 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:P/I:N/A:P
GitHub 3.1 9.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L

Affected packages

ecosystem package affected fixed in
pypi ganga
<8.5.10
8.5.10

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.