CVE-2024-39163
Python vulnerability analysis and mitigation

Overview

binux pyspider up to version 0.3.10 contains a Cross-Site Request Forgery (CSRF) vulnerability via the Flask endpoints. The vulnerability was discovered in September 2024 and disclosed in December 2024. This security issue affects the WebUI component of pyspider, a web crawling framework written in Python (NVD, Sonar Blog).

Technical details

The vulnerability stems from the lack of CSRF protection in Flask endpoints combined with basic HTTP authentication. Unlike modern authentication methods that use cookies with SameSite attributes, the browser adds the Authorization header containing Basic auth credentials to all cross-site requests, making it susceptible to CSRF attacks. The vulnerability has received a CVSS v3.1 base score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

An attacker can potentially execute arbitrary code on the host running pyspider by manipulating an authenticated victim to click on a malicious link. This is particularly severe as the WebUI component of pyspider allows project management and code execution by design (Sonar Blog).

Exploitability

The vulnerability is exploitable when authentication is enabled using the --need-auth flag. An attacker only needs to understand which requests are made to execute arbitrary code on the machine and craft a malicious website that replicates these requests. When an authenticated victim visits the attacker's website, the CSRF vulnerability can be exploited to execute arbitrary code (Sonar Blog).

Mitigation and workarounds

After the vulnerability was reported, the maintainer has archived the repository on GitHub to indicate that the project is no longer maintained. Users are recommended to avoid using unmaintained code, or as a last resort, disable the WebUI component of pyspider (Sonar Blog).

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-48039CRITICAL9.1
  • Python logoPython
  • meta-ads-mcp
NoYesAug 07, 2026
CVE-2026-48169HIGH8.8
  • Python logoPython
  • praisonai-platform
NoYesAug 07, 2026
GHSA-wvpp-8hx9-p66jHIGH8.8
  • Python logoPython
  • gitpython
NoYesAug 07, 2026
CVE-2026-71870MEDIUM4.8
  • Python logoPython
  • pypdf
NoYesAug 07, 2026
CVE-2026-71852MEDIUM4.8
  • Python logoPython
  • pypdf
NoYesAug 07, 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