Skip to main content
VulnerabilityPublished Updated

CVE-2024-42002: Open Source Robotics Foundation Robot Operating System 2 (ROS 2) · Eval Injection

Affects Open Source Robotics Foundation Robot Operating System 2 (ROS 2)Source CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.6 High.

Data as of 10 Nov 2026, 23:23 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (canonical)CVSS 4.08.6
CNA (canonical)CVSS 3.18.4
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Open Source Robotics FoundationRobot Operating System 2 (ROS 2)Affected
  • Crystal Clemmys – Rolling Ridley
11 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until an official fix is available, users should avoid using the --filter option with untrusted input in the 'ros2topic hz' command or restrict access to the tool to trusted users only.

Description

CVE-2024-42002 is a code injection vulnerability in the Robot Operating System 2 (ROS 2) 'ros2topic' command-line tool. It affects all ROS 2 distributions from Crystal Clemmys through Lyrical Luth and Rolling Ridley. The flaw exists in the 'hz' verb, which uses the --filter option to accept a user-supplied Python expression that is passed unsanitized to the eval() function. This allows a local user to execute arbitrary code. The vulnerability has a high severity score of 8.6 (CVSS 4.0). No patch or official remediation information is provided in the available data.

References

Community reviews

Loading reviews…