VYPR
Critical severityNVD Advisory· Published Apr 6, 2020· Updated Aug 4, 2024

CVE-2020-7635

CVE-2020-7635

Description

The compass-compile package through 0.0.1 allows command injection via the options argument, enabling arbitrary command execution.

AI Insight

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

The compass-compile package through 0.0.1 allows command injection via the options argument, enabling arbitrary command execution.

The compass-compile package for Node.js versions up to 0.0.1 contains a command injection vulnerability in its compile function. The root cause is that user-controlled options, specifically the compassCommand property, are passed unsanitized to a child process execution, allowing an attacker to inject arbitrary shell commands [1][2].

An attacker can exploit this vulnerability by providing a malicious options object when calling the compile method. No authentication or special privileges are required; the attack vector is through any input source that controls the options argument, such as a file or API parameter [3][4].

Successful exploitation leads to remote code execution with the privileges of the Node.js process. The attacker can execute arbitrary system commands, potentially leading to full system compromise, data exfiltration, or further lateral movement [1][4].

As of the latest disclosure, there is no patched version of compass-compile. Users should avoid using this package or ensure that the options argument is never derived from untrusted sources. The package appears to be unmaintained, and migration to an alternative is recommended [4].

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
compass-compilenpm
<= 0.0.1

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.