CVE-2026-54607

FastGPT: SSRF in HTTP-tool OpenAPI schema importer via SwaggerParser $ref (bypasses the isInternalAddress guard)

Published Jul 7, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
Description
FastGPT is a knowledge-based AI application platform. Prior to 4.15.0-beta4, the HTTP-tool OpenAPI schema importer validates only the top-level URL before passing it to SwaggerParser.bundle, whose remote reference resolver fetches $ref URLs without FastGPT's internal-address guard and returns fetched content inline, allowing an authenticated team member to read internal services or cloud metadata. This issue is fixed in version 4.15.0-beta4.

Analysis

AI-generated

Technical impact

FastGPT’s HTTP‑tool OpenAPI schema importer validates only the top‑level import URL before handing it to SwaggerParser.bundle. The downstream reference resolver fetches $ref URLs without applying FastGPT’s internal‑address guard, which is the sole mechanism intended to block access to private or cloud‑metadata endpoints. An authenticated team member can therefore specify a reference that points to an internal service or metadata server, causing the resolver to retrieve that data and embed it directly in FastGPT’s response. This flaw is a Server‑Side Request Forgery (SSRF) that can expose sensitive internal information to an attacker.

Affected Systems

All releases of labring:FastGPT prior to version 4.15.0‑beta4 are affected. The vulnerability is fixed in 4.15.0‑beta4 and later, which restores the internal‑address guard before performing $ref resolution.

Risk and Exploitability

The CVSS score of 7.7 categorises the vulnerability as high severity, indicating a substantial threat to confidentiality of internal resources. The EPSS score of less than 1% suggests a low chance of real‑world exploitation as of this analysis, and the issue is not listed in the CISA KEV catalog. Exploitation requires authentication with a team‑member role and the ability to invoke the schema import, limiting the attack surface to privileged insiders or compromised accounts while nevertheless presenting a notable risk of internal data leakage.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FastGPT to version 4.15.0‑beta4 or newer, which enforces the internal‑address guard for $ref resolution.
  • If an upgrade cannot be performed immediately, modify the OpenAPI importer to reject $ref URLs that resolve to private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or loopback) before forwarding them to SwaggerParser.
  • Restrict FastGPT’s outbound network connectivity to only approved external endpoints or a hardened proxy, and monitor API logs for unusual $ref resolution requests.

Generated by OpenCVE AI on July 31, 2026 at 14: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 a knowledge-based AI application platform. Prior to 4.15.0-beta4, the HTTP-tool OpenAPI schema importer validates only the top-level URL before passing it to SwaggerParser.bundle, whose remote reference resolver fetches $ref URLs without FastGPT's internal-address guard and returns fetched content inline, allowing an authenticated team member to read internal services or cloud metadata. This issue is fixed in version 4.15.0-beta4.
Title FastGPT: SSRF in HTTP-tool OpenAPI schema importer via SwaggerParser $ref (bypasses the isInternalAddress guard)
Weaknesses CWE-918
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

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