Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-61684: CWE-798: Use of Hard-coded Credentials in labring FastGPT

0
High
VulnerabilityCVE-2026-61684cvecve-2026-61684cwe-798
Published: 07/15/2026 (07/15/2026, 14:28:22 UTC)
Source: CVE Database V5
Vendor/Project: labring
Product: FastGPT

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.

CVSS v4.0

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
labring/FastGPT
pkg:github/labring/FastGPT
Affected versions
=4.15.0-beta4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 15:03:30 UTC

Technical Analysis

FastGPT 4.15.0-beta4 uses a hard-coded secret (INVOKE_TOKEN_SECRET) for signing JWT tokens to authenticate access to reverse-call endpoints under /api/invoke/*. Because the secret defaults to a constant string and is not set in official deployment templates, attackers can create valid HS256 JWTs without authentication. This allows them to call /api/invoke/userInfo to access PII across tenants by supplying arbitrary tmbId values, and /api/invoke/fileUpload to write attacker-controlled content into chat files. The vulnerability is classified as CWE-798 (Use of Hard-coded Credentials). It is resolved in FastGPT 4.15.0-beta5.

Potential Impact

An unauthenticated attacker can bypass authentication by self-signing JWT tokens using the hard-coded secret, leading to unauthorized access to sensitive user information across tenants and the ability to upload arbitrary files. This compromises confidentiality and integrity of user data and application files.

Mitigation Recommendations

A fix is available in FastGPT version 4.15.0-beta5 that removes the use of the hard-coded secret and properly secures the JWT authentication mechanism. Users should upgrade to this version or later to remediate the vulnerability. No official patch or temporary fix is indicated beyond upgrading. Since this is not a cloud service, remediation depends on user action.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-10T18:36:58.849Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a579dd068715ace43e954c8

Added to database: 07/15/2026, 14:48:48 UTC

Last enriched: 07/15/2026, 15:03:30 UTC

Last updated: 07/16/2026, 01:48:02 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses