Jul 30, 2026·5 min read·31 visits
Low-privileged users can execute arbitrary Server-Side Request Forgery (SSRF) attacks against cloud metadata endpoints and local networks due to unvalidated HTTP-emitting modules in Flyto2 Core.
Flyto2 Core (flyto-core) prior to version 2.26.7 did not utilize its centralized SSRF validation mechanism ('validate_url_with_env_config') across multiple HTTP-emitting modules. This oversight allowed low-privileged users executing automated workflows to perform Server-Side Request Forgery (SSRF) attacks against internal endpoints, loopback interfaces, and cloud provider metadata services.
Flyto2 Core (flyto-core) is an execution engine designed for AI-agent operations and task automations. To carry out its operational steps, it frequently issues outbound HTTP requests on behalf of its users. Prior to version 2.26.7, the framework suffered from multiple decentralized Server-Side Request Forgery (SSRF) vulnerabilities due to inconsistent security posture across its outbound modules.\n\nSeveral modules emitted raw outbound requests directly to caller-provided URLs without passing them through the internal URL sanitation gateway. Because this component serves as the central hub for running dynamic workflow automation steps, the lack of centralized enforcement allowed authenticated users with low privileges to instruct the server to fetch localized configurations, interrogate adjacent intranet APIs, or compromise platform integrity.
The core vulnerability resides in the application's decentralized approach to verifying outbound HTTP destinations. The architecture relied on individual modules to explicitly opt-in to validation via the validate_url_with_env_config utility, rather than deploying an egress-level firewall or a secure-by-default wrapped client interface.\n\nMultiple modules processing third-party webhook integrations, AI vision workflows, GraphQL queries, and proxy configurations executed direct, raw requests using standard networking clients such as aiohttp or httpx without checking the targets. This architectural choice bypassed validation policies designed to blacklist private subnets (such as 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and cloud metadata API addresses (such as 169.254.169.254). Consequently, an attacker capable of configuring tasks could direct the server to communicate with internal resources that are isolated from external internet access.\n\nmermaid\ngraph LR\n A["Low-Privilege User"] -->|"1. Injects internal target URL"| B["Flyto2 Core Executor"]\n B -->|"2. Skips validate_url_with_env_config"| C["Internal Subnet / Cloud Metadata"]\n
The implementation of the fix in commit 0a0a528520ec18f5a21f1ddf858a71cc1edfb6e9 standardized validation across all vulnerable modules. It introduced enforce_outbound_url within src/core/utils.py to route all external URLs through validate_url_with_env_config before issuing requests.\n\nFor example, the AI Vision analyzer was patched to check user-submitted image URLs:\n\npython\n# Before patch\nasync with session.get(image_url) as img_resp:\n if img_resp.status != 200:\n raise ModuleError(f"Failed to download image")\n\n# After patch\ntry:\n enforce_outbound_url(image_url)\nexcept SSRFError as e:\n raise ModuleError(f"SSRF protection blocked request: {e}")\nasync with session.get(image_url) as img_resp:\n pass\n\n\nAdditionally, the patch addressed a redirect bypass (GHSA-c9hr-64h3-gxpc) where an initially validated URL redirected to an internal resource. To block this, a custom guarded_aiohttp_request function disables automatic redirect processing (allow_redirects=False) and manually evaluates the destination host on every redirection hop.\n\nWhile this validation reduces the direct attack surface, the resolution remains susceptible to DNS rebinding. Since the framework resolves hostnames inside validate_url_with_env_config and then triggers a second, independent DNS resolution during the subsequent aiohttp request, a fast-flux DNS response can still redirect the active TCP connection to an internal interface.
Exploitation requires low-privileged user credentials or access to a workspace where workflows can be configured. An attacker can use two primary vectors to compromise isolated systems or access cloud environments.\n\nIn the first vector, an attacker sets up an AI vision workflow using the ai.vision_analyze step. By supplying the EC2 Instance Metadata Service (IMDSv1) endpoint (http://169.254.169.254/latest/meta-data/iam/security-credentials/admin-role) in the image_url field, the worker agent attempts to retrieve the file. Even though the system fails to parse the resulting text as an image, the raw response or debug logs of the execution state can reveal temporary IAM credentials.\n\nIn the second vector, an attacker maps local networks using the webhook modules. By submitting internal IP addresses to communication.slack_send or notification.discord.send_message, the attacker monitors execution latency and error codes. A connection timeout versus an immediate refusal allows the attacker to map active network services across internal IP subnets.
The impact of this vulnerability is classified as High, with a CVSS base score of 8.5. Because the application scope changes (Scope: Changed) from the application container to the host or private local area networks, successful exploitation compromises the confidentiality of separate systems.\n\nAccessing internal endpoints enables attackers to retrieve sensitive configurations, bypass firewalls, and extract credentials. If the execution environment resides on AWS, GCP, or Azure, unauthenticated access to the metadata server compromises IAM service credentials, facilitating lateral movement within the cloud infrastructure.\n\nFurthermore, when chained with the related unauthenticated execution endpoint vulnerability (GHSA-jx74-cqjv-2c67), this flaw allows external actors on the same network to leak the internal execution secret (FLYTO_RUNNER_SECRET), yielding full administrator access over the workflow runner cluster.
To completely resolve the vulnerability, administrators must upgrade the flyto-core application to version 2.26.7 or newer. This update integrates standardized outbound request gating and blocks the HTTP redirect bypass.\n\nIf immediate upgrading is not possible, implement the following network-level mitigations:\n\n* Deploy egress firewall rules on host machines to block the workflow runner containers from reaching the private subnet ranges 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 unless explicitly required.\n\n* Enforce AWS IMDSv2 and set the HTTP hop limit to 1. This stops containers from accessing host instance metadata.\n\n* Run workflow executors within isolated, sandboxed virtual private networks (VPCs) without physical routes to active production microservices or administrative databases.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
flyto-core flytohub | < 2.26.7 | 2.26.7 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-918 |
| Attack Vector | Network (AV:N) |
| CVSS Score | 8.5 (High) |
| EPSS Score | 0.00337 (26.26th percentile) |
| Impact | Server-Side Request Forgery / Internal Reconnaissance / Metadata Exfiltration |
| Exploit Status | PoC available, no active exploitation reported |
| KEV Status | Not Listed |
The web application fetches a remote resource without validating the user-supplied URL.
CVE-2026-55622 (GHSA-qx75-2p3r-pwm5) is an improper access control vulnerability (CWE-284) in Canonical LXD and LXC Incus (tracked as GHSA-c9f5-j9c3-mhrg). In multi-tenant deployments utilizing project-based isolation, the REST API handler for instance creation via POST /1.0/instances verifies that the authenticated user has authorization in the destination project specified by the query parameter, but fails to verify whether the user holds read or view permissions for the source instance when executing a copy operation across projects. Consequently, an authenticated client restricted to a single project can clone instances or snapshots from unauthorized projects into their own project, resulting in complete disclosure of the target instance filesystem and embedded credentials.
An authorization bypass vulnerability in Canonical LXD (tracked as GHSA-7mr3-28h5-m5vx and CVE-2026-55621, and as GHSA-64f3-v33m-w89f in Linux Containers Incus) allows an authenticated user with restricted project access to copy custom storage volumes and volume snapshots from unauthorized projects. The flaw resides in the storagePoolVolumesPost REST API handler, which verifies permissions on the destination project but fails to check whether the caller holds view entitlements on the source project or volume specified in the request body.
A missing authorization and configuration validation vulnerability in Canonical LXD and LXC Incus allows authenticated users within restricted projects to bypass project security boundaries. By smuggling prohibited low-level configuration directives (such as raw.lxc or raw.qemu) inside instance snapshots or backup archives, an attacker can restore these configurations within a restricted project and execute arbitrary commands with root privileges on the underlying host operating system.
A symbolic link traversal vulnerability (CWE-59) in Canonical LXD and Linux Containers Incus allows an authenticated user with image import permissions to read and write arbitrary files on the host filesystem. During image archive unpacking, the daemon fails to reject top-level symbolic links for the instance `templates` directory. Subsequent requests to the instance template API endpoints follow this symbolic link outside the instance storage directory with root privileges, enabling complete host compromise.
CVE-2026-12411 is a broken access control vulnerability in the DevLXD interface of Canonical LXD versions 6.6 through 6.8. The flaw resides in the devLXDInstancePatchHandler component, which fails to verify storage volume ownership when an instance attaches a new disk device via the /dev/lxd guest socket. When the security.devlxd.management.volumes configuration option is enabled, an untrusted guest or DevLXD identity can issue a crafted HTTP PATCH request referencing another tenant's custom storage volume. The LXD host daemon subsequently mounts the target volume into the requesting guest, permitting unauthorized cross-tenant read and write operations.
CVE-2026-105769 (GHSA-5q7h-w9jf-cx97, GO-2026-6225) is an origin validation error and credential exfiltration vulnerability affecting Kaniko prior to version 1.25.20. The flaw stems from an unanchored regular expression in the integrated Azure Container Registry (ACR) credential helper (github.com/chrismellard/docker-credential-acr-env). When Kaniko processes a Dockerfile containing an image reference hosted on a lookalike domain containing an ACR suffix as a substring (e.g., x.azurecr.io.attacker.com), the credential helper acquires a Microsoft Entra ID access token for Azure Resource Manager and transmits it via HTTP POST to the attacker-controlled host.