---
id: CVE-2023-38673
aliases:
  - GHSA-9q9v-qgwx-84mr
  - PYSEC-2023-126
title: Command injection in PaddlePaddle
summary: Command injection in PaddlePaddle
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.5.0
patched:
  - paddlepaddle 2.5.0
published: '2023-07-26'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:57.169318100Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-9q9v-qgwx-84mr'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-38673'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/commit/2bfe358043096fdba9e2a4cf0f5740102b37fd8f
  - url: 'https://github.com/PaddlePaddle/Paddle'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2023-005.md
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2023-126.yaml
tags:
  - osv
  - pip
epss: 0.02339
epssPercentile: 0.82872
ingestedAt: '2026-09-12T03:13:01.684Z'
---

## Overview

PaddlePaddle before 2.5.0 has a command injection in fs.py. This resulted in the ability to execute arbitrary commands on the operating system.


## Affected packages

- `paddlepaddle < 2.5.0`

## Remediation

Upgrade to a patched release:

- `paddlepaddle 2.5.0`
