---
id: CVE-2023-52311
aliases:
  - GHSA-rf7p-79xq-8xwm
  - PYSEC-2024-143
title: PaddlePaddle command injection in _wget_download
summary: PaddlePaddle command injection in _wget_download
severity: critical
cvss: 9.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'
vendor: paddlepaddle
product: paddlepaddle
ecosystem: pip
affected:
  - paddlepaddle < 2.6.0
patched:
  - paddlepaddle 2.6.0
published: '2024-01-03'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:05.157733565Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-rf7p-79xq-8xwm'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52311'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/commit/c5f6862d118d7d69210f0e73bea1b055f5f21f2b
  - url: 'https://github.com/PaddlePaddle/Paddle'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2023-020.md
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2024-143.yaml
tags:
  - osv
  - pip
epss: 0.01182
epssPercentile: 0.66434
ingestedAt: '2026-09-12T03:13:01.725Z'
---

## Overview

PaddlePaddle before 2.6.0 has a command injection in _wget_download. This resulted in the ability to execute arbitrary commands on the operating system.









## Affected packages

- `paddlepaddle < 2.6.0`

## Remediation

Upgrade to a patched release:

- `paddlepaddle 2.6.0`
