{"id":"CVE-2026-42049","summary":"jadx: RCE Via Groovy Code Injection in Gradle Export","details":"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.","aliases":["GHSA-w6f5-h4x4-rfpj"],"modified":"2026-07-17T03:46:20.196943609Z","published":"2026-07-14T21:44:25.018Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42049.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-94"]},"references":[{"type":"WEB","url":"https://github.com/skylot/jadx/releases/tag/v1.5.6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42049.json"},{"type":"ADVISORY","url":"https://github.com/skylot/jadx/security/advisories/GHSA-w6f5-h4x4-rfpj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42049"},{"type":"FIX","url":"https://github.com/skylot/jadx/commit/5a6e660b4663d998d52c7dc4511299f3368ef611"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/skylot/jadx","events":[{"introduced":"0"},{"fixed":"5a6e660b4663d998d52c7dc4511299f3368ef611"},{"fixed":"28ff15e4ae69950aebea110a13e5ab895d234dfc"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.5.6"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.7","v1.4.6","v1.4.5","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.9.0","v0.8.0","v0.7.1","v0.6.1","v0.6.0","v0.5.4","v0.5.2","v0.5.1","v0.5.0","v0.5.0-beta1","v0.4.1","v0.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42049.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}