# CVE-2023-52314: Command injection in convert_shape_compare

- 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): 1.18%, higher than 68% of CVEs (2026-12-01)
- Published: 2024-01-03T08:15:52.057Z
- Modified: 2026-09-10T03:50:04.704Z
- Also known as: GHSA-3cr5-2446-8pg3, PYSEC-2024-146
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Baidu

## Description

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

(As written by CVE List.)

## Affected

- PaddlePaddle PaddlePaddle: before 2.6.0
- paddlepaddle (PyPI): before 2.6.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`
- PyPA Advisory Database: 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-023.md> (advisory, fix, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-52314> (advisory)
- <https://github.com/PaddlePaddle/Paddle/commit/5ed9478fdef96a06eeec9093f9e768c97b094af3> (web)
- <https://github.com/PaddlePaddle/Paddle> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2024-146.yaml> (web)
- <https://github.com/advisories/GHSA-3cr5-2446-8pg3> (advisory)

## Sources

- CVE List: [CVE-2023-52314](https://www.cve.org/CVERecord?id=CVE-2023-52314), CVE Terms of Use, modified 2024-11-14
- GitHub Advisory Database: [GHSA-3cr5-2446-8pg3](https://github.com/advisories/GHSA-3cr5-2446-8pg3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-52314](https://nvd.nist.gov/vuln/detail/CVE-2023-52314), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-146](https://osv.dev/vulnerability/PYSEC-2024-146), CC-BY-4.0, modified 2026-06-10

---

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