# CVE-2023-38673: Command injection in PaddlePaddle

Source: https://junglewise.ai/threats/cve-2023-38673-command-injection-in-paddlepaddle  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-07-26  
License: CC BY 4.0 with a link back

CVE-2023-38673 · Severity: low · CVSS 3.1 · Published 2023-07-26

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.

Technologies: [paddlepaddle (PyPI)](https://junglewise.ai/threats/technologies/paddlepaddle). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-38673 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-38673 being exploited in the wild.

**How severe is CVE-2023-38673?** Low severity, with a CVSS score of 3.1, published 26 July 2023.

**Which products and versions are affected?** paddlepaddle (PyPI) ECOSYSTEM:introduced=0,fixed=2.5.0.

**Is there a fix for CVE-2023-38673?** Yes. paddlepaddle (PyPI): upgrade to 2.5.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-38673?** Check whether you run paddlepaddle (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- paddlepaddle (PyPI): upgrade to 2.5.0 or later

  ```sh
  pip install "paddlepaddle>=2.5.0"
  ```


## Affected products

- paddlepaddle (PyPI) ECOSYSTEM:introduced=0,fixed=2.5.0

## Identifiers

- CVE-2023-38673
- GHSA-9q9v-qgwx-84mr
- PYSEC-2023-126

## Related threats

- [PYSEC-2026-1755 - PaddlePaddle allows arbitrary file read via paddle.vision.ops.read_file](https://junglewise.ai/threats/cve-2024-1603-paddlepaddle-allows-arbitrary-file-read-via-paddle-vision-ops-read)
- [PYSEC-2026-1756 - PaddlePaddle command injection in paddle.utils.download._wget_download](https://junglewise.ai/threats/cve-2024-0815-paddlepaddle-command-injection-in-paddle-utils-download-wget)
- [PYSEC-2026-1754 - PaddlePaddle command injection vulnerability](https://junglewise.ai/threats/cve-2024-0817-paddlepaddle-command-injection-vulnerability)
- [PYSEC-2026-444 - Code Injection in paddlepaddle](https://junglewise.ai/threats/cve-2024-0521-code-injection-in-paddlepaddle)
- [PYSEC-2026-442 - PaddlePaddle Path Traversal vulnerability](https://junglewise.ai/threats/cve-2024-0818-paddlepaddle-arbitrary-file-overwrite-via-path-traversal)
