Skip to main content

rtapi_app in linuxcnc-uspace in LinuxCNC before 2.9.9 allows privilege escalation. (CVE-2026-58302)

0
Medium
Published: 06/30/2026 (06/30/2026, 02:16:00 UTC)
Source: GCVE Database
Product: linuxcnc

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Ubuntu:25.10more threats →ghsa
linuxcnc
pkg:deb/ubuntu/linuxcnc?arch=source&distro=questing
Affected versions
=1:2.9.4-2ubuntu1=1:2.9.4-2ubuntu2
Ubuntu:26.10more threats →ghsa
linuxcnc
pkg:deb/ubuntu/linuxcnc?arch=source&distro=stonking
Affected versions
=1:2.9.4-2ubuntu4
Ubuntu:26.04:LTSmore threats →ghsa
linuxcnc
pkg:deb/ubuntu/linuxcnc?arch=source&distro=resolute
Affected versions
=1:2.9.4-2ubuntu2=1:2.9.4-2ubuntu3=1:2.9.4-2ubuntu4

Run 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

AILast updated: 10/18/2026, 00:32:26 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses