Authenticated code execution via unsandboxed workflow templates
Published Jun 7, 2025 · Updated Jun 17, 2025
Server-side template injection in Skyvern 0.2.0 and earlier allows remote authenticated users to execute commands through workflow prompts. In skyvern/forge/sdk/workflow/models/block.py, format_block_parameter_template_from_workflow_run_context constructs an unrestricted Jinja2 Template from a prompt and renders it with workflow data. Any account that can edit and run a prompt-bearing workflow block can execute commands in the Skyvern server or container.
Summary
What happened
Server-side template injection in Skyvern 0.2.0 and earlier allows remote authenticated users to execute commands through workflow prompts. In skyvern/forge/sdk/workflow/models/block.py, format_block_parameter_template_from_workflow_run_context constructs an unrestricted Jinja2 Template from a prompt and renders it with workflow data. Any account that can edit and run a prompt-bearing workflow block can execute commands in the Skyvern server or container.
The record
- CVE
- CVE-2025-49619
- Published
- Jun 7, 2025
- Updated
- Jun 17, 2025
- Vendor
- Skyvern
- Product
- Skyvern
- Classifications
- CWE-1336, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 7, 2025CVE publishedPublication date reported by the CVE source.
- Jun 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=0.1.85
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Skyvern 0.1.85 Remote Code Execution via SSTIfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo