Skip to main content

Linuxcnc CVE-2026-58302

| EUVDEUVD-2026-40241 HIGH
Path Traversal (CWE-22)
2026-06-30 mitre GHSA-h3vh-9phr-5gjm
8.4
CVSS 3.1 · Vendor: mitre
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 30, 2026

Local privilege escalation to root in LinuxCNC (linuxcnc-uspace) before 2.9.9 lets any unprivileged local user execute arbitrary code as root. The SUID-root rtapi_app helper accepts a user-supplied module name and passes it to dlopen() without sufficient validation, so path traversal lets an attacker load an arbitrary attacker-controlled shared library while the process is still privileged. No public exploit identified at time of analysis and the issue is not in CISA KEV; an upstream fix is available in version 2.9.9.

Affected VersionsENISA

LinuxCNC 0 <2.9.9

Affected Packages

euvd linuxcnc fix: 2.9.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Know when Linuxcnc gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 8.4 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jun 30, 2026 - 03:01 EUVD
CVE Published
Jun 30, 2026 - 01:09 cve.org
HIGH 8.4

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

LinuxCNC (uspace) versions before 2.9.9 contain a local privilege escalation vulnerability enabling any unprivileged user to execute code as root; no public exploit identified at time of analysis. Organizations operating Linux-based CNC equipment face risk of complete system compromise through internal user access. Immediate patching is required to secure manufacturing control systems.

Recommended Action

Within 24 hours: inventory all systems running linuxcnc-uspace prior to version 2.9.9; restrict local shell access to trusted personnel only. Within 7 days: upgrade linuxcnc-uspace to version 2.9.9 on development and staging environments; validate system functionality before production release. Within 30 days: deploy version 2.9.9 across all production systems; confirm no instances remain below the patched version.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade linuxcnc-uspace to version 2.9.9 or later. Until deployment, restrict local system access to authenticated administrators and implement monitoring for privilege escalation attempts.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

Debian

Bug #1140943
linuxcnc
Release Status Fixed Version Urgency
bookworm vulnerable 2.9.0~pre1+git20230208.f1270d6ed7-1+deb12u1 -
trixie vulnerable 1:2.9.4-2 -
sid fixed 1:2.9.9-2 -
(unstable) fixed 1:2.9.9-1 -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy