Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach FastGPT /api/invoke endpoint
-
DeliveryForge HS256 JWT with default secret 'token'
-
ExploitCall /api/invoke/userInfo with arbitrary tmbId
-
ExecutionDisclose cross-tenant user PII
-
ImpactWrite content via /api/invoke/fileUpload
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Credential externalization
MITRE ATT&CK
2 techniques across 2 tactics: Persistence, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a FastGPT 4.15.0-beta4 deployment where INVOKE_TOKEN_SECRET is left at its default value 'token' (or otherwise unset) - the out-of-the-box state for official Helm and docker-compose templates, which never populated this variable. The attacker needs only network reachability to the /api/invoke/* endpoints; no account, credentials, or user interaction is needed (CVSS PR:N/UI:N). Exploitation is LIMITED to instances that did not manually configure a strong INVOKE_TOKEN_SECRET: any operator who set a random secret before upgrading was never exploitable, and after upgrading to 4.15.0-beta5 the variable is mandatory and validated. Impact scope is bounded to what the invoke endpoints expose - cross-tenant user PII read via tmbId and content writes into chat files - not full server compromise. |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N, score 8.8) indicates fully remote, low-complexity, unauthenticated exploitation with high confidentiality impact and low integrity impact - consistent with the description, since forging a JWT from a known default secret requires no privileges and no user interaction. EPSS was not provided, and the CVE is not in CISA KEV, so there is no confirmed active exploitation; there is also no referenced POC, so exploitation is currently theoretical but technically trivial. The signals are internally consistent (no conflict between vector and description). This is a genuine high priority rather than an inflated high-CVSS issue: the prerequisite (secret left at default) was the out-of-the-box state for official templates, so a large share of self-hosted instances were likely exploitable, and PII disclosure across tenants is a direct, automatable impact. The main mitigating factor is that operators who manually set a strong INVOKE_TOKEN_SECRET were never vulnerable. |
| Exploit ScenarioDerived | An attacker who can reach a self-hosted FastGPT instance on the network crafts an HS256 JWT signed with the known default secret 'token' and sends it to /api/invoke/userInfo, iterating tmbId values to harvest other tenants' user PII. Using the same forged token against /api/invoke/fileUpload, they write attacker-controlled content into chat files. No authentication, credentials, or user interaction are required, and no POC is publicly referenced yet. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
Authentication bypass in FastGPT 4.15.0-beta4 lets unauthenticated remote attackers forge JWTs and access internal plugin reverse-call endpoints, because /api/invoke/* trusts tokens signed with INVOKE_TOKEN_SECRET whose default value is the literal string 'token' and which official deployment templates never set. By self-signing an HS256 JWT, an attacker can call /api/invoke/userInfo to read cross-tenant user PII via arbitrary tmbId values, or /api/invoke/fileUpload to write attacker-controlled content into chat files. No public exploit identified at time of analysis and not listed in CISA KEV, but the trivial exploitation and hardcoded-secret root cause make this high priority for self-hosted deployments.
RemediationAI
Vendor-released patch: 4.15.0-beta5 - upgrade FastGPT to this version (release https://github.com/labring/FastGPT/releases/tag/v4.15.0-beta5) and review GHSA-w732-rq8c-chc8. As the essential configuration step (and an immediate mitigation for those who cannot upgrade at once), set INVOKE_TOKEN_SECRET to a strong random value of at least 32 characters and ensure the same value is configured on both the main app and the plugin/worker service so reverse calls still function; leaving it at the default 'token' or unset is what enables the bypass. Update your deployment source (Helm secret-env.yaml, docker-compose.template.yml, or 4-15/41501 upgrade env) accordingly, alongside FILE_TOKEN_KEY and AES256_SECRET_KEY. As an additional compensating control until patched, restrict network exposure of the /api/invoke/* endpoints to trusted internal service IPs via reverse proxy or firewall rules - with the trade-off that legitimate reverse calls from external plugin runners must be explicitly allowlisted or they will break.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FastGPT is a self-hosted, knowledge-base AI application platform (vendor labring, CPE cpe:2.3:a:labring:fastgpt). Its plugin system uses 'reverse-call' (Invoke) endpoints under /api/invoke/* that let plugin/worker services call back into the main app. Authentication on these endpoints relies solely on verifying an HS256 JWT signed with the INVOKE_TOKEN_SECRET environment variable. The root cause is CWE-798 (Use of Hard-coded Credentials): the secret defaulted to the constant string 'token' and was omitted from Helm charts, docker-compose templates, and documentation, so any deployment that did not manually set it used a globally known signing key. Because HS256 is symmetric, knowledge of the key allows anyone to mint valid tokens. The fix (PR #7170) makes INVOKE_TOKEN_SECRET a required runtime variable of at least 32 characters, adds it to all deployment templates and env documentation, and enforces it alongside FILE_TOKEN_KEY and AES256_SECRET_KEY.
Know when Fastgpt 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Remote, unauthenticated, low-complexity JWT forgery via a known default secret (AV:N/AC:L/PR:N/UI:N); high confidentiality from cross-tenant PII read, low integrity from chat-file writes, no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
FastGPT is a knowledge-based AI application platform. In 4.15.0-beta4, FastGPT plugin invoke reverse-call endpoints under /api/invoke/* authenticate only by verifying a JWT signed with INVOKE_TOKEN_SECRET, which defaults to the constant string token and was not set in official deployment templates. An unauthenticated attacker can self-sign an HS256 JWT and reach /api/invoke/userInfo to disclose cross-tenant user PII by attacker-supplied tmbId values, or /api/invoke/fileUpload to write attacker-controlled content into chat files. This issue is fixed in version 4.15.0-beta5.
Executive ViewAI
FastGPT 4.15.0-beta4 self-hosted deployments are vulnerable to unauthenticated authentication bypass (CVE-2026-61684, CVSS 8.8) that allows attackers to forge JWTs and access internal endpoints, reading cross-tenant user data and injecting content into customer files. The vulnerability stems from a hardcoded default JWT secret, placing organizations at immediate risk of multi-tenant data breaches and regulatory non-compliance.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Set INVOKE_TOKEN_SECRET to a strong random value (minimum 32 characters) across all deployments; (2) Restrict network access to /api/invoke/* endpoints to only known internal services; (3) Implement monitoring for suspicious authentication-bypass patterns in endpoint access logs; (4) Conduct comprehensive audit of userInfo and fileUpload endpoint access spanning the last 90 days.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
FastGPT is an AI Agent building platform. Prior to version 4.9.12, the LastRoute Parameter on login page is vulnerable t
Unauthenticated HTTP proxy abuse in FastGPT (AI Agent platform) prior to v4.14.9.5 allows remote attackers to relay arbi
Remote code execution in FastGPT's agent-sandbox component (versions 4.14.10 through 4.14.12) lets any network-adjacent,
NoSQL injection in FastGPT <4.14.9.5 password authentication allows unauthenticated remote attackers to bypass login con
Channel hijack and denial of service in FastGPT (labring/FastGPT) before 4.15.2 lets an unauthenticated remote attacker
GitHub Actions artifact-poisoning (pwn request) in labring/FastGPT allows an external attacker who opens a pull request
NoSQL injection in FastGPT versions before 4.14.9.5 allows authenticated attackers to bypass password verification on th
FastGPT versions 4.14.8.3 and below contain a critical arbitrary code execution vulnerability in the fastgpt-preview-ima
Cross-tenant file disclosure in FastGPT prior to v4.15.0-beta5 allows an attacker to read another team's stored files by
Cross-tenant data disclosure in FastGPT 4.14.17 through 4.15.0-beta5 lets a low-privileged tenant user read another tena
Server-side request forgery in FastGPT before 4.15.0-beta4 lets an authenticated team member abuse the HTTP-tool OpenAPI
Server-Side Request Forgery in Labring FastGPT prior to 4.15.0-beta1 lets an authenticated attacker bypass the platform'
EUVD-2026-44676
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB