Security advisory
APKLeaks is an open-source project for scanning APK file for URIs, endpoints & secrets. APKLeaks prior to v2.0.3 allows remote attackers to execute arbitrary OS commands via package name inside application manifest. An attacker could include arguments that allow unintended commands or code to be executed, allow sensitive data to be read or modified or could cause other unintended behavior through malicious package name. The problem is fixed in version v2.0.6-dev and above.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-21386
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:32 UTC · Revision 1
Source evidence
APKLeaks is an open-source project for scanning APK file for URIs, endpoints & secrets. APKLeaks prior to v2.0.3 allows remote attackers to execute arbitrary OS commands via package name inside application manifest. An attacker could include arguments that allow unintended commands or code to be executed, allow sensitive data to be read or modified or could cause other unintended behavior through malicious package name. The problem is fixed in version v2.0.6-dev and above.
osv:CVE-2021-21386
Complete source record
{
"id": "032a05c3c6444373b9445d7f0614c198a2ed6549e4f3c4b6d5eee812f3d73373",
"url": "https://osv.dev/vulnerability/CVE-2021-21386",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-21386",
"summary": "APKLeaks is an open-source project for scanning APK file for URIs, endpoints & secrets. APKLeaks prior to v2.0.3 allows remote attackers to execute arbitrary OS commands via package name inside application manifest. An attacker could include arguments that allow unintended commands or code to be executed, allow sensitive data to be read or modified or could cause other unintended behavior through malicious package name. The problem is fixed in version v2.0.6-dev and above.",
"evidence": "osv:CVE-2021-21386",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-21386",
"aliases": [
"CVE-2021-21386",
"GHSA-8434-v7xw-8m9x",
"PYSEC-2026-281"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dwisiswant0/apkleaks",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "ccd656976ffe45bacd54459b1fc16879569ae3b3"
},
{
"fixed": "a966e781499ff6fd4eea66876d7532301b13a382"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apkleaks_project:apkleaks:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "a966e781499ff6fd4eea66876d7532301b13a382"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v1.0.2",
"v1.0.1",
"v0.3.2-beta",
"v0.3.1-beta"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21386.json"
}
}
],
"modified": "2026-10-20T10:54:28.766256659Z",
"provider": "osv",
"references": [
"https://github.com/dwisiswant0/apkleaks/commit/a966e781499ff6fd4eea66876d7532301b13a382",
"https://github.com/dwisiswant0/apkleaks/security/advisories/GHSA-8434-v7xw-8m9x"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-21386",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385431,
"published_at": "2021-03-24T21:15:15.177+00:00"
}