CWE-7710 advisories

Command Injection

What it is

Untrusted input is used to construct a command, letting an attacker inject additional commands.

How to fix it

Patch and pass arguments as data, not concatenated command strings.

How to avoid it

Use parameterized command APIs and validate every input against an allow-list.

Known Command Injection vulnerabilities

Stateward flags Command Injection in your own code and dependencies on every pull request.

Scan my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.