CVE-2024-0817 PaddlePaddle command injection vulnerability

Critical 9.3 Published Updated

Attackers can execute arbitrary commands via the IrGraph.draw function in the PaddlePaddle deep learning library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-0817?

CVE-2024-0817 is a critical command injection vulnerability in paddlepaddle/paddle, published on 7 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Command injection in IrGraph.draw in paddlepaddle/paddle 2.6.0

Weakness: CWE-77

Which versions are affected by CVE-2024-0817?

3 open source packages ship an affected version, including paddlepaddle. It affects 1 product.

PackageAffectedFixed in
paddlepaddle PyPIAll versions to 2.6.0None
paddlepaddle PyPIAll versions to 2.6.0None
paddlepaddle PyPIAll versions3.0.0-beta0

Products include Paddlepaddle Paddlepaddle.

How do I fix CVE-2024-0817?

Upgrade paddlepaddle to 3.0.0-beta0 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-0817 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0817 exists.

Sources

Also known as GHSA-fh54-3vhg-mpc2, PYSEC-2026-1754.

Is CVE-2024-0817 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free