CVE-2020-37279

8.1High

Published Oct 12, 2026 · NVD status: Received · AI triage by gemini-3.8-flash

8.1CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-78

What an attacker gets

Attackers can execute arbitrary shell commands with the privileges of the Node.js application process. This requires the application to pass untrusted input into the file paths or maxHeap options used by easy-pdf-merge.

Root cause

The library concatenates source paths, destination paths, and memory options directly into a command string executed via child_process.exec() without sanitization.

Affected versions

easy-pdf-merge 0.1.0 through 0.2.6

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

No fixed version is specified in the data; replace the package with an actively maintained alternative or strictly sanitize and whitelist input paths and options to block shell metacharacters before calling the merge function.

remediation — bash
$ npm list easy-pdf-merge

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

easy-pdf-merge 0.1.0 through 0.2.6 contains an OS command injection vulnerability that allows attackers to execute commands by injecting shell metacharacters into source paths, destination path, or maxHeap option. Attackers can supply file names or options containing double quotes, semicolons, $() or backticks, which child_process.exec() runs through a shell with the Node.js process privileges.

References

Source: nvd.nist.gov/vuln/detail/CVE-2020-37279

More fully triaged vulnerabilities you may want to check next.