Skip to main content

FastGPT EUVDEUVD-2026-44676

| CVE-2026-61684 HIGH
Use of Hard-coded Credentials (CWE-798)
2026-07-15 GitHub_M
8.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach FastGPT /api/invoke endpoint
  2. Delivery
    Forge HS256 JWT with default secret 'token'
  3. Exploit
    Call /api/invoke/userInfo with arbitrary tmbId
  4. Execution
    Disclose cross-tenant user PII
  5. Impact
    Write 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FastGPT = 4.15.0-beta4

Affected Packages

euvd fastgpt no fix

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

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
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
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular open-source self-hosted AI platform, moderate production footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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-61644 HIGH
7.7 Jul 15

Cross-tenant data disclosure in FastGPT 4.14.17 through 4.15.0-beta5 lets a low-privileged tenant user read another tena

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'

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