Root code execution via writable postinstall script
Published Dec 17, 2025 · Updated Dec 17, 2025
Local privilege escalation in Anaconda3 macOS installers before 2024.06-1 allows local users to execute arbitrary code as root. The user_post_install.pkg postinstall script makes $PREFIX/pkgs/user_post_install executable and runs it as root after the installer creates it with world-writable permissions. Exploitation requires a low-privileged local account and an installation outside the installing user's home directory, where the attacker can alter the script before privileged execution.
Summary
What happened
Local privilege escalation in Anaconda3 macOS installers before 2024.06-1 allows local users to execute arbitrary code as root. The user_post_install.pkg postinstall script makes $PREFIX/pkgs/user_post_install executable and runs it as root after the installer creates it with world-writable permissions. Exploitation requires a low-privileged local account and an installation outside the installing user's home directory, where the attacker can alter the script before privileged execution.
The record
- CVE
- CVE-2024-46060
- Published
- Dec 17, 2025
- Updated
- Dec 17, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-77, CWE-732, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 17, 2025CVE publishedPublication date reported by the CVE source.
- Dec 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Anaconda3 2024.02-1 root privilege escalation PoCproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo