# CVE-2026-58302: rtapiapp in linuxcnc-uspace in LinuxCNC before 2.9.9 allows privilege escalation.

- Severity: High 8.4 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-06-30T01:09:34.141Z
- Modified: 2026-06-30T14:22:10.020Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- LinuxCNC LinuxCNC: before 2.9.9

## References

- <https://github.com/LinuxCNC/linuxcnc/commit/00d534c87464a3ed446656998aa02b8abc74b391>
- <https://github.com/LinuxCNC/linuxcnc/commit/ea7cd579d39b586952a42e3da9a26d3e36e7a272>
- <https://github.com/LinuxCNC/linuxcnc/compare/v2.9.8...v2.9.9>
- <https://bugs.debian.org/1140943>

## Sources

- CVE List: [CVE-2026-58302](https://www.cve.org/CVERecord?id=CVE-2026-58302), CVE Terms of Use, modified 2026-06-30
- NVD: [CVE-2026-58302](https://nvd.nist.gov/vuln/detail/CVE-2026-58302), Public domain, modified 2026-06-30

---

Page: https://cve.day/CVE-2026-58302 · Whole record: https://cve.day/CVE-2026-58302.json · Rebuilt by cve.day 2026-11-25T22:59:26.667Z
