Directory Traversal Affecting linuxcnc package, versions <1:2.9.9-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.19% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-LINUXCNC-17724901
  • published30 Jun 2026
  • disclosed30 Jun 2026

Introduced: 30 Jun 2026

CVE-2026-58302  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Debian:unstable linuxcnc to version 1:2.9.9-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream linuxcnc package and not the linuxcnc package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.