Description
Skyvern before 1.0.45 contains a sandbox escape vulnerability in TextPromptBlock that renders prompts twice, first through a sandboxed Jinja environment and then through an unsandboxed environment. Attackers can inject malicious Jinja template syntax through workflow parameters or upstream block output to execute arbitrary code with server process privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Skyvern-AI | skyvern | 0.2.1 – < 1.0.45 | 1.0.45 |
References
- Patch Commit patch
- https://github.com/Skyvern-AI/skyvern product
- Vulnerable code: block.py (sandboxed first render, non-sandboxed second render) technical-description
- Vulnerable code: prompting.py (PromptEngine uses a plain jinja2.Environment) technical-description
- VulnCheck Advisory: Skyvern before 1.0.45 Sandbox Escape via TextPromptBlock third-party-advisory