/

CVE-2026-97326

Severity:

HIGH RISK

(7.3)

Server-Side Request Forgery (CWE-918) in Chat Server

CVE-2026-97326

Deferred

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Unauthorized server-side network requests and potential access to internal resources

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A server-side request forgery vulnerability in the Chat server may allow a remote attacker to influence requests made by the application. The issue becomes risky when attacker-controlled input reaches server-side request functionality without adequate destination validation, potentially exposing internal services or sensitive metadata.

Affected context

The weakness is associated with functionality in chat-server/src/main/java/cn/sinjinsong/chat/server/ChatServer.java in the Chat component. It may affect deployments where remotely supplied data can influence outbound requests and where the server lacks strict controls over permitted destinations, protocols, redirects, or network ranges.

Exploit preconditions

  • Attack surface: A remotely reachable Chat server feature that processes attacker-controlled request-related input
  • Required access: Access sufficient to invoke the affected server functionality; authentication requirements may depend on deployment configuration
  • Trigger point: Server-side request handling associated with the affected Chat server code path
  • Why exploitation is possible: The application may make outbound requests based on insufficiently constrained input, allowing requests to reach destinations that should not be accessible through the server

Why this happens

The underlying issue is server-side request forgery, mapped to CWE-918. The application appears to permit externally influenced values to affect outbound network requests without reliably enforcing an allowlist of trusted destinations and protocols. This insecure pattern can cause the server to act as a network proxy for an attacker, including toward internal or otherwise restricted services.

Potential impact

  • An attacker may access services reachable from the Chat server but not directly from the public network.
  • The vulnerability could expose cloud instance metadata, internal APIs, or service responses.
  • The server may be used to scan internal network locations or bypass network segmentation.
  • Sensitive information could be disclosed, and downstream actions may be possible if an accessed service permits them.

General mitigation guidance

Mitigation generally focuses on reducing control over outbound destinations and applying defense in depth.

Common defensive patterns include:

  • Allowing requests only to explicitly approved schemes, hosts, ports, and paths
  • Resolving hostnames and validating resulting addresses before connection, including protection against DNS rebinding
  • Blocking loopback, link-local, multicast, private, and other restricted network ranges
  • Disabling unnecessary redirects or validating every redirect destination
  • Separating outbound request functionality into a constrained service with least-privilege network permissions
  • Applying egress firewall policies and avoiding direct access to cloud metadata services where possible
  • Treating all externally supplied URLs and request parameters as untrusted

How teams detect issues like this

Detection approaches commonly include:

  • Static analysis for URL construction, HTTP client calls, and redirect handling that consume request-derived values
  • Code review checks for missing destination allowlists, scheme restrictions, and private-address filtering
  • Runtime monitoring of outbound connections from the Chat server, especially requests to loopback, private, link-local, and metadata ranges
  • Network policy enforcement that records or blocks unexpected egress destinations
  • Dynamic testing with controlled internal endpoints to verify that prohibited destinations cannot be reached

Automated security review tools may help identify request flows that lack validation, but findings should be confirmed against deployment-specific routing and access controls.

Sources

SourceLink
github.comgithub.com/HazyX0/cve/issues/1
vuldb.comvuldb.com/cve/CVE-2026-97326
vuldb.comvuldb.com/submit/908781
vuldb.comvuldb.com/vuln/409334
vuldb.comvuldb.com/vuln/409334/cti

Frequently asked

questions

The disclosure describes a remotely initiated attack. Exploitability depends on whether an exposed Chat server endpoint allows an attacker to influence the affected request-handling behavior.

Not necessarily. The required access depends on the specific endpoint and deployment configuration; any unauthenticated request path that reaches the vulnerable behavior would increase exposure.

Avoid constructing outbound requests directly from untrusted input. Use a strict destination allowlist, validate resolved addresses and redirects, and enforce network-level egress restrictions.

Model outbound requests as privileged operations, review all user-controlled URL flows, test blocked internal destinations, and combine application validation with least-privilege network policies.

Find out what's already
exploitable in your codebase.