CVE-2026-54601: FastGPT Cross-Tenant Data Isolation Bypass (v4.14.17–4.15.0-beta3)
FastGPT, an open-source AI knowledge base platform, contains a cross-tenant data isolation flaw affecting versions 4.14.17 through 4.15.0-beta3. An authenticated user in one tenant can exploit a dataset collection creation endpoint to gain unauthorized access to datasets belonging to another tenant. Once the attacker knows or discovers dataset identifiers from another tenant, they can read, modify, or delete that data. The vulnerability stems from inconsistent authorization logic that trusts ownership information from mixed or corrupted dataset objects rather than validating against the calling user's actual tenant context.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Weaknesses (CWE)
- CWE-915
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-07 / 2026-07-08
NVD description (verbatim)
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.
5 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in the POST /api/core/dataset/collection/create/reTrainingCollection endpoint. When an authenticated tenant user submits a request, the endpoint can persist a datasetId value originating from a different tenant's context. This creates a "mixed" dataset object where the ownership anchor is misaligned with the actual tenant boundary. Downstream operations on dataset, collection, and training endpoints then reference this mixed object during authorization checks, leading to decisions based on the corrupted ownership information rather than the caller's authenticated tenant. This allows an attacker who knows or can enumerate dataset IDs from other tenants to perform cross-tenant read, update, and delete operations. The issue is rooted in CWE-915 (Improperly Controlled Multiple Levels of Privileges), where authorization decisions fail to consistently validate against the correct privilege boundary.
Business impact
Organizations deploying FastGPT in multi-tenant environments face data exposure and integrity risks. Tenant isolation is a foundational security boundary in SaaS platforms; compromise of this boundary allows one customer to access, modify, or destroy another customer's proprietary training data and knowledge bases. In scenarios where FastGPT hosts sensitive industry data, competitive intelligence, or regulated information, cross-tenant access could result in data breaches, compliance violations, intellectual property theft, and reputational damage. The attack requires only basic authentication and knowledge of target dataset IDs, making the threat model practical for motivated threat actors.
Affected systems
FastGPT versions 4.14.17 through 4.15.0-beta3 are affected. The issue is resolved in version 4.15.0-beta4 and later. Organizations running FastGPT in production should confirm their installed version and verify patch status against the official release notes. No evidence suggests the vulnerability affects other versions prior to 4.14.17, but users of any version within the affected range should prioritize upgrade planning.
Exploitability
Exploitability is moderate. The attacker must be an authenticated tenant user—they cannot exploit this as an unauthenticated outsider. However, once authenticated, the attack is straightforward: crafting a POST request to the vulnerable endpoint with a dataset ID from another tenant. No special tooling, race conditions, or user interaction is required. The primary barrier to exploitation is discovering or enumerating dataset IDs from target tenants, which may be feasible in environments with predictable ID patterns or if an attacker has partial visibility into the platform. CVSS 3.1 assigns a score of 6.3 (MEDIUM), reflecting the authentication requirement offset by the direct impact on confidentiality, integrity, and availability of peer tenant data.
Remediation
Upgrade FastGPT to version 4.15.0-beta4 or later. This patch version corrects the authorization logic to ensure dataset ownership is validated consistently against the calling tenant, preventing mixed dataset objects from being created or used in subsequent operations. Before upgrading, verify compatibility with your deployment environment and test in a staging instance. If immediate patching is not feasible, consider restricting access to the FastGPT platform to a smaller, trusted user population and implementing network-level access controls to limit who can reach the vulnerable endpoints.
Patch guidance
Verify your current FastGPT version by checking the release or version endpoint in your deployment. If running 4.14.17 through 4.15.0-beta3, plan an upgrade to 4.15.0-beta4 or later. Review the official FastGPT release notes and changelog to understand any breaking changes or new dependencies introduced in the patched version. Test the patch in a non-production environment first, including verification that multi-tenant data isolation is working as expected. After upgrade, confirm the fix by validating that the reTrainingCollection endpoint no longer accepts or persists cross-tenant dataset identifiers.
Detection guidance
Monitor for POST requests to /api/core/dataset/collection/create/reTrainingCollection endpoints with unusual or repeated calls that may indicate enumeration of dataset IDs. Log and review the datasetId values being submitted relative to the authenticated tenant context; a mismatch would indicate exploitation. Inspect application logs for any authorization errors or mixed dataset object warnings that might occur if an attacker attempts to use corrupted dataset references. Consider implementing or enabling audit trails that track dataset creation, modification, and deletion operations by tenant, and alert on cross-tenant operations. Network-level logging of API traffic patterns can help identify reconnaissance activity or bulk enumeration attempts.
Why prioritize this
This vulnerability should be prioritized for patching in multi-tenant FastGPT deployments because it directly undermines tenant isolation, a core security expectation in shared SaaS environments. The low barrier to exploitation (authentication + known dataset ID) combined with the severity of the impact (cross-tenant read, write, delete) justifies moving this above routine maintenance patches. Organizations hosting customer data or sensitive proprietary information in FastGPT should treat this as a high-priority security issue, even though the CVSS score is MEDIUM. Single-tenant deployments or air-gapped instances with restricted user access face lower practical risk but should still upgrade as part of normal patch management.
Risk score, explained
The CVSS 3.1 score of 6.3 (MEDIUM) reflects a vulnerability with low attack complexity, requiring only network access and valid authentication (PR:L), with no user interaction. The scope is unchanged (tenant data remains within the system boundary), but the confidentiality, integrity, and availability impacts are all classified as low in CVSS terms because the impact is bounded to peer tenant data within the same system rather than arbitrary system compromise. However, the practical business risk is elevated due to the nature of the violation (tenant isolation breach), the ease of discovery and exploitation once a tenant credential is obtained, and the sensitive nature of knowledge bases and training data that FastGPT often hosts. Security teams should treat the business risk as higher than the numerical score alone suggests.
Frequently asked questions
Do I need to be an admin to exploit this vulnerability?
No. Any authenticated tenant user—even a regular non-admin user with basic platform access—can exploit this vulnerability. The attacker only needs valid credentials for a single tenant to begin attempting cross-tenant access if they know or can discover dataset IDs from other tenants.
How would an attacker discover dataset IDs from another tenant?
Dataset IDs may be enumerable through error messages, predictable naming patterns, or partial information leakage in API responses. In some environments, IDs might be inferrable from public documentation, shared systems, or social engineering. The vulnerability assumes the attacker either knows the target dataset ID or can discover it through reconnaissance—the vulnerability itself does not provide ID enumeration, but it does enable exploitation once an ID is known.
Does this vulnerability expose data to the public internet or only within tenants?
This vulnerability enables cross-tenant access only; it does not expose FastGPT data to unauthenticated internet users. An attacker must hold valid credentials in at least one tenant to gain unauthorized access to another tenant's data. However, in hosted or cloud deployments, multiple organizational customers may be tenants on the same instance, making this a direct customer-to-customer data breach risk.
Can I work around this without upgrading immediately?
Temporary mitigations include restricting user accounts and API access to a minimal, trusted set of users; disabling the reTrainingCollection endpoint if not in active use; and implementing strict network access controls around the FastGPT platform. However, these are stop-gap measures and do not address the underlying flaw. Upgrade to 4.15.0-beta4 or later at your earliest opportunity.
This analysis is provided for informational purposes to support security decision-making. The details herein are based on available source data and public disclosures as of the published date. No guarantee is made regarding the completeness or timeliness of this information. Always verify patch availability, compatibility, and deployment readiness with official vendor advisories and release notes before implementing remediation. This content does not constitute legal, compliance, or professional security advice. Organizations should engage qualified security professionals to assess their specific exposure and remediation strategy. Source: NVD (public-domain), retrieved 2026-08-16. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2026-42540MEDIUMIRIS Insecure Direct Object Reference API Vulnerability (CWE-915)
- CVE-2026-42862MEDIUMFlowise Mass Assignment Vulnerability Breaks Workspace Isolation
- CVE-2026-48943MEDIUMK2 ≤2.24 Mass-Assignment in User Profile Plugin
- CVE-2026-54515MEDIUMjackson-databind @JsonIgnoreProperties Bypass – Integrity Vulnerability
- CVE-2026-54516MEDIUMJackson-databind @JsonIgnore Bypass via Property Renaming
- CVE-2026-42863HIGHFlowiseAI Mass Assignment Vulnerability in Chatflow Update Endpoint
- CVE-2026-44494HIGHAxios Prototype Pollution to MITM Gadget Chain (v1.0.0–1.15.x)
- CVE-2026-44495HIGHAxios Prototype Pollution Gadget Vulnerability (0.31.0 & 1.15.1)