CVE-2026-58302

SUID Root Privilege Escalation via Path Traversal in LinuxCNC rtapi_app

Published Jun 30, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linuxcnc
Linuxcnc linuxcnc
Vendors & Products Linuxcnc
Linuxcnc linuxcnc
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title SUID Root Privilege Escalation via Path Traversal in LinuxCNC rtapi_app
Type Values Removed Values Added
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.
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 30, 2026, 1:04 PM
Reserved
Jun 30, 2026, 1:09 AM
Status
Deferred
Published
Jun 30, 2026, 2:16 AM
Modified
Jun 30, 2026, 2:22 PM