---
id: CVE-2023-52314
aliases:
  - GHSA-3cr5-2446-8pg3
  - PYSEC-2024-146
title: PaddlePaddle command injection in convert_shape_compare
summary: PaddlePaddle command injection in convert_shape_compare
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:04.704732498Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-3cr5-2446-8pg3'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52314'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/commit/5ed9478fdef96a06eeec9093f9e768c97b094af3
  - url: 'https://github.com/PaddlePaddle/Paddle'
  - url: >-
      https://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2023-023.md
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/paddlepaddle/PYSEC-2024-146.yaml
tags:
  - osv
  - pip
epss: 0.01182
epssPercentile: 0.66433
ingestedAt: '2026-09-12T03:13:01.645Z'
---

## Overview

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.









## Affected packages

- `paddlepaddle < 2.6.0`

## Remediation

Upgrade to a patched release:

- `paddlepaddle 2.6.0`
