You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Code projects API executes user-provided commands with shell=True #165
The pipeline step runner executes shell commands using subprocess.run with shell=True. While the command comes from the pipeline configuration, if that configuration can be influenced by user input (e.g., custom plan packages), arbitrary command execution is possible.
A malicious user could craft a plan package with shell metacharacters in step commands, achieving remote code execution on the backend server. The sanitized_subprocess_env only filters environment variables, not command injection.
Activity