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.

Severity (CVSS 3.1)8.4High
Exploit odds (30 days)0.2%top 90.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12linuxcnc2.9.0~pre1+git20230208.f1270d6ed7-1+deb12u2DEBIAN-CVE-2026-58302
Debian:13linuxcnc1:2.9.4-2+deb13u1DEBIAN-CVE-2026-58302
Ubuntu:25.10linuxcncno fix listedUBUNTU-CVE-2026-58302
Ubuntu:26.04:LTSlinuxcncno fix listedUBUNTU-CVE-2026-58302
Ubuntu:26.10linuxcncno fix listedUBUNTU-CVE-2026-58302

Affected products (as reported)

VendorProductVersions
LinuxCNC LinuxCNC 0 – before 2.9.9

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References