# CVE-2025-8597: Privilege Escalation via get-task-allow entitlement in MacVim.app

- Severity: Medium 4.8 (CVSS:4.0, scored by CERT-PL) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- 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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-08-26T12:23:01.180Z
- Modified: 2026-06-17T10:07:17.947Z
- Weaknesses: CWE-497
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## Description

MacVim's configuration on macOS, specifically the presence of entitlement "com.apple.security.get-task-allow", allows local attackers with unprivileged access (e.g. via a malicious application) to attach a debugger, read or modify the process memory, inject code in the application's context despite being signed with Hardened Runtime and bypass Transparency, Consent, and Control (TCC). Acquired resource access is limited to previously granted permissions by the user. Access to other resources beyond granted permissions requires user interaction with a system prompt asking for permission.

According to Apple documentation, when a non-root user runs an app with the debugging tool entitlement, the system presents an authorization dialog asking for a system administrator's credentials. Since there is no prompt when the target process has "get-task-allow" entitlement, the presence of this entitlement was decided to be treated as a vulnerability because it removes one step needed to perform an attack.


This issue was fixed in build r181.2

(As written by CVE List.)

## Affected

- MacVim MacVim: before r181.2

## References

- <https://cert.pl/en/posts/2025/08/tcc-bypass/> (third-party-advisory)
- <https://github.com/macvim-dev/macvim/pull/1585> (issue-tracking)

## Sources

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

---

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