CVE-2026-42049
HIGH
8.4
CVSS 4.0
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.
Metadata
Severity & Metrics
8.4
HIGH CVSS 4.0
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
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| skylot | jadx | — | < 1.5.6 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-94 | cna | CWE-94: Improper Control of Generation of Code ('Code Injection') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 8.4 | HIGH | 4.0 | cna | 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 |
References (3)
- https://github.com/skylot/jadx/security/advisories/GHSA-w6f5-h4x4-rfpj https://github.com/skylot/jadx/security/advisories/GHSA-w6f5-h4x4-rfpj
- https://github.com/skylot/jadx/commit/5a6e660b4663d998d52c7dc4511299f3368ef611 https://github.com/skylot/jadx/commit/5a6e660b4663d998d52c7dc4511299f3368ef611
- https://github.com/skylot/jadx/releases/tag/v1.5.6 https://github.com/skylot/jadx/releases/tag/v1.5.6