Description
Skyvern through 1.0.56 contains a sandbox bypass vulnerability that allows authenticated users to execute code by reconstructing functions from raw bytecode with types.CodeType. Attackers can deploy scripts that evade the is_safe_script_code AST denylist and import blocked modules such as subprocess or socket to run code in the Skyvern server process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Skyvern-AI | skyvern | ≤ 1.0.56 | — |
References
- GitHub Issue #8927 issue-tracking
- https://github.com/Skyvern-AI/skyvern product
- Fix pull request #8937 issue-tracking patch
- Fix commit 31a64c1 patch
- Script AST denylist technical-description
- Script module execution technical-description
- VulnCheck Advisory: Skyvern through 1.0.56 Script Sandbox Bypass via types.CodeType Bytecode third-party-advisory