Labring FastGPT
FastGPT: /api/core/chat/record/getCollectionQuote can disclose cross-tenant dataset text due to an unbound initialId lookup
FastGPT is a knowledge-based AI application platform. From 4.14.17 until 4.15.0-beta5, the POST /api/core/chat/record/getCollectionQuote endpoint authenticates the caller's chat and collection context, but the initialId center-node lookup is not bound to that authorized context. A low-privileged tenant user can call the endpoint with valid attacker-owned appId, chatId, chatItemDataId, and collectionId values while supplying another tenant's dataset data id as initialId, causing the response to include foreign dataset quote or full-text content. This issue is fixed in version 4.15.0-beta5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.14.17, < 4.15.0-beta5
Fixed in 4.15.0-beta5
Mitigation
Upgrade FastGPT to 4.15.0-beta5 or later.
References
- Vendor advisory github.com/labring/FastGPT/security/advisories…
- Patch github.com/labring/FastGPT/pull/7173
- Patch github.com/labring/FastGPT/commit/0c1840c7773c…
1 more
- Release notes github.com/labring/FastGPT/releases/tag/v4.15.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.