All vulnerabilities

Servers and applications

CVE-2026-101005

SSRF Filter Bypass via IPv4-Mapped IPv6 Addresses in Image Resizer

Severity
Low 2.0
Published
13 Sept 2026
Last changed
5 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.3.4
Exploit chance
0.3% in the next 30 daysHigher than 22% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Server-side request forgery (CWE-918)
Attack
Over the network · Only under certain conditions · Needs an administrator account · Needs someone to click or open something
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
Also known as
GHSA-j2j7-7m99-6226
Sources
Project advisories (GitHub)

Description

The image resizer's SSRF guard in System\Classes\ResizeImages::validateExternalImageHost() used filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE) to reject private and reserved addresses. PHP's IP filter does not unwrap IPv4-mapped IPv6 addresses such as ::ffff:127.0.0.1 before applying the range flags, so a mapped loopback or link-local address passed the check even though the kernel routes the resulting connection to the embedded IPv4.

Exploitation requires a pre-existing template-authoring primitive that passes untrusted input into the |resize Twig filter (or ResizeImages::resize() API). The /resize/{file} route resolves a cache entry that was previously written by trusted server-side code, so an unauthenticated visitor cannot cause an arbitrary URL to be fetched without a caller that first pipes their input into the resizer during a template render.

From octobercms/october's security advisory. Shortened; the full text is there.

Workarounds

If upgrading immediately is not possible:

  • Audit template code and backend widget configuration for uses of the |resize filter (or direct ResizeImages::resize() calls) that accept untrusted string input, and reject any host containing ::ffff: or :: before passing it in
  • Block outbound traffic from the web tier to loopback, private, link-local, and 169.254.169.254 at the network layer
Workarounds as given by octobercms/october's security advisory.

Affected software

SoftwareAffected versions
October CMSServers and applications · github:octobercms/october
  • From 4.3.0 before 4.3.4

About October CMS

content management system

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
2,621Packagist, 15 Nov 2026
Total downloads (Packagist)
1,056,452Packagist, 15 Nov 2026
GitHub stars
11,159GitHub, 15 Nov 2026
Forks
2,201GitHub, 15 Nov 2026
Latest release
v4.4.0GitHub, 15 Nov 2026
Released
30 Aug 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
15 May 2014Wikidata
First published on GitHub
26 Nov 2013GitHub

References