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).

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-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • cpe:2.3:a:pgadmin:pgadmin
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 2025

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