CVE-2026-42049 jadx: RCE Via Groovy Code Injection in Gradle Export
Attackers can execute arbitrary Groovy code on victim machines by crafting malicious AndroidManifest values in APKs processed by jadx.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-42049?
CVE-2026-42049 is a high-severity code injection vulnerability in skylot jadx, published on 14 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
jadx is a Dex to Java decompiler. Prior to 1.5.6, jadx inserts the android:versionName value from an AndroidManifest into the generated app/build.gradle Groovy template without proper sanitization when exporting a decompiled APK as an Android Gradle project. A malicious APK can break out of the string context so that opening or building the exported Gradle project executes attacker-controlled Groovy code on the victim machine. This issue is fixed in version 1.5.6.
Weakness: CWE-94
Which versions are affected by CVE-2026-42049?
How do I fix CVE-2026-42049?
No fix has been published for CVE-2026-42049 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-42049 being exploited?
There is no known exploitation of CVE-2026-42049 in the wild and no public exploit code.
Sources
Also known as GHSA-w6f5-h4x4-rfpj.