Skylot jadx
jadx: XAPK archive entries with absolute paths can plant drop-in plugins and achieve code execution on the next jadx run
jadx is a Dex to Java decompiler. From 1.5.2 to 1.5.5, a malicious .xapk file can cause jadx to write attacker-controlled archive entry contents outside the intended XAPK plugin temporary unpack directory because XApkLoader resolves each entry name directly with tmpDir.resolve(fileName) after a CWD-based ZIP security check. When jadx is launched from a directory that is an ancestor of the config directory, the arbitrary write can plant a JAR in plugins/dropins, and the next jadx run loads the JAR with URLClassLoader and ServiceLoader, executing attacker-controlled plugin code. This issue is fixed in version 1.5.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.5.2, < 1.5.6
Fixed in 1.5.6
Mitigation
Upgrade jadx to 1.5.6 or later.
References
- Vendor advisory github.com/skylot/jadx/security/advisories/GHS…
- Patch github.com/skylot/jadx/commit/a74bb07d6eebaf4d…
- Release notes github.com/skylot/jadx/releases/tag/v1.5.6
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.