Security Digest · Vulnerability record

CVE-2024-0521: Code Injection in paddlepaddle

Code Injection in paddlepaddle/paddle

CVSS 9.3 Critical EPSS 0.5% · p39

Should you act?

Critical, preconditions apply

Severe if exploited, but exploitation needs conditions that may not apply to you. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 0.5%, percentile 39: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 39% of all scored CVEs (low). EPSS is a probability, not a verdict.
  • Needs local access needed. Lower urgency for most teams unless an attacker could already run code on the machine.
  • Only applies if your dependency tree includes paddlepaddle (PyPI) < 2.6.0, fixed in 2.6.0. Check your lockfile, including transitive dependencies.

What it is

Code Injection in paddlepaddle/paddle

From the GitHub advisory

The vulnerability arises from the way the url parameter is incorporated into the command string without proper validation or sanitization. If the url is constructed from untrusted sources, an attacker could potentially inject malicious commands.

Weakness type: CWE-94.

Product: paddlepaddle (PyPI) · Assigned by: @huntr_ai · Published: 2024-01-20

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
PyPIpaddlepaddle< 2.6.02.6.0
VendorProductAffected versions (per CVE record)
paddlepaddlepaddlepaddle/paddleunspecified <= latest

Severity scores

Scored byCVSSScoreVector
@huntr_ai3.09.3 CriticalCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub3.19.3 CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Attack vector: local access needed
  • Attack complexity: low
  • Privileges required: none (no login)
  • User interaction: none
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable no, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 0.46% probability of exploitation activity in the next 30 days; percentile 39.

Timeline

  • — CVE record published by @huntr_ai
  • — GitHub-reviewed advisory GHSA-chj7-w3f6-cvfj published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-chj7-w3f6-cvfj github.com
  2. CVE.org record CVE-2024-0521 cve.org
  3. NVD entry CVE-2024-0521 nvd.nist.gov

Other references from the CVE record and advisory

  1. huntr.com huntr.com

Critical PyPI advisories · Today’s Security Digest