rtapi_app in linuxcnc-uspace in LinuxCNC before 2.9.9 allows privilege escalation. (CVE-2026-58302)
Description
LinuxCNC versions before 2.9.9 contain a local privilege escalation vulnerability in the rtapi_app component of linuxcnc-uspace. The vulnerable binary is installed with SUID root and loads shared libraries using a user-supplied module name without sufficient validation. This allows a local attacker to perform path traversal and load arbitrary shared libraries with root privileges, resulting in privilege escalation.
CVSS v3.1
Score 8.4high
Affected software
pkg:deb/ubuntu/linuxcnc?arch=source&distro=questingpkg:deb/ubuntu/linuxcnc?arch=source&distro=stonkingpkg:deb/ubuntu/linuxcnc?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The rtapi_app binary in linuxcnc-uspace for LinuxCNC versions prior to 2.9.9 is installed with SUID root and loads shared library modules via dlopen() using a user-supplied module name. Due to insufficient validation of this module name, an unprivileged local user can exploit path traversal to load arbitrary shared libraries. Since the process retains elevated privileges during module loading, this leads to local privilege escalation to root.
Potential Impact
An unprivileged local user can escalate their privileges to root by exploiting the path traversal vulnerability in the module loading mechanism of rtapi_app. This compromises system integrity and confidentiality by granting full administrative control.
Mitigation Recommendations
A fix is available in LinuxCNC version 2.9.9. Users should upgrade to version 2.9.9 or later to remediate this vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-58302
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:25.10","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
Threat ID: 6ad3f5dd2cdf04f65666346e
Added to database: 10/17/2026, 22:25:33 UTC
Last enriched: 10/18/2026, 00:32:26 UTC
Last updated: 10/18/2026, 00:32:26 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.