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
                
            Metrics
Affected Vendors & Products
References
        History
                    Wed, 27 Aug 2025 11:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | Apple Apple macos Macvim Macvim macvim | |
| Vendors & Products | Apple Apple macos Macvim Macvim macvim | 
Tue, 26 Aug 2025 14:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | ssvc 
 | 
Tue, 26 Aug 2025 12:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| 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 | |
| Title | Privilege Escalation via get-task-allow entitlement in MacVim.app | |
| Weaknesses | CWE-497 | |
| References |  | |
| Metrics | cvssV4_0 
 | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: CERT-PL
Published:
Updated: 2025-08-26T13:54:06.544Z
Reserved: 2025-08-05T15:43:03.434Z
Link: CVE-2025-8597
 Vulnrichment
                        Vulnrichment
                    Updated: 2025-08-26T13:53:58.684Z
 NVD
                        NVD
                    Status : Awaiting Analysis
Published: 2025-08-26T13:15:33.417
Modified: 2025-08-26T13:41:58.950
Link: CVE-2025-8597
 Redhat
                        Redhat
                    No data.