Skip to content
OpenAdvisories
Medium · 4.8 CVE-2025-8597 EUVD-2025-25783GHSA-fr79-fj3v-59wf

Privilege Escalation via get-task-allow entitlement in MacVim.app

Published Aug 26, 2025 · Updated Aug 26, 2025 · 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

Affected products

VendorProductAffectedFixed
MacVim MacVim < r181.2 r181.2

References