Skip to main content
CVE Vulnerability Database

CVE-2026-3286: Itwanger Paicoding SSRF Vulnerability

CVE-2026-3286 is a server-side request forgery flaw in Itwanger Paicoding affecting versions 1.0.0 through 1.0.3. Attackers can exploit the Image Save Endpoint remotely. This article covers technical details, impact, and mitigation.

Updated:

CVE-2026-3286 Overview

CVE-2026-3286 is a Server-Side Request Forgery (SSRF) vulnerability affecting itwanger paicoding versions 1.0.0 through 1.0.3. The flaw resides in the Save function of paicoding-web/src/main/java/com/github/paicoding/forum/web/common/image/rest/ImageRestController.java within the Image Save Endpoint component. Attackers can manipulate the img argument to force the server to issue arbitrary HTTP requests to internal or external resources. The vulnerability is remotely exploitable and requires only low-level privileges. A public exploit exists, and the vendor was contacted but did not respond to disclosure attempts.

Critical Impact

Authenticated remote attackers can coerce the paicoding server into making outbound requests to attacker-controlled or internal endpoints, exposing internal services and metadata APIs.

Affected Products

  • itwanger paicoding 1.0.0
  • itwanger paicoding 1.0.1
  • itwanger paicoding 1.0.2
  • itwanger paicoding 1.0.3

Discovery Timeline

  • 2026-02-27 - CVE-2026-3286 published to NVD
  • 2026-04-29 - Last updated in NVD database

Technical Details for CVE-2026-3286

Vulnerability Analysis

The vulnerability is a Server-Side Request Forgery flaw classified under [CWE-918]. The Save function in ImageRestController.java accepts a user-controlled img parameter intended to reference a remote image URL. The function dereferences that URL server-side without validating the destination host, scheme, or address range. An attacker submits a crafted img value pointing to internal services, cloud metadata endpoints, or arbitrary external systems. The paicoding backend then issues the request from its own network context, returning content or side-channel information to the attacker.

Root Cause

The root cause is missing input validation on the img argument before it is passed to an HTTP client for remote fetch. The endpoint trusts arbitrary URLs without allowlisting hosts, blocking private CIDR ranges, or restricting URL schemes.

Attack Vector

The attack is launched over the network against the Image Save Endpoint. An authenticated user submits a POST request to the image save route with the img parameter set to an attacker-chosen URL. The server fetches that URL and processes the response. Attackers commonly target loopback addresses, RFC1918 ranges, and cloud instance metadata services such as 169.254.169.254 to retrieve credentials or pivot into internal services.

No verified public exploit code is reproduced here. Refer to the VulDB entry #348015 and the Feishu disclosure document for technical details.

Detection Methods for CVE-2026-3286

Indicators of Compromise

  • Outbound HTTP requests from the paicoding application server to internal IP ranges such as 127.0.0.1, 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16.
  • Requests originating from the paicoding host to cloud metadata endpoints, particularly 169.254.169.254.
  • Unexpected entries in application logs showing the img parameter containing non-image URLs or non-HTTP schemes.

Detection Strategies

  • Inspect access logs for POST requests to the image save endpoint where the img parameter contains private addresses, hostnames resolving to internal ranges, or unusual ports.
  • Correlate web application logs with outbound network flow data to identify server-initiated requests that follow user-submitted image save operations.
  • Deploy egress filtering rules on the application server and alert on any blocked outbound connection attempts to internal infrastructure.

Monitoring Recommendations

  • Forward paicoding application logs and host network telemetry to a centralized analytics platform for correlation.
  • Alert on DNS lookups from the application server that resolve to private or link-local addresses.
  • Monitor for spikes in requests to the ImageRestController save endpoint from individual authenticated accounts.

How to Mitigate CVE-2026-3286

Immediate Actions Required

  • Restrict access to the Image Save Endpoint to trusted authenticated users until a patched release is available.
  • Place the paicoding application behind a reverse proxy that strips or validates the img parameter against an allowlist of permitted image hosts.
  • Block outbound traffic from the paicoding server to internal management networks and cloud metadata endpoints at the host firewall.

Patch Information

No vendor patch has been published. The disclosure notes that the vendor was contacted but did not respond. Operators should track the VulDB advisory for updates and consider migrating away from affected releases if a fix is not produced.

Workarounds

  • Implement application-layer URL validation that rejects non-HTTPS schemes, private IP ranges, and link-local addresses before any server-side fetch.
  • Disable or remove the Image Save Endpoint if remote image ingestion is not required by the deployment.
  • Apply IMDSv2 or equivalent token-based protection on cloud instances to reduce credential exposure from SSRF.
bash
# Example egress restriction using iptables to block metadata and private ranges
# from the paicoding application user context
iptables -A OUTPUT -m owner --uid-owner paicoding -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -m owner --uid-owner paicoding -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner paicoding -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner paicoding -d 192.168.0.0/16 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.