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
Not known to be exploited · CVSS 8.6 High.
Data as of 10 Nov 2026, 23:23 UTC
Thin evidence
One scorer or none| CNA (canonical) | CVSS 4.0 | 8.6 |
|---|---|---|
| CNA (canonical) | CVSS 3.1 | 8.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:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Open Source Robotics FoundationRobot Operating System 2 (ROS 2) | Affected
| 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.