CVE-2026-54601

FastGPT: reTrainingCollection allows server-owned datasetId override causing cross-tenant authorization confusion

Published Jul 7, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
FastGPT is an open source AI knowledge base platform. From 4.14.17 to before 4.15.0-beta4, FastGPT allows an authenticated tenant user to call POST /api/core/dataset/collection/create/reTrainingCollection in a way that persists a server-owned datasetId value from another tenant. This creates mixed dataset objects and downstream dataset, collection, and training endpoints then make authorization decisions from inconsistent ownership anchors, allowing cross-tenant read, update, and delete access when mixed object ids are known. This issue is fixed in version 4.15.0-beta4.

Analysis

AI-generated

Technical impact

FastGPT, an open‑source AI knowledge base platform built by labring, contains a flaw in its POST /api/core/dataset/collection/create/reTrainingCollection endpoint from versions 4.14.17 up to, but not including, 4.15.0-beta4. An authenticated tenant user can invoke this endpoint with a server‑owned datasetId belonging to another tenant, causing the service to persist a mixed‑tenant dataset object. The downstream dataset, collection, and training APIs then perform authorization checks against these inconsistent ownership anchors, potentially granting read, update, or delete privileges over data owned by other tenants. This vulnerability is classified as CWE‑915: server‑side data‑fencing bypass.

Affected Systems

The affected product is FastGPT from labring. Versions 4.14.17 through the end of the 4.14 series contain the vulnerability; the issue was fixed in version 4.15.0-beta4 and later.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity, and the EPSS score of less than 1% indicates a low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. An attacker must be an authenticated tenant user and must know the identifiers of target objects to exploit the flaw; no other conditions are required.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FastGPT version 4.15.0-beta4 or later to apply the vendor patch.
  • Disable or restrict the /api/core/dataset/collection/create/reTrainingCollection API if it is not needed.
  • Audit existing dataset collections for mixed datasetId entries and correct any cross‑tenant assignments before or after upgrading.

Generated by OpenCVE AI on August 1, 2026 at 17:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Labring
Labring fastgpt
Vendors & Products Labring
Labring fastgpt
Type Values Removed Values Added
Description FastGPT is an open source AI knowledge base platform. From 4.14.17 to before 4.15.0-beta4, FastGPT allows an authenticated tenant user to call POST /api/core/dataset/collection/create/reTrainingCollection in a way that persists a server-owned datasetId value from another tenant. This creates mixed dataset objects and downstream dataset, collection, and training endpoints then make authorization decisions from inconsistent ownership anchors, allowing cross-tenant read, update, and delete access when mixed object ids are known. This issue is fixed in version 4.15.0-beta4.
Title FastGPT: reTrainingCollection allows server-owned datasetId override causing cross-tenant authorization confusion
Weaknesses CWE-915
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'}

Weaknesses
  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 8, 2026, 1:53 PM
Reserved
Jun 15, 2026, 7:45 PM
Status
Deferred
Published
Jul 7, 2026, 10:16 PM
Modified
Oct 25, 2026, 8:10 PM