Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain ability to define workflow base_url
-
DeliverySet base_url to attacker public host
-
ExploitEngine attaches env API key as Bearer
-
ExecutionRequest reaches attacker endpoint
-
ImpactCapture operator provider key
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Outbound data filtering
|
| Exploitation Conditions | Exploitation requires that (1) the operator has provisioned real provider keys such as OPENAI_API_KEY or ANTHROPIC_API_KEY in the host environment, (2) the attacker can cause llm.chat/ai_model to run with a caller-controlled base_url (via a crafted workflow step or injected instructions to an AI agent), and (3) the chosen endpoint is a public host that satisfies the pre-existing SSRF guard. Limiting factors: if the deployment does not set provider keys in the environment, forbids custom base_url values, or has no path for untrusted input to reach workflow definitions, exploitation is not possible. The key exfiltrated is only what is present in the environment for the affected provider(s), and the impact is confidentiality-only (no integrity/availability effect). |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N, base 8.6) reflects a network-reachable, low-complexity issue with a scope change (S:C) because the secret crosses a trust boundary to a system the attacker controls, and high confidentiality impact with no integrity or availability effect - consistent with a credential-disclosure bug. No EPSS score, KEV entry, or public POC was provided, so exploitation likelihood signals are absent rather than low: treat this as unquantified, not benign. The PR:N rating deserves scrutiny - actually setting a malicious base_url requires the ability to influence a workflow/step definition (directly, or indirectly via prompt injection into an AI agent that composes requests), which in some deployments is not fully unauthenticated; verify against how workflows are authored in your environment. Net: for any deployment that runs Flyto Core with real provider keys in the environment and allows caller-influenced base_url values, this is a genuine high-priority secret-exfiltration risk despite the lack of a published exploit, because the payoff (a live API key) is immediate and monetizable. |
| Exploit ScenarioDerived | An attacker who can influence a Flyto Core workflow - for example through prompt injection into an AI-agent step or by submitting a workflow that sets llm.chat's base_url - points base_url at a public server they control that passes the SSRF guard. When the workflow runs, the engine attaches the operator's OPENAI_API_KEY/ANTHROPIC_API_KEY as an Authorization: Bearer header and the attacker's server logs the incoming credential. No public POC was provided, but the technique is straightforward given low attack complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
Sensitive credential exposure in Flyto Core (flytohub/flyto-core) prior to 2.26.6 lets a remote actor exfiltrate the operator's LLM provider API keys: the llm.chat/ai_model path reads OPENAI_API_KEY and ANTHROPIC_API_KEY from the host environment and forwards them verbatim in an Authorization: Bearer header to a caller-controlled base_url. By supplying a public endpoint that satisfies the existing SSRF guard, an attacker collects the key on their own host. There is no public exploit identified at time of analysis and no CISA KEV listing; the flaw is fixed in 2.26.6, which adds an env-derived-credential endpoint check.
RemediationAI
Vendor-released patch: upgrade to Flyto Core 2.26.6, which contains the fix commit d5f89d71303e3c1e6418d347c5c55fcd173cc8cc and blocks forwarding env-derived provider keys to caller-supplied endpoints (see advisory GHSA-qq9q-xgm3-xv9g at https://github.com/flytohub/flyto-core/security/advisories/GHSA-qq9q-xgm3-xv9g and release https://github.com/flytohub/flyto-core/releases/tag/v2.26.6). If you cannot upgrade immediately, prevent workflows from specifying a custom base_url (pin llm.chat to the official provider endpoints only) so an attacker cannot redirect the credential; the trade-off is loss of legitimate custom/self-hosted LLM gateway support. Additionally, tighten the SSRF allowlist to deny public/arbitrary hosts, and where feasible scope provider keys per-request or via a broker/proxy rather than exposing OPENAI_API_KEY/ANTHROPIC_API_KEY directly in the engine's environment, so a leaked value is short-lived and revocable - the side effect is added secret-management complexity. Rotate any provider keys that may already have been sent to untrusted endpoints.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Flyto Core is an execution kernel for automation and AI-agent workflows written in Python. The affected component is the AI model module (src/core/modules/atomic/ai/model.py), which builds outbound requests to an LLM provider. When a workflow specifies a custom base_url, the module still attached the operator's environment-sourced provider key (OPENAI_API_KEY, ANTHROPIC_API_KEY) as a Bearer token. The root cause maps to CWE-201 (Insertion of Sensitive Information Into Sent Data): a secret intended only for the legitimate provider is transmitted to an arbitrary destination. This is a variant of SSRF where the guard only checks reachability/host policy of the URL, not whether it is trustworthy enough to receive credentials; a public host that passes the SSRF allowlist is treated as a valid credential recipient. The 2.26.6 fix introduces assert_env_credential_endpoint_allowed(base_url, key_from_env), which refuses to forward env-derived keys to caller-supplied endpoints (error_code ENV_KEY_UNTRUSTED_ENDPOINT), and additionally routes base_url through validate_url_with_env_config for SSRF validation.
Know when Flyto Core gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Network-delivered secret exfiltration with a scope change to an attacker-controlled system (S:C, C:H); PR:L because influencing the base_url/workflow generally needs some access, and no integrity/availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.6, llm.chat reads provider keys such as OPENAI_API_KEY and ANTHROPIC_API_KEY from the environment and sends them in the Authorization: Bearer header to caller-controlled base_url, allowing an attacker to receive the operator's key on a public host that passes the SSRF guard. This issue is fixed in version 2.26.6.
Executive ViewAI
Flyto Core versions prior to 2.26.6 expose OpenAI and Anthropic API keys to remote attackers via the llm.chat/ai_model endpoint, enabling direct credential theft. Any organization using Flyto Core for LLM integrations faces immediate risk of unauthorized API consumption, service compromise, and customer data exposure through hijacked AI services.
Apply vendor patch: upgrade to version 2.26.6, which adds environment-derived credential endpoint validation. Until patching completes, restrict network access to the llm.chat/ai_model endpoint and limit base_url parameter values to known internal hosts only.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
More in Flyto Core
View allSecret exfiltration in Flyto Core (flytohub/flyto-core) before 2.26.6 arises because the workflow-engine variable resolv
Arbitrary file write in flytohub Flyto Core (the execution kernel for automation and AI-agent workflows) prior to 2.26.6
Unauthenticated SSRF and secret exfiltration in Flyto Core (flytohub/flyto-core) prior to 2.26.7 lets remote attackers c
Server-side request forgery in Flyto Core (flytohub/flyto-core) prior to 2.26.7 lets a low-privileged workflow author co
Server-side request forgery in Flyto Core (flyto-core), an execution kernel for automation and AI-agent workflows, allow
Server-side request forgery guard bypass in Flyto Core (flyto-core) versions up to and including 2.27.0 allows authentic
EUVD-2026-50468
GHSA-qq9q-xgm3-xv9g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB