Skip to main content

Apktool CVE-2024-21633

HIGH
Path Traversal (CWE-22)
2024-01-03 security-advisories@github.com
7.8
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 7.8, EPSS 80.5%, PoC available, patch available. Apktool is the standard tool for Android reverse engineering, used by security researchers, malware analysts, and CI/CD pipelines. A malicious APK could compromise a security researcher's workstation or a CI/CD build agent when automatically analyzed.

Exploit ScenarioDerived

A malware author distributes an APK that contains a resource file named ../../.ssh/authorized_keys. When a security researcher decompiles the APK with Apktool, it writes the attacker's SSH public key to the researcher's .ssh directory. The attacker gains SSH access to the researcher's machine. In CI/CD contexts, the same technique could overwrite pipeline scripts for supply chain compromise.

Act Now Prioritize within 24-48h. Why: HIGH severity + EPSS > 10%.
Patch available 80.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 28, 2026

Apktool versions 2.9.1 and prior contain a path traversal vulnerability when processing Android APK files. Malicious APK resources with crafted filenames can write files to arbitrary locations on the system, enabling code execution on developer and CI/CD machines that analyze untrusted APKs.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:33 CVSS 7.8

Path traversal in Apktool allows malicious APK files to write arbitrary files to the analyst's system during APK decompilation.

RemediationAI

Update to Apktool 2.9.2 or later. Run APK analysis in sandboxed environments (containers, VMs). Never decompile untrusted APKs on production machines. Review output directories after Apktool runs for files outside the expected project structure.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apktool processes Android APK files by extracting and decompiling resources. Resource filenames from the APK's resource table are used to create output paths without proper sanitization. A malicious APK can include resources with path traversal sequences (e.g., ../../.bashrc) that write files outside the intended output directory when decompiled.

Know when Apktool gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Mar 28, 2026 - 19:33 nvd
Patch available
PoC Detected
Nov 21, 2024 - 08:54 vuln.today
Public exploit code
CVE Published
Jan 03, 2024 - 17:15 nvd
HIGH 7.8

DescriptionGitHub Advisory

Apktool is a tool for reverse engineering Android APK files. In versions 2.9.1 and prior, Apktool infers resource files' output path according to their resource names which can be manipulated by attacker to place files at desired location on the system Apktool runs on. Affected environments are those in which an attacker may write/overwrite any file that user has write access, and either user name is known or cwd is under user folder. Commit d348c43b24a9de350ff6e5bd610545a10c1fc712 contains a patch for this issue.

Executive ViewAI

Why It Matters

Organizations using Apktool face notable risk from CVE-2024-21633, a path traversal vulnerability rated CVSS 7.8. This could allow attackers to access or modify files outside intended directories, potentially exposing sensitive configuration or credentials. With an EPSS score of 81%, this vulnerability faces very high likelihood of exploitation. A patch is available and should be applied as part of regular vulnerability management.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Restrict file upload functionality via WAF; (2) Implement allowlist-based file type validation; (3) Use chroot/containerization to limit filesystem access.

Threat Intelligence Overview

Threat Score
5.5/10
Composite threat intelligence
EPSS Score
80.5%
Top 1% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 80.5%
Patch available Yes
Active threat Yes
Deciding rule
HIGH severity + EPSS > 10%
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Very High

Priority Score

140
Low Medium High Critical
KEV: 0
EPSS: +81
CVSS: +39
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:apktool:apktool:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy