VYPR
Critical severityNVD Advisory· Published Oct 31, 2021· Updated Aug 4, 2024

CVE-2020-36376

CVE-2020-36376

Description

Command injection in aaptjs list function allows remote code execution via crafted filePath parameter.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Command injection in aaptjs list function allows remote code execution via crafted filePath parameter.

Vulnerability

The list function in aaptjs version 1.3.1 passes user-supplied filePath arguments directly to the aapt command without sanitization, leading to command injection [1][2]. The vulnerable code uses string concatenation to build the command, allowing arbitrary shell commands to be injected [2].

Exploitation

An attacker can provide a maliciously crafted filePath parameter containing shell metacharacters (e.g., backticks, $()). When the list function is called with such input, the injected commands execute in the context of the Node.js process [2]. No authentication is required if the application exposes this function to user input.

Impact

Successful exploitation allows arbitrary command execution with the privileges of the Node.js process. The attacker can execute system commands, read sensitive files, or install malware [1][2]. This constitutes full remote code execution.

Mitigation

Update to a patched version of aaptjs that properly sanitizes the filePath input. As of the publication date, no official fix has been released in the repository [3]; users should avoid passing untrusted input to the list function or implement input validation.

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
aaptjsnpm
<= 1.3.1

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.