/

CVE-2026-100909

Severity:

HIGH RISK

(7.3)

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

CVE-2026-100909

Deferred

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Unauthorized server-side network access

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 OctoberCMS affects image-resizing logic that processes the realSourcePath argument. A remote attacker may be able to influence the requested source location, causing the server to make requests to unintended internal or external resources.

Affected context

The vulnerability occurs in OctoberCMS versions where the getSourcePathForResize function in modules/system/classes/ResizeImages.php accepts an attacker-influenced realSourcePath. Deployments are at risk when this value can reach image-resizing functionality without sufficiently restricting the permitted schemes, hosts, ports, or network destinations.

Exploit preconditions

  • Attack surface: Remotely reachable OctoberCMS image-resizing functionality
  • Required access: The ability to submit or influence a request that controls, directly or indirectly, the realSourcePath value
  • Trigger point: Processing of the source path by getSourcePathForResize
  • Why exploitation is possible: The server may resolve or retrieve an attacker-selected resource without adequately constraining destinations

Why this happens

The underlying bug is insufficient validation and destination control for a server-side resource path used during image processing. When application-controlled network requests accept attacker-influenced locations without enforcing an allowlist or blocking unsafe destinations, the server can be induced to access resources on behalf of the requester. This behavior maps to CWE-918: Server-Side Request Forgery.

Potential impact

  • An attacker may access services that are reachable from the OctoberCMS server but not from the public internet
  • Sensitive internal endpoints or cloud metadata services could be exposed
  • The server could send requests to unintended external systems
  • Internal network reconnaissance may be possible
  • Requests could consume server resources or interact with trusted network services

General mitigation guidance

Mitigation generally focuses on reducing trust in user-controlled resource locations and enforcing explicit network destination policies.

Common defensive patterns include:

  • Restricting resource retrieval to approved schemes, hosts, ports, and paths
  • Preferencing local, application-managed files over arbitrary network locations
  • Blocking loopback, private, link-local, multicast, and metadata-service address ranges
  • Resolving hostnames and validating the final destination before connecting
  • Disabling redirects or validating every redirect target
  • Applying network egress controls and least-privilege service permissions
  • Separating image-processing workers from sensitive internal networks where practical

How teams detect issues like this

Organizations can detect SSRF risks through:

  • Static analysis rules for HTTP clients or file-fetching APIs receiving request-derived values
  • Code review checks for unrestricted URL, path, host, scheme, redirect, and DNS handling
  • Tests covering loopback, private-network, link-local, metadata, alternate-encoding, and redirect destinations
  • Web application firewall or gateway policies that flag suspicious resource URLs
  • Network monitoring for unexpected outbound requests from application workers
  • Automated security review tools that identify missing destination allowlists and weak URL validation

Sources

SourceLink
github.comgithub.com/0xGenesi/CVE/blob/main/October_CMS_Stream_Wrapper_Injection.md
github.comgithub.com/octobercms/october/commit/0e9736aa2c6d6bd3d60ff6ef9e0b4d32ce387f58
github.comgithub.com/octobercms/october/releases/tag/v4.3.5
github.comgithub.com/octobercms/october/security/advisories/GHSA-2xmm-m4wv-3fjh
vuldb.comvuldb.com/cve/CVE-2026-100909
vuldb.comvuldb.com/submit/919993
vuldb.comvuldb.com/vuln/410869
vuldb.comvuldb.com/vuln/410869/cti

Frequently asked

questions

Yes. The reported attack path is remotely reachable when an attacker can influence the source path processed by the affected image-resizing functionality.

The required access depends on the OctoberCMS route and deployment configuration exposing the vulnerable functionality. The critical condition is control over, or influence on, the realSourcePath value.

Restrict resource retrieval to trusted local or allowlisted destinations, validate resolved addresses, and block private or otherwise sensitive network ranges.

Treat all user-influenced URLs and paths as untrusted, enforce outbound network policies, validate redirects and DNS resolution, and monitor application egress traffic.

Find out what's already
exploitable in your codebase.