Vulnerability in openai-sdk (CVE-2026-42302)
Summary
vulnerability in openai-sdk (CVE-2026-42302). Successful exploitation can lead to full system takeover. Exploitable via entrypoint.sh.
Original description
The description as published by the source.
FastGPT is an AI Agent building platform. From version 4.14.10 to before version 4.14.13, the agent-sandbox component of FastGPT is vulnerable to unauthenticated Remote Code Execution (RCE). The startup script entrypoint.sh initializes code-server with the --auth none flag and binds the service to all network interfaces (0.0.0.0:8080). This configuration allows any user with network access to the port to bypass authentication and gain full control over the sandbox environment. This issue has been patched in version 4.14.13.
Source: NIST National Vulnerability Database NVD
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
A component in FastGPT, the agent-sandbox, was found to allow remote execution of code without authentication in certain versions. This vulnerability is highly dangerous as it allows attackers on the internet to potentially take over systems. The affected versions are from 4.14.10 to 4.14.12, with the issue fixed in 4.14.13. It is recommended to update the software immediately to minimize impact.
The FastGPT versions 4.14.10 to 4.14.12 contain a vulnerability in the agent-sandbox component allowing unauthenticated Remote Code Execution (RCE). This issue stems from the entrypoint.sh script, which starts code-server without authentication and binds to service 0.0.0.0:8080. This configuration allows users with network access to fully control the sandbox environment. The vulnerability is patched in version 4.14.13. It is recommended to identify the version and update to at least 4.14.13.
FastGPT <=4.14.12のagent-sandboxでの認証なしリモートコード実行
コードentrypoint.shのcode-server初期化時に--auth noneを使用
Critical (CVSS v3: 9.8) - リモート攻撃可能、認証不要、被害者操作不要
FastGPTをバージョン4.14.13にアップデート
認証を有効化することで一時的な緩和が可能
不正なネットワーク活動(例:ポート8080への不審アクセス)を監視
Related past incidents Similar incidents extracted from past CVEs
OpenSSLのバグにより、認証なしにシステムメモリを読み取ることが可能だった。
Windows Print Spoolerの未認証RCE脆弱性が悪用され、リモートコード実行が可能。
Log4jライブラリの脆弱性により、RCEが可能。認証不要でほぼ全ての展開されたアプリケーションに影響。
If this happens at your company Expected impact per business scenario
不正アクセスにより内部データが流出する可能性がある。
サービスを停止させられ、企業の信頼性に大きな影響を与える可能性がある。
不正なコード実行により、開発中のソフトウェアに予期せぬ変更が加えられる可能性がある。
影響を受けるシステムを特定し、早急にパッチを適用する。ネットワーク経由でのアクセスを制限することなども検討する。
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'openai-sdk' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
openai-sdkを grep し、稼働しているサービス・バージョンを把握する。 -
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。