Code Injection vulnerabilities
CWE-94 · 12 tracked
Code injection (CWE-94) is a flaw where an application incorporates untrusted input into code that it then executes, letting an attacker run arbitrary commands or scripts.
How it’s exploited
The attacker supplies input that reaches a dynamic-execution sink (eval, template engine, or a deserializer), turning data into executed code — typically leading to full remote code execution.
How to prevent it
Never pass untrusted input to dynamic-execution functions; use safe, non-evaluating alternatives, sandbox where execution is unavoidable, and validate input against a strict schema.
Tracked code injection vulnerabilities
12 CVEs in this class, each with severity, exploit status, EPSS, and remediation.
CVE-2026-55522CVE-2026-55546CVE-2026-55585GHSA-vwf3-4xxj-qg6hCVE-2026-53710CVE-2026-77414CVE-2026-68508CVE-2026-77415CVE-2026-77413CVE-2026-59989CVE-2026-53951CVE-2026-55107
Frequently asked questions
- What is Code Injection?
- Code injection (CWE-94) is a flaw where an application incorporates untrusted input into code that it then executes, letting an attacker run arbitrary commands or scripts.
- How is code injection exploited?
- The attacker supplies input that reaches a dynamic-execution sink (eval, template engine, or a deserializer), turning data into executed code — typically leading to full remote code execution.
- How do you prevent code injection?
- Never pass untrusted input to dynamic-execution functions; use safe, non-evaluating alternatives, sandbox where execution is unavoidable, and validate input against a strict schema.
- How many code injection vulnerabilities are there?
- O3 tracks 12 vulnerabilities classified as CWE-94 (Code Injection), each with severity, exploit status, EPSS exploitation probability, and remediation. The full list is below.