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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
Lifecycle Timeline
3DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
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'
Server-side request forgery in FastGPT (labring) versions 4.14.11 and prior lets a low-privileged user coerce the server
Same weakness CWE-798 – Use of Hard-coded Credentials
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-44676