Summary
Vulnerability in flyto-core (CVE-2026-67425). Confidential information can be exposed externally. Exploitable via llm.chat. Mitigation: upgrade to 2.26.7 or later.
Original description
The description as published by the source.
Summary
llm.chat reads the operator's provider key from the environment (OPENAI_API_KEY, ANTHROPIC_API_KEY, ...) and sends it in the Authorization: Bearer header to base_url, a parameter the caller controls. base_url is only checked against the SSRF guard, and the guard allows any public host, so pointing base_url at an attacker's server hands them the operator's key. flyto-core's own bounty scale rates "environment access exposing secrets (e.g. ANTHROPIC_API_KEY)" as High.
Affected code
src/core/modules/atomic/llm/chat.py (_call_openai):
base_url = params.get('base_url') # caller-controlled
if base_url:
validate_url_with_env_config(base_url) # SSRF check only; a public attacker host passes
if not api_key:
api_key = os.getenv('OPENAI_API_KEY') # operator's key
...
url = (base_url or "https://api.openai.com/v1").rstrip('/') + "/chat/completions"
headers = {"Authorization": f"Bearer {api_key}"}
await client.post(url, headers=headers, json=payload) # sent to base_url
The same wiring (env key plus caller endpoint) exists in ai.model (which does not even SSRF-check base_url), llm.agent, and vector.connector (QDRANT_API_KEY with a caller url). The SSRF guard is the wrong control here: it stops private targets but does nothing about the key being sent to an attacker's public host.
Reproduction
Save as keyexfil_poc.py, run with PYTHONPATH=src/src python keyexfil_poc.py. It sets an operator k…
Source: NIST National Vulnerability Database NVD GitHub Advisory
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Flyto2 Coreのバージョン2.26.6以前には、OPENAI_API_KEYやANTHROPIC_API_KEYなどのプロバイダキーが環境から読み取られ、calllerが制御するbase_urlにAuthorizationヘッダーとして送信されるため、SSRFガードを通過した場合に攻撃者がキーを取得可能になる脆弱性が存在します。この問題はバージョン2.26.6で修正されています。
Flyto2 Coreにおけるプロバイダキー流出の脆弱性
バージョン2.26.6以前のllm.chatモジュール
攻撃者がプロバイダキーを取得でき、これを使って不正アクセスを行う可能性があるため、重大
バージョン2.26.6にアップデートすること
情報なし
バージョンを確認し、2.26.6以上であることを確認する
Affected packages
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- package pypi.org
- web github.com
- web github.com
- web github.com