Skip to main content

NextChat CVE-2026-7178

MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-27 cna@vuldb.com
5.5
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send HTTP request to Artifacts Endpoint
  2. Exploit
    Inject internal URL in ID parameter
  3. Execution
    storeUrl issues unvalidated SSRF request
  4. Impact
    Server returns internal resource response to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Artifacts Endpoint (app/api/artifacts/route.ts) must be reachable over the network - this endpoint is a standard application component and is expected to be enabled by default in affected versions 2.16.0 and 2.16.1. No authentication is required per the CVSS 4.0 PR:N metric. The attacker must be able to send HTTP requests to the NextChat API, which is typically internet-exposed in self-hosted deployments. Exploitation impact is bounded by the server's outbound network policy: if egress to internal address ranges or cloud metadata services is blocked at the network layer, SSRF reach is reduced to probing externally reachable addresses only. No specific non-default configuration or user interaction is required.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates unauthenticated, low-complexity, network-accessible exploitation with no special attack prerequisites, making this trivially reachable against any exposed NextChat instance. The scored impact is partial (VC:L/VI:L/VA:L), and the overall score of 5.5 reflects limited confidentiality, integrity, and availability impact - SSRF probes internal resources but does not in itself guarantee full system compromise. EPSS at 0.04% (14th percentile) suggests low observed exploitation probability at time of analysis; however, SSVC explicitly rates the attack as automatable with a public POC present, which elevates practical risk above what EPSS alone implies. The absence of any vendor patch - the project has not responded to disclosure - means defenders cannot rely on upstream remediation and must apply compensating controls. The combination of PR:N, automatable SSVC rating, and publicly available exploit code makes this a meaningful operational priority despite the moderate CVSS score.

Exploit ScenarioDerived

An unauthenticated external attacker sends a crafted HTTP request to the NextChat Artifacts Endpoint with the ID parameter set to an internal resource URL such as http://169.254.169.254/latest/meta-data/. The storeUrl function passes the value without validation, causing the NextChat server to issue a GET request to the AWS instance metadata service and potentially return IAM credentials or other sensitive data in the HTTP response. A public proof-of-concept is available lowering the barrier to exploitation for any attacker with network access to the NextChat instance.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Server-side request forgery in ChatGPTNextWeb NextChat through version 2.16.1 allows remote unauthenticated attackers to make the server issue arbitrary HTTP requests by manipulating the ID parameter in the storeUrl function of the Artifacts Endpoint. A public proof-of-concept exists (GitHub Gist), and SSVC confirms the attack is automatable with no authentication required. No vendor patch is available; the project has not responded to responsible disclosure via GitHub issue #6741.

RemediationAI

No vendor-released patch has been identified at time of analysis; the project was notified through GitHub issue #6741 but has not responded. Operators should apply the following compensating controls: restrict outbound network egress from the NextChat application server to block SSRF from reaching internal resources - specifically deny access to RFC 1918 address ranges, cloud metadata endpoints (169.254.169.254, fd00:ec2::254), and any internal services not explicitly required for application function, noting this may affect legitimate integrations. Deploy a WAF or API gateway rule that rejects or sanitizes user-supplied URL values in the ID parameter before they reach the Artifacts Endpoint. If the Artifacts feature is not actively used, disable or remove the /api/artifacts route entirely - this eliminates the attack surface but will break artifact-related functionality. Monitor the GitHub repository and issue tracker for patch availability, and reference the public POC at https://gist.github.com/YLChen-007/43252d45d75e8bdd2d45136fd6ffe8a5 to build detection signatures.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the storeUrl function within app/api/artifacts/route.ts, part of the NextChat Artifacts API endpoint. CWE-918 (Server-Side Request Forgery) identifies the root cause: user-supplied input in the ID parameter is used to construct or forward HTTP requests without adequate validation or sanitization. This permits the server process to make requests to arbitrary URLs - including RFC 1918 internal addresses, cloud instance metadata services (e.g., AWS IMDSv1 at 169.254.169.254), or other network-internal services inaccessible from external clients. Affected CPE strings confirm the nextchat application package at versions 2.16.0 and 2.16.1 as vulnerable.

Know when Nextchat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.5 MEDIUM

Network-reachable unauthenticated SSRF with no scope change; partial confidentiality and integrity impact from internal resource probing, no availability impact described.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Apr 27, 2026 - 22:16 nvd
MEDIUM 5.5

DescriptionCVE.org

A weakness has been identified in ChatGPTNextWeb NextChat up to 2.16.1. This affects the function storeUrl of the file app/api/artifacts/route.ts of the component Artifacts Endpoint. This manipulation of the argument ID causes server-side request forgery. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Prevalence
Medium
popular open-source ChatGPT web UI, widely self-hosted
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

cpe:2.3:a:nextchat:nextchat:2.16.0:*:*:*:*:*:*:*
cpe:2.3:a:nextchat:nextchat:2.16.1:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy