CVE-2024-48336: n/a
The install() function of ProviderInstaller.java in Magisk App before canary version 27007 does not verify the GMS app before loading it, which allows a local untrusted app with no additional privileges to silently execute arbitrary code in the Magisk app and escalate privileges to root via a crafted package, aka Bug #8279. User interaction is not needed for exploitation.
AI Analysis
Technical Summary
CVE-2024-48336 is a vulnerability identified in the Magisk App, specifically in the install() function of ProviderInstaller.java before canary version 27007. The core issue is that the function does not verify the authenticity of the Google Mobile Services (GMS) app before loading it. This lack of verification allows a local, untrusted application—without any additional privileges—to silently execute arbitrary code within the context of the Magisk app. Since Magisk operates with root privileges, this arbitrary code execution effectively escalates the attacker's privileges to root level on the device. The vulnerability is classified under CWE-829, which involves inclusion of functionality from untrusted control sphere, indicating a failure to properly validate input or dependencies before execution. Exploitation does not require user interaction, making it easier for attackers to leverage this flaw stealthily. The CVSS v3.1 score of 8.4 reflects the high impact on confidentiality, integrity, and availability, combined with low attack complexity and no required privileges or user interaction. Although there are no known exploits in the wild at the time of publication, the vulnerability poses a significant risk to devices using affected Magisk versions, potentially allowing malicious local apps to gain full control over the device.
Potential Impact
The vulnerability allows a local untrusted app to escalate privileges to root without user interaction, which can have severe consequences. Attackers gaining root access can bypass all security controls on the device, access sensitive data, modify system files, install persistent malware, and disrupt device availability. This compromises confidentiality, integrity, and availability of the device and any data stored or processed on it. Organizations relying on Magisk for device rooting or customization, including developers, security researchers, and advanced users, face risks of unauthorized access and control. The stealthy nature of the exploit increases the risk of undetected compromise. Furthermore, compromised devices could be used as footholds for lateral movement or as part of larger botnets or espionage campaigns. The impact extends to any environment where Magisk is deployed, including personal devices, enterprise-managed Android devices, and testing platforms.
Mitigation Recommendations
To mitigate this vulnerability, users and administrators should immediately upgrade Magisk to canary version 27007 or later, where the issue is fixed. If upgrading is not immediately possible, restrict installation of untrusted local apps by enforcing strict app installation policies and using mobile device management (MDM) solutions to control app sources. Employ runtime application self-protection (RASP) or endpoint detection and response (EDR) tools capable of detecting unusual privilege escalations or code injections. Regularly audit installed apps and monitor for suspicious behavior indicative of exploitation attempts. Developers should review and harden code that loads external packages or dependencies, ensuring proper verification and validation before execution. Additionally, consider disabling Magisk or root access on devices where it is not strictly necessary to reduce the attack surface. Finally, maintain up-to-date backups and implement incident response plans to quickly recover from potential compromises.
Affected Countries
United States, India, China, Germany, United Kingdom, Brazil, Russia, Japan, South Korea, France
CVE-2024-48336: n/a
Description
The install() function of ProviderInstaller.java in Magisk App before canary version 27007 does not verify the GMS app before loading it, which allows a local untrusted app with no additional privileges to silently execute arbitrary code in the Magisk app and escalate privileges to root via a crafted package, aka Bug #8279. User interaction is not needed for exploitation.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-48336 is a vulnerability identified in the Magisk App, specifically in the install() function of ProviderInstaller.java before canary version 27007. The core issue is that the function does not verify the authenticity of the Google Mobile Services (GMS) app before loading it. This lack of verification allows a local, untrusted application—without any additional privileges—to silently execute arbitrary code within the context of the Magisk app. Since Magisk operates with root privileges, this arbitrary code execution effectively escalates the attacker's privileges to root level on the device. The vulnerability is classified under CWE-829, which involves inclusion of functionality from untrusted control sphere, indicating a failure to properly validate input or dependencies before execution. Exploitation does not require user interaction, making it easier for attackers to leverage this flaw stealthily. The CVSS v3.1 score of 8.4 reflects the high impact on confidentiality, integrity, and availability, combined with low attack complexity and no required privileges or user interaction. Although there are no known exploits in the wild at the time of publication, the vulnerability poses a significant risk to devices using affected Magisk versions, potentially allowing malicious local apps to gain full control over the device.
Potential Impact
The vulnerability allows a local untrusted app to escalate privileges to root without user interaction, which can have severe consequences. Attackers gaining root access can bypass all security controls on the device, access sensitive data, modify system files, install persistent malware, and disrupt device availability. This compromises confidentiality, integrity, and availability of the device and any data stored or processed on it. Organizations relying on Magisk for device rooting or customization, including developers, security researchers, and advanced users, face risks of unauthorized access and control. The stealthy nature of the exploit increases the risk of undetected compromise. Furthermore, compromised devices could be used as footholds for lateral movement or as part of larger botnets or espionage campaigns. The impact extends to any environment where Magisk is deployed, including personal devices, enterprise-managed Android devices, and testing platforms.
Mitigation Recommendations
To mitigate this vulnerability, users and administrators should immediately upgrade Magisk to canary version 27007 or later, where the issue is fixed. If upgrading is not immediately possible, restrict installation of untrusted local apps by enforcing strict app installation policies and using mobile device management (MDM) solutions to control app sources. Employ runtime application self-protection (RASP) or endpoint detection and response (EDR) tools capable of detecting unusual privilege escalations or code injections. Regularly audit installed apps and monitor for suspicious behavior indicative of exploitation attempts. Developers should review and harden code that loads external packages or dependencies, ensuring proper verification and validation before execution. Additionally, consider disabling Magisk or root access on devices where it is not strictly necessary to reduce the attack surface. Finally, maintain up-to-date backups and implement incident response plans to quickly recover from potential compromises.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- mitre
- Date Reserved
- 2024-10-08T00:00:00.000Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6d14b7ef31ef0b56db72
Added to database: 2/25/2026, 9:43:48 PM
Last enriched: 2/28/2026, 7:47:45 AM
Last updated: 4/12/2026, 2:38:05 PM
Views: 21
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.