Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://bugs.debian.org/1140943
- https://github.com/LinuxCNC/linuxcnc/commit/00d534c87464a3ed446656998aa02b8abc74
- https://github.com/LinuxCNC/linuxcnc/commit/ea7cd579d39b586952a42e3da9a26d3e36e7
- https://github.com/LinuxCNC/linuxcnc/compare/v2.9.8...v2.9.9
FAQ
What is CVE-2026-58302?
CVE-2026-58302 is a vulnerability with a CVSS score of 8.4 (HIGH). 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. Insuffi...
How severe is CVE-2026-58302?
CVE-2026-58302 has been rated HIGH with a CVSS base score of 8.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-58302?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.