Path Traversal in Linuxcnc

CVE-2026-58302

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.002 (4.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-58302?
CVE-2026-58302 is a high-severity vulnerability in Linuxcnc, classified under Path Traversal. CVSS score: 8.4/10. Published 2026-06-30.
How severe is CVE-2026-58302?
High severity. CVSS v3 base score is 8.4 out of 10.