# CVE-2023-38673: Command injection in fs.py

- Severity: Critical 9.6 (CVSS:3.1, scored by Baidu) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.32%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-26T11:10:34.410Z
- Modified: 2026-09-10T03:49:57.169Z
- Also known as: GHSA-9q9v-qgwx-84mr, PYSEC-2023-126
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Baidu

## Description

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.

(As written by CVE List.)

## Affected

- PaddlePaddle PaddlePaddle: before 2.5.0
- paddlepaddle (PyPI): before 2.5.0

## Every score

- Baidu: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2023-005.md> (exploit, advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-38673> (advisory)
- <https://github.com/PaddlePaddle/Paddle/commit/2bfe358043096fdba9e2a4cf0f5740102b37fd8f> (web)
- <https://github.com/PaddlePaddle/Paddle> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2023-126.yaml> (web)
- <https://github.com/advisories/GHSA-9q9v-qgwx-84mr> (advisory)

## Sources

- CVE List: [CVE-2023-38673](https://www.cve.org/CVERecord?id=CVE-2023-38673), CVE Terms of Use, modified 2024-10-23
- GitHub Advisory Database: [GHSA-9q9v-qgwx-84mr](https://github.com/advisories/GHSA-9q9v-qgwx-84mr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-38673](https://nvd.nist.gov/vuln/detail/CVE-2023-38673), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-126](https://osv.dev/vulnerability/PYSEC-2023-126), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2023-38673 · Whole record: https://cve.day/CVE-2023-38673.json · Rebuilt by cve.day 2026-11-25T22:58:26.512Z
