# CVE-2022-31558: Tooxie Shiva 0.10.0 allows absolute path traversal because Flask send_file function used unsafely

- 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.36%, higher than 72% of CVEs (2026-12-01)
- Published: 2022-07-11T00:59:36.000Z
- Modified: 2026-07-01T20:23:05.032Z
- Also known as: GHSA-qp72-96p2-g644, PYSEC-2026-541
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

The tooxie/shiva-server repository through 0.10.0 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
- shiva (PyPI): up to 0.10.0
- shiva-server_project shiva-server: up to 0.10.0

## 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`
- 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`
- PyPA Advisory Database: 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`

## References

- <https://github.com/github/securitylab/issues/669#issuecomment-1117265726> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31558> (advisory)
- <https://github.com/tooxie/shiva-server/issues/189> (web)
- <https://github.com/tooxie/shiva-server> (package)
- <https://pypi.org/project/shiva> (package)
- <https://github.com/advisories/GHSA-qp72-96p2-g644> (advisory)

## Sources

- CVE List: [CVE-2022-31558](https://www.cve.org/CVERecord?id=CVE-2022-31558), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-qp72-96p2-g644](https://github.com/advisories/GHSA-qp72-96p2-g644), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2022-31558](https://nvd.nist.gov/vuln/detail/CVE-2022-31558), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-541](https://osv.dev/vulnerability/PYSEC-2026-541), CC-BY-4.0, modified 2026-07-01

---

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