Skip to main content

FastGPT CVE-2026-61684

| EUVDEUVD-2026-44676 HIGH
Use of Hard-coded Credentials (CWE-798)
2026-07-15 GitHub_M
8.8
CVSS 4.0 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
8.8 HIGH
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
vuln.today AI
8.2 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Jul 15, 2026 - 15:19 vuln.today
Analysis Generated
Jul 15, 2026 - 15:19 vuln.today
CVE Published
Jul 15, 2026 - 14:28 cve.org
HIGH 8.8

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.

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.

CVE-2025-52552 MEDIUM POC
6.1 Jun 21

FastGPT is an AI Agent building platform. Prior to version 4.9.12, the LastRoute Parameter on login page is vulnerable t

CVE-2026-34162 CRITICAL
10.0 Mar 31

Unauthenticated HTTP proxy abuse in FastGPT (AI Agent platform) prior to v4.14.9.5 allows remote attackers to relay arbi

CVE-2026-42302 CRITICAL
9.8 May 08

Remote code execution in FastGPT's agent-sandbox component (versions 4.14.10 through 4.14.12) lets any network-adjacent,

CVE-2026-40351 CRITICAL
9.8 Apr 17

NoSQL injection in FastGPT <4.14.9.5 password authentication allows unauthenticated remote attackers to bypass login con

CVE-2026-68929 CRITICAL
9.3 Aug 27

Channel hijack and denial of service in FastGPT (labring/FastGPT) before 4.15.2 lets an unauthenticated remote attacker

CVE-2026-50562 CRITICAL
9.3 Jul 15

GitHub Actions artifact-poisoning (pwn request) in labring/FastGPT allows an external attacker who opens a pull request

CVE-2026-40352 HIGH
8.8 Apr 17

NoSQL injection in FastGPT versions before 4.14.9.5 allows authenticated attackers to bypass password verification on th

CVE-2026-33075 HIGH
8.8 Mar 20

FastGPT versions 4.14.8.3 and below contain a critical arbitrary code execution vulnerability in the fastgpt-preview-ima

CVE-2026-55418 HIGH
8.6 Jul 07

Cross-tenant file disclosure in FastGPT prior to v4.15.0-beta5 allows an attacker to read another team's stored files by

CVE-2026-54607 HIGH
7.7 Jul 07

Server-side request forgery in FastGPT before 4.15.0-beta4 lets an authenticated team member abuse the HTTP-tool OpenAPI

CVE-2026-44285 HIGH
7.7 May 29

Server-Side Request Forgery in Labring FastGPT prior to 4.15.0-beta1 lets an authenticated attacker bypass the platform'

CVE-2026-42345 HIGH
7.7 May 08

Server-side request forgery in FastGPT (labring) versions 4.14.11 and prior lets a low-privileged user coerce the server

Share

CVE-2026-61684 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy