CVE-2024-53305: Whoogle Search Arbitrary Code Execution Vulnerability

whoogle-search Updated 14 Dec 2025

Summary

16/04/2025
Yes i
High
8.9

CVE-2024-53305: Whoogle allows attackers to execute arbitrary code via supplying a crafted search query. Affects whoogle-search versions < 0.9.1. Fixed in 0.9.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Whoogle is an open-source self-hosted Google search alternative that allows users to search the web without tracking. It provides a privacy-focused search experience by stripping out tracking parameters and ads. However, a vulnerability in version 0.9.0 of Whoogle has been identified, which allows attackers to execute arbitrary code through crafted search queries, compromising the integrity of the application.

Vulnerability Detail

The vulnerability arises from improper handling of user-supplied input in the component /models/config.py of Whoogle search version 0.9.0. Attackers can exploit this flaw by crafting specific search queries that, when processed by the application, lead to arbitrary code execution. This could allow an attacker to gain unauthorized access to the server, manipulate data, or execute malicious commands, posing a significant risk to the application's security and the data it handles.

How To Fix

Minimum fixed version

0.9.1

This is the first release that contains the fix.

pip install --upgrade "whoogle-search==0.9.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, you can restrict input validation by sanitizing search queries to prevent execution of arbitrary code. However, this is not a complete fix and should only be used until the package is updated.

Conclusion

The vulnerability CVE-2024-53305 in Whoogle poses a significant risk by allowing arbitrary code execution through crafted search queries. It is crucial for users to update to version 0.9.1 or later to secure their installations. Additionally, using tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for whoogle-search →

Share this vulnerability

FAQ

CVE-2024-53305 is a vulnerability in Whoogle that allows attackers to execute arbitrary code via crafted search queries.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The risks include unauthorized access to the server, potential data manipulation, and execution of malicious commands, which can compromise the entire application.

You can update Whoogle by running the command 'pip install --upgrade whoogle-search' in your terminal.

Yes, you can sanitize user input to prevent arbitrary code execution, but this is only a temporary workaround and not a full solution.

Related vulnerabilities

Recent vulnerabilities recorded for whoogle-search.

How To Fix

Minimum fixed version

0.9.1

This is the first release that contains the fix.

pip install --upgrade "whoogle-search==0.9.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback