Authorization Bypass (IDOR)Weakness · CWE-639

CVE-2026-55418

HIGH · 8.6 CVSS v3.1 Published 2026-07-07
Patch available
A vendor patch is available. No clean upgrade release — apply the published patch.
See remediation →
95/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
FastGPT is an open source AI knowledge base platform. Prior to v4.15.0-beta5, two FastGPT file handlers authorize an unrelated resource and then sign or read an S3 object using a key taken directly from the request, without checking that the key belongs to the caller's team. Because S3 object keys are global within the bucket and carry the tenant id only as a path segment, an attacker can supply another team's key and obtain its file contents through the chat-file presign endpoint or dataset preview endpoint. This issue is fixed in version v4.15.0-beta5.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

FastGPT versions prior to v4.15.0-beta5 contain an IDOR vulnerability in two file handlers (chat-file presign endpoint and dataset preview endpoint). These handlers take an S3 object key directly from the request without validating it belongs to the caller's team. Since S3 keys are globally unique within the bucket and only carry tenant ID as a path segment, attackers can supply another team's S3 key to read or sign files they should not have access to.

MitigationUpgrade to FastGPT v4.15.0-beta5 or later which adds proper team/tenant validation for S3 keys before signing or reading objects.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify FastGPT version
    Locate the package.json file in the FastGPT installation directory and check the 'version' field, or query the application's version endpoint if available
    Affected if Version is prior to v4.15.0-beta5 (e.g., v4.14.x, v4.15.0-beta4 or earlier)
  2. Locate the S3/object storage configuration
    Examine the FastGPT configuration file (often config.yaml, .env, or settings.json) for S3-compatible storage settings (AWS_S3_BUCKET, AWS_S3_PATH_KEY_PREFIX, or similar)
    Affected if S3 storage is configured and the installation uses the vulnerable version
  3. Identify exposed API endpoints
    Review API route definitions or Swagger/OpenAPI documentation for endpoints handling file presign and dataset preview (typically paths containing '/chat/file', '/dataset/preview', or '/file/presign')
    Affected if The chat-file presign endpoint or dataset preview endpoint are publicly or internally accessible
  4. Verify tenant isolation in file operations
    Inspect the source code of the file handler functions for S3 object key validation that checks if the requested object belongs to the requesting user's team/tenant before generating a presigned URL
    Affected if The code lacks explicit team ownership validation for S3 object keys, allowing cross-tenant file access
  5. Test cross-tenant file access (if authorized)
    Create two separate team/tenant accounts, obtain an S3 object key belonging to team A, then attempt to access it using team B's authenticated session via the presign or preview endpoint
    Affected if Team B can retrieve or download files belonging to team A by supplying team A's S3 object key

A user is affected if FastGPT version is prior to v4.15.0-beta5 AND S3-based file handling is enabled, with the vulnerable endpoints accessible to users who belong to different tenants/teams.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Patch available Apply the vendor patch
Vendor patch github.com →
Interim mitigation

Upgrade to FastGPT v4.15.0-beta5 or later which adds proper team/tenant validation for S3 keys before signing or reading objects.

Recommended fix High confidence

v4.15.0-beta5 or later

  1. 1. Identify the currently running FastGPT version using the deployment method (e.g., Docker tag, Helm chart version, or package.json)
  2. 2. Backup the current FastGPT deployment configuration and any persistent data
  3. 3. If using Docker, update the image tag to v4.15.0-beta5 or later (e.g., `docker pull ghcr.io/labring/fastgpt:v4.15.0-beta5`)
  4. 4. If using a package manager, update the package to version v4.15.0-beta5 or later
  5. 5. Redeploy the FastGPT application with the updated version
  6. 6. Verify the deployment succeeded and test the chat-file presign and dataset preview endpoints to confirm the fix is working
  7. 7. Monitor logs for any errors and ensure all services are running correctly

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA1.0 h
10.0 hours of engineering $1,750
Get the patch applied

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-55418 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-55418 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data