{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.5.6"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5a6e660b4663d998d52c7dc4511299f3368ef611"
            },
            {
              "fixed": "28ff15e4ae69950aebea110a13e5ab895d234dfc"
            }
          ],
          "repo": "https://github.com/skylot/jadx",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w6f5-h4x4-rfpj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42049.json"
  },
  "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.",
  "id": "CVE-2026-42049",
  "modified": "2026-07-17T03:41:36.193834162Z",
  "published": "2026-07-14T21:44:25.018Z",
  "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"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "jadx: RCE Via Groovy Code Injection in Gradle Export"
}