Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42049: CWE-94: Improper Control of Generation of Code ('Code Injection') in skylot jadx

0
High
VulnerabilityCVE-2026-42049cvecve-2026-42049cwe-94
Published: 07/14/2026 (07/14/2026, 21:44:25 UTC)
Source: CVE Database V5
Vendor/Project: skylot
Product: jadx

Description

jadx, a Dex to Java decompiler, prior to version 1.5.6, improperly sanitizes the android:versionName value from an AndroidManifest when exporting a decompiled APK as an Android Gradle project. This allows a malicious APK to inject Groovy code into the generated build.gradle file, which can be executed when opening or building the project. The vulnerability is fixed in version 1.5.6.

CVSS v4.0

Score 8.4high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

GitHub Actionsmore threats →ai
skylot/jadx
pkg:github/skylot/jadx
Affected versions
<1.5.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 22:17:31 UTC

Technical Analysis

CVE-2026-42049 is a code injection vulnerability (CWE-94) in the jadx decompiler before version 1.5.6. The issue arises because jadx inserts the android:versionName from the AndroidManifest into the generated app/build.gradle Groovy template without proper sanitization. A maliciously crafted APK can break out of the string context in the Gradle template, causing attacker-controlled Groovy code to execute on the victim's machine when the exported Gradle project is opened or built. This vulnerability has a CVSS 4.0 score of 8.4, indicating high severity. The vulnerability is resolved in jadx version 1.5.6.

Potential Impact

An attacker who provides a malicious APK can cause arbitrary Groovy code execution on the victim's machine during the process of opening or building the exported Gradle project generated by jadx. This can lead to code execution with the privileges of the user running jadx, potentially compromising the victim system.

Mitigation Recommendations

Upgrade jadx to version 1.5.6 or later, where this vulnerability is fixed. There is no indication of any temporary or alternative mitigations; applying the official fix is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-23T16:05:01.709Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a56b22968715ace4347ce21

Added to database: 07/14/2026, 22:03:21 UTC

Last enriched: 07/14/2026, 22:17:31 UTC

Last updated: 07/14/2026, 22:22:39 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses