Every CVE Search/ Get API key

CVE-2018-16462

Command Injection in apex-publish-static-files

10.0 CriticalFix available

A command injection vulnerability in the apex-publish-static-files npm module version <2.0.1 which allows arbitrary shell command execution through a maliciously crafted argument.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

6.99%Up 6.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 10.0

A command injection vulnerability in the apex-publish-static-files npm module version <2.0.1 which allows arbitrary shell command execution through a maliciously crafted argument.

Record
CVE-2018-16462
CVSS 3.1
10.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS 2.0
10.0 HighAV:N/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-77, CWE-78
Updated
2026-11-02
CVE List No score

A command injection vulnerability in the apex-publish-static-files npm module version <2.0.1 which allows arbitrary shell command execution through a maliciously crafted argument.

Record
CVE-2018-16462
Weakness
CWE-77
Updated
2026-11-02
EUVDEUVD-2018-0740 No score

A command injection vulnerability in the apex-publish-static-files npm module version <2.0.1 which allows arbitrary shell command execution through a maliciously crafted argument.

Record
EUVD-2018-0740
Updated
2026-11-03
GitHub AdvisoriesGHSA-9jm3-5835-537m 10.0

Command Injection in apex-publish-static-files

Versions of apex-publish-static-files before 2.0.1 are vulnerable to command injection. This is exploitable if user input is passed into the connectString option in the publish method.

Recommendation

Update to version 2.0.1 or later.

Record
GHSA-9jm3-5835-537m
CVSS 3.1
10.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
OSV 10.0

A command injection vulnerability in the apex-publish-static-files npm module version <2.0.1 which allows arbitrary shell command execution through a maliciously crafted argument.

Record
CVE-2018-16462
CVSS 3.1
10.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-9jm3-5835-537m 10.0

Command Injection in apex-publish-static-files

Versions of apex-publish-static-files before 2.0.1 are vulnerable to command injection. This is exploitable if user input is passed into the connectString option in the publish method.

Recommendation

Update to version 2.0.1 or later.

Record
GHSA-9jm3-5835-537m
CVSS 3.1
10.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
apex-publish-static-files
npm
before 2.0.1
2.0.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-16462 is a critical vulnerability (CVSS 10.0) in Apex-publish-static-files Project Apex-publish-static-files, published October 30, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.99%, the 94th percentile. Fixed in apex-publish-static-files 2.0.1.

References

MoveEnter Open