CVE-2026-123783
8.8 HIGHpublic exploit availablePublished 2026-11-06 · Updated 2026-11-06
AI risk analysis
- Summary
- Skyvern versions through 1.0.56 suffer from a sandbox escape vulnerability (CWE-184) where authenticated users can bypass AST-based denylists by reconstructing functions from raw bytecode using types.CodeType, enabling arbitrary code execution on the server. This allows attackers to import and use restricted modules like subprocess or socket despite sandbox restrictions.
- Exploitability
- Exploitation requires valid authentication and knowledge of Python internals to craft bytecode that evades AST-based checks, making it moderately difficult but feasible for skilled attackers.
- Blast radius
- Successful exploitation grants full server compromise with confidentiality, integrity, and availability impact, potentially enabling lateral movement, data exfiltration, or infrastructure takeover.
- Detection
- Defenders should monitor for anomalous subprocess or socket module imports in Python execution logs, especially when triggered by authenticated users via API endpoints handling script execution; look for log entries containing 'types.CodeType' usage or unexpected AST node patterns during script validation.
- Prioritized remediation
- Upgrade to Skyvern version 1.0.57 or later, which patches the sandbox bypass by blocking reconstruction of functions from raw bytecode.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-184
Public exploit & PoC references
- https://github.com/Skyvern-AI/skyvern
- https://github.com/Skyvern-AI/skyvern/blob/v1.0.56/skyvern/forge/sdk/workflow/code_block_safety.py#L106-L142
- https://github.com/Skyvern-AI/skyvern/blob/v1.0.56/skyvern/forge/sdk/workflow/service.py#L1509-L1511
- https://github.com/Skyvern-AI/skyvern/commit/31a64c1a4b5dfaf1e76a7164845e10f2d68248dc
- https://github.com/Skyvern-AI/skyvern/issues/8927
- https://github.com/Skyvern-AI/skyvern/pull/8937
All references
- https://github.com/Skyvern-AI/skyvern
- https://github.com/Skyvern-AI/skyvern/blob/v1.0.56/skyvern/forge/sdk/workflow/code_block_safety.py#L106-L142
- https://github.com/Skyvern-AI/skyvern/blob/v1.0.56/skyvern/forge/sdk/workflow/service.py#L1509-L1511
- https://github.com/Skyvern-AI/skyvern/commit/31a64c1a4b5dfaf1e76a7164845e10f2d68248dc
- https://github.com/Skyvern-AI/skyvern/issues/8927
- https://github.com/Skyvern-AI/skyvern/pull/8937
- https://www.vulncheck.com/advisories/skyvern-through-1.0.56-script-sandbox-bypass-via-types-codetype-bytecode
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-100586PoC
- HIGHCVE-2026-100864PoC
- HIGHCVE-2026-100865PoC
- CRITICALCVE-2026-104070
- CRITICALCVE-2026-107328
- HIGHCVE-2026-110196
- HIGHCVE-2026-118938PoC
- HIGHCVE-2026-18656
Related by shared AI tags and CWE weakness class. Browse the full archive.