🛡️ SC&RE Lab: Command Injection Prevention using Whitelisting in Python Flask — Demonstrates CWE-78 vulnerability detection, secure input validation, and Bandit static analysis.
-
Updated
Aug 24, 2026 - Python
🛡️ SC&RE Lab: Command Injection Prevention using Whitelisting in Python Flask — Demonstrates CWE-78 vulnerability detection, secure input validation, and Bandit static analysis.
Apache Tomcat CGI servlet with enableCmdLineArguments on Windows injects commands. Fixed in 9.0.9/8.5.35/7.0.94. Differential: command injected on vuln, refused on fixed
PoC for CVE-2026-46420, command injection in shivammathur/setup-php via repository-controlled PHP version resolution.
Local, self-contained OS command injection training range: a realistic IT operations platform with 62 labs across 10 categories (CWE-78, CWE-77, CWE-88) on five levels, Beginner to Insane, 49 of them through REST, SOAP and GraphQL APIs, isolated per-lab worker containers and a training dashboard
Dokploy OS Command Injection via Database Password — CVSS 9.9
NukeViet CMS < 4.6.01 custom field callback RCE (CVE-2026-94562, HIGH): a field validator function name was accepted with only a function_exists() check, so system reached call_user_func for arbitrary command execution. Differential from exact upstream code: vuln accepts, fixed enforces allowlist. Includes lab, PoC, exploit.
NLTK Java Launcher OS Command Injection via Token — CVSS 9.8
Openfind MailGates/MailAudit: authenticated remote command injection through a crafted parameter. Vendor remediation passes the value as an argument. Differential: shell syntax injected on vuln, rejected on fixed
Advisory for node-tesseract-ocr ⌯⌲ 50 000 weekly downloads
Advisory for git-js ⌯⌲ 11 mill weekly downloads
Zero-dependency Node.js CWE-78 command-injection, CWE-88 argument-injection, and env-hijack guard for child_process and MCP servers
OS command injection (CWE-78) in Yoshino-Yukitaro/imagemagick_mcp_server — advisory, detection and PoC. Repository archived upstream; no fix possible.
POSIX shell in C with audit logging mapped to NIST SP 800-53, plus CWE-78 command injection and CWE-287 UID spoofing exploit demos with hardened fixes
Reproducible research and local test environment for CNVD-2026-20654 (CWE-78)
Read-only FreeSWITCH source audit for CVE-2026-116779.
Vite+ < 1.5.1 vp env use shell injection (CVE-2026-137190, HIGH): an attacker-controlled registry version string is interpolated unquoted into a shell export evaluated by the profile wrapper. Differential from exact upstream payloads: vuln reaches the shell statement, fixed rejects all. Includes lab, PoC, exploit.
Containerised PoC for CVE-2026-126148 (Fortinet FG-IR-26-200): an OS command injection (CWE-78) in the FortiMail HA cluster lets one unauthenticated join-request packet reach command execution as root. Differential 8.0.1 vs 8.0.2, plus a 129-case sweep over the HA surfaces.
Openfind Mail2000: authenticated remote command injection through a crafted parameter. Vendor remediation passes the value as an argument. Differential: shell syntax injected on vuln, rejected on fixed
Info-ZIP Zip 3.0/3.1b-c: check_zipfile wraps the archive name in single quotes before system() — a name with ' breaks out and runs commands when a victim runs zip -T. Zip 3.0 + Debian patches without/with the fix (3.0-15 vs 3.0-16); injected id runs on vuln, safely quoted on fixed.
To associate your repository with the cwe-78 topic, visit your repo's landing page and select "manage topics."