CVE-2022-31558
Python vulnerability analysis and mitigation

Overview

The tooxie/shiva-server repository through 0.10.0 on GitHub contains a path traversal vulnerability (CVE-2022-31558) that allows absolute path traversal due to unsafe usage of the Flask send_file function. The vulnerability was discovered and disclosed in July 2022 (NVD).

Technical details

The vulnerability is classified as a path traversal issue (CWE-22) where the application fails to properly restrict pathname access to a restricted directory. The CVSS v3.1 base score is 9.3 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L, indicating that it is network exploitable with low attack complexity and requires no privileges or user interaction (NVD).

Impact

The vulnerability allows attackers to access files outside of the intended directory structure through absolute path traversal, potentially exposing sensitive system files and information (NVD).

Exploitability

The vulnerability is exploitable remotely with low attack complexity. No authentication is required to exploit this vulnerability, making it particularly dangerous (NVD).

Mitigation and workarounds

Users should upgrade to a version newer than 0.10.0 if available. If upgrading is not possible, implementing proper input validation and path sanitization for the Flask send_file function is recommended (NVD).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-63003MEDIUM6.5
  • Python logoPython
  • django-cms
NoYesAug 20, 2026
CVE-2026-54624MEDIUM6.5
  • Python logoPython
  • django-cms
NoYesAug 20, 2026
CVE-2026-54622MEDIUM6.5
  • Python logoPython
  • django-cms
NoYesAug 20, 2026
CVE-2026-75526MEDIUM4.4
  • Python logoPython
  • django-cms
NoYesAug 20, 2026
CVE-2026-61663MEDIUM4.3
  • Python logoPython
  • django-cms
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management