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.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-48336.json"
"2026-04-12T11:14:32Z"
[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 395.0,
"function_hash": "72116613464738985378492005673564804781"
},
"source": "https://github.com/topjohnwu/magisk/commit/c2eb6039579b8a2fb1e11a753cea7662c07bec02",
"id": "CVE-2024-48336-17365993",
"signature_type": "Function",
"target": {
"function": "install",
"file": "app/shared/src/main/java/com/topjohnwu/magisk/ProviderInstaller.java"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"271302748090116704997226398093029057196",
"46949343717901107046691334759137754466",
"165786013411591125339127227260090336603",
"80814988501233857635143305039870665054",
"224740942548903968123671431217185881093",
"72707519580048014493916002148735777390"
]
},
"source": "https://github.com/topjohnwu/magisk/commit/c2eb6039579b8a2fb1e11a753cea7662c07bec02",
"id": "CVE-2024-48336-745a282f",
"signature_type": "Line",
"target": {
"file": "app/shared/src/main/java/com/topjohnwu/magisk/ProviderInstaller.java"
}
}
]