CVE-2023-52311
Python vulnerability analysis and mitigation

Overview

PaddlePaddle before version 2.6.0 contains a command injection vulnerability (CVE-2023-52311) in the _wget_download function. The vulnerability was discovered and reported through huntr.com, with the initial disclosure made on January 3, 2024 (NVD, Vendor Advisory).

Technical details

The vulnerability is classified as a Command Injection (CWE-78) with a CVSS v3.1 base score of 9.8 CRITICAL (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) according to NIST's assessment. The issue specifically exists in the _wget_download function where user input is not properly sanitized before being used in system commands (NVD).

Impact

The vulnerability allows attackers to execute arbitrary commands on the operating system through the _wget_download function. This results in complete compromise of system confidentiality, integrity, and availability (NVD).

Exploitability

A proof of concept exploit has been documented that demonstrates the vulnerability can be triggered using simple Python code: 'from paddle import utils; utils.download._wget_download("aa; touch codexecution", "bb")' (Vendor Advisory).

Mitigation and workarounds

The vulnerability has been patched in PaddlePaddle version 2.6.0. The fix was implemented in commit d5550d3f2f5bab48c783b4986ba1cd8e061ce542 (Vendor Advisory).

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-55209CRITICAL9.8
  • Python logoPython
  • resdata
NoYesSep 14, 2026
CVE-2026-73496HIGH7.7
  • Python logoPython
  • mcp-atlassian
NoYesSep 14, 2026
CVE-2026-54559MEDIUM6.9
  • Python logoPython
  • pocketsphinx
NoYesSep 14, 2026
CVE-2026-73497MEDIUM6.5
  • Python logoPython
  • mcp-atlassian
NoYesSep 14, 2026
CVE-2026-55244MEDIUM5
  • Python logoPython
  • asteval
NoYesSep 14, 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