CVE-2024-39289 Unsafe use of eval() method in rosparam tool
Attackers can execute arbitrary Python code via unsanitized input in the ROS rosparam tool due to unsafe eval() usage.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-39289?
CVE-2024-39289 is a high-severity code injection vulnerability in Open Source Robotics Foundation Robot Operating System (ROS), published on 17 Jul 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A code execution vulnerability has been discovered in the Robot Operating System (ROS) 'rosparam' tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability stems from the use of the eval() function to process unsanitized, user-supplied parameter values via special converters for angle representations in radians. This flaw allowed attackers to craft and execute arbitrary Python code.
Which versions are affected by CVE-2024-39289?
It affects 1 product.
Products include Openrobotics Robot Operating System.
How do I fix CVE-2024-39289?
No fix has been published for CVE-2024-39289 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-39289 being exploited?
There is no known exploitation of CVE-2024-39289 in the wild and no public exploit code.
Other vulnerabilities in Open Source Robotics Foundation Robot Operating System (ROS)
Sources
Also known as DEBIAN-CVE-2024-39289, GHSA-j77r-p467-v78c, UBUNTU-CVE-2024-39289.