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.
Published: 2026-07-07
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 FastGPT releases from the start of the project up to, but not including, 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.

Generated by OpenCVE AI on July 26, 2026 at 18:53 UTC.

Remediation

No vendor fix or workaround currently provided.

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 26, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 08 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 07 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Labring
Labring fastgpt
Vendors & Products Labring
Labring fastgpt

Tue, 07 Jul 2026 21:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-08T13:48:51.954Z

Reserved: 2026-06-15T19:45:23.540Z

Link: CVE-2026-54607

cve-icon Vulnrichment

Updated: 2026-07-08T13:48:38.432Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T19:00:02Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)