6.9medium
OctoberCMS ResizeImages.php getSourcePathForResize server-side request forgery
- Severity
- 6.9medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-2xmm-m4wv-3fjh
Description
A vulnerability was found in OctoberCMS up to 4.1.19/4.2.25/4.3.4. The impacted element is the function getSourcePathForResize of the file modules/system/classes/ResizeImages.php. The manipulation of the argument realSourcePath results in server-side request forgery. The attack may be performed from remote. The exploit has been made public and could be used. Upgrading to version 4.3.5 and 4.4.0 is sufficient to resolve this issue. The patch is identified as 0e9736aa2c6d6bd3d60ff6ef9e0b4d32ce387f58. The affected component should be upgraded.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OctoberCMS | 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7 and 43 more Not affected: 4.3.5, 4.4.0 | CVE List |
| october/october (Packagist) | from 4.3.0 before 4.3.5 | GitHub Advisory Database |
All scores
| VulDB | 6.9medium CVSS:4.0 | 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 |
| VulDB | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 7.3high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C |
| GitHub | 3.9low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L |
Classification
What each source says
CVE List
A vulnerability was found in OctoberCMS up to 4.1.19/4.2.25/4.3.4. The impacted element is the function getSourcePathForResize of the file modules/system/classes/ResizeImages.php. The manipulation of the argument realSourcePath results in server-side request forgery. The attack may be performed from remote. The exploit has been made public and could be used. Upgrading to version 4.3.5 and 4.4.0 is sufficient to resolve this issue. The patch is identified as 0e9736aa2c6d6bd3d60ff6ef9e0b4d32ce387f58. The affected component should be upgraded.
GitHub Advisory Database
The image resizer classified external sources by testing whether the source string began with the substring http, and the string-source branch in ResizeImageItem::fromObject() accepted any value containing :// as a URL. As a result, non-http(s) PHP stream wrappers such as phar://, file:// and ftp:// could be stored in the resizer cache and later passed to the underlying image library. On a phar:// path this can lead to metadata deserialization during subsequent file operations.
Exploitation requires an existing template-authoring or backend-configuration primitive that passes untrusted input into the |resize Twig filter (or the ResizeImages::resize() API). The /resize/{file} route itself is a lookup against a cache entry that was previously written by trusted server-side code, and an unauthenticated visitor cannot cause an arbitrary source path to be written into that cache. In October's trust model the Publisher and Developer backend roles that can author templates are already trusted with template code execution, so this is a defense-in-depth hardening rather than an unauthenticated network-to-RCE path.
Impact
- On installations where a template author has piped untrusted input into
|resizewithout validation, aphar://source could reach the resizer and trigger metadata deserialization - No exposure on default templates or on installations where
|resizeis only applied to trusted values (uploaded file models, theme assets, static URLs) - Hardening; not exploitable from the network without a pre-existing injection primitive on the calling code
Patches
The vulnerability has been patched in v4.3.5.
Workarounds
If upgrading immediately is not possible:
- Audit template code and backend widget configuration for uses of the
|resizefilter (or directResizeImages::resize()calls) that accept untrusted string input, and validate the scheme ishttp/httpsbefore passing it in
References
- Reported by 0xGenesi
References
| https://vuldb.com/vuln/410869 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/410869/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-100909 | third-party-advisory | |
| https://vuldb.com/submit/919993 | third-party-advisory | |
| https://github.com/octobercms/october/security/advisories/GHSA-2xmm-m4wv-3fjh | related, web | |
| https://github.com/0xGenesi/CVE/blob/main/October_CMS_Stream_Wrapper_Injection.md | exploit | |
| https://github.com/octobercms/october/commit/0e9736aa2c6d6bd3d60ff6ef9e0b4d32ce387f58 | patch | |
| https://github.com/octobercms/october/releases/tag/v4.3.5 | patch | |
| https://github.com/octobercms/october | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-100909 changed 2026-09-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2xmm-m4wv-3fjh changed 2026-09-29 | CC-BY-4.0 |
| NVD | CVE-2026-100909 changed 2026-09-28 | Public domain |