CVE-2026-42049 PUBLISHED

jadx: RCE Via Groovy Code Injection in Gradle Export

Assigner: GitHub_M
Reserved: 23.04.2026 Published: 14.07.2026 Updated: 15.07.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.4

Product Status

Vendor skylot
Product jadx
Versions
  • Version < 1.5.6 is affected

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE