Description
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.
Published: 2026-07-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

FastGPT contains a flaw in its plugin invoke reverse‑call endpoints where authentication is performed solely by verifying a JSON Web Token signed with the server‑side secret INVOKE_TOKEN_SECRET. The default value for this secret is the constant string "token", and the deployment templates do not set a unique value. Consequently, an unauthenticated attacker can forge an HS256 signed JWT and access endpoints such as /api/invoke/userInfo to retrieve personal identifying information or /api/invoke/fileUpload to write attacker‑controlled content into chat files. This constitutes a severe data exposure and integrity violation and is identified as a CWE‑798 weakness.

Affected Systems

The vulnerability applies to FastGPT version 4.15.0‑beta4, as released by labring. The issue was addressed in release 4.15.0‑beta5, which incorporates stricter authentication checks for the invoke endpoints.

Risk and Exploitability

The CVSS score of 8.8 reflects a high‑severity vulnerability. The EPSS score of less than 1% indicates a very low probability of exploitation in the wild today, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, the attack vector is straightforward: an attacker who can reach the FastGPT API can self‑sign a JWT using the known default secret and supply arbitrary tenant identifiers to obtain data or upload files, without any authentication or privileged credentials.

Generated by OpenCVE AI on July 31, 2026 at 03:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FastGPT to version 4.15.0‑beta5 or later, which removes the reliance on the default "token" secret and adds proper authentication checks.
  • If an upgrade cannot be performed immediately, configure the INVOKE_TOKEN_SECRET to a cryptographically strong random value before starting the service; the deployment templates should be modified to enforce a unique secret.
  • Restrict or disable the /api/invoke/userInfo and /api/invoke/fileUpload endpoints when not required, or implement additional access controls to limit cross‑tenant access.
  • Monitor API access logs for usage of forged or malformed JWTs and consider rate limiting or alerting on suspicious patterns.

Generated by OpenCVE AI on July 31, 2026 at 03:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Labring
Labring fastgpt
Vendors & Products Labring
Labring fastgpt

Wed, 15 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
Description 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.
Title FastGPT: Unauthenticated cross-tenant data access via forgeable plugin-invoke JWT (default INVOKE_TOKEN_SECRET='token')
Weaknesses CWE-798
References
Metrics cvssV4_0

{'score': 8.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-15T15:07:19.325Z

Reserved: 2026-07-10T18:36:58.849Z

Link: CVE-2026-61684

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:45:04Z

Weaknesses
  • CWE-798

    Use of Hard-coded Credentials