CVE-2024-22204
Python vulnerability analysis and mitigation

Overview

Whoogle Search versions 0.8.3 and prior contain a limited file write vulnerability when the configuration options are enabled. The vulnerability was discovered in January 2024 and affects the self-hosted metasearch engine (GitHub Advisory).

Technical details

The vulnerability exists in the config function in app/routes.py where two user-controlled variables are not properly validated: the name variable on line 447 and config_data variable on line 437. The name variable is insecurely concatenated in os.path.join, which leads to path manipulation. Additionally, the POST data from the config_data variable is saved using pickle.dump, resulting in a limited file write capability (GitHub Advisory).

Impact

The vulnerability allows an attacker to save and overwrite files on the system that the application has permissions to access. The written files will contain a dictionary with arbitrary data and a required 'url' key-value pair, resulting in a limited file write capability (GitHub Advisory).

Exploitability

The vulnerability can only be exploited when the configuration options in Whoogle are enabled. The attacker needs to be able to interact with the configuration endpoint to exploit this vulnerability (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.8.4. Users should upgrade to this version or later to mitigate the risk. The patch includes validation of config names to prevent names from including path values such as "../../(etc)" (GitHub Commit).

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-61539CRITICAL10
  • Python logoPython
  • xinference
NoYesAug 21, 2026
CVE-2026-49360HIGH7.8
  • Python logoPython
  • recce
NoYesAug 21, 2026
CVE-2026-68508HIGH7.8
  • Python logoPython
  • hydra-core
NoYesAug 21, 2026
CVE-2026-43980MEDIUM6.3
  • Python logoPython
  • malla
NoNoAug 21, 2026
CVE-2026-55468MEDIUM4.3
  • Python logoPython
  • wagtail
NoYesAug 24, 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