Labring FastGPT
FastGPT: Unauthenticated cross-tenant data access via forgeable plugin-invoke JWT (default INVOKE_TOKEN_SECRET='token')
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- = 4.15.0-beta4
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Vendor advisory github.com/labring/FastGPT/security/advisories…
- Patch github.com/labring/FastGPT/pull/7170
- Patch github.com/labring/FastGPT/commit/f5f1e58b2557…
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.