CVE-2022-31558 json
Tooxie Shiva 0.10.0 allows absolute path traversal because Flask send_file function used unsafely
published 2022-07-11 4 y ago modified 2026-07-01 4 mo ago also GHSA-qp72-96p2-g644 , PYSEC-2026-541 , EUVD-2022-6401
- cvss
- 9.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
The tooxie/shiva-server repository through 0.10.0 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
Exploit prediction
1.28% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
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 |
| OSV | 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 | shiva | <=0.10.0 |
no fix listed |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/github/securitylab/issues/669#issuecomment-1117265726
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31558
advisory
-
github.com
/tooxie/shiva-server/issues/189
web
-
github.com
/tooxie/shiva-server
package
-
pypi.org
/project/shiva
package
-
github.com
/advisories/GHSA-qp72-96p2-g644
advisory
Sources
- CVE List CVE-2022-31558
- GitHub Advisory GHSA-qp72-96p2-g644
- NVD CVE-2022-31558
- OSV PYSEC-2026-541
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.