All rules →
Rules / C/C++
SHIELD-CPP-010

Exec with untrusted path

highC/C++CWE-78CVSS 8.8

What it detects

execl or execlp invoked with a variable program path may run attacker-controlled binaries.

How to fix

Use absolute trusted paths and validate arguments before calling exec.

Scan your repo freeFull documentation
Back to all rules
SHIELD-CPP-010: Exec with untrusted path — Zennoxa Shield