Vulnerability · Published Jun 30, 2026 · Assigned by mitre
CVE-2026-58302
High 8.4
In plain English
A high-severity path traversal in LinuxCNC from LinuxCNC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
rtapi_app in linuxcnc-uspace in LinuxCNC before 2.9.9 allows privilege escalation. It is installed SUID root and loads shared library modules via dlopen() by using a user-supplied module name. Insufficient validation of the module name allows path traversal, enabling an unprivileged local user to load an arbitrary shared library. Because the process retains elevated privileges during module loading, this results in local privilege escalation to root.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linuxcnc | 2.9.0~pre1+git20230208.f1270d6ed7-1+deb12u2 | DEBIAN-CVE-2026-58302 |
| Debian:13 | linuxcnc | 1:2.9.4-2+deb13u1 | DEBIAN-CVE-2026-58302 |
| Ubuntu:25.10 | linuxcnc | no fix listed | UBUNTU-CVE-2026-58302 |
| Ubuntu:26.04:LTS | linuxcnc | no fix listed | UBUNTU-CVE-2026-58302 |
| Ubuntu:26.10 | linuxcnc | no fix listed | UBUNTU-CVE-2026-58302 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H