October CMS: Incomplete Scheme Validation in Image Resizer
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 `|resize` without validation, a `phar://` source could reach the resizer and trigger metadata deserialization - No exposure on default templates or on installations where `|resize` is only applied to trusted values (uploaded file models, theme assets, static URLs) - H
GHSA-2xmm-m4wv-3fjh
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-2xmm-m4wv-3fjh
october/october
Source reference: /affected/0/package/name
- Affected versions
- v4.3.0
Source reference:
/affected/0/versionsv4.3.1Source reference:
/affected/0/versionsv4.3.2Source reference:
/affected/0/versionsv4.3.4Source reference:
/affected/0/versions - Fixed versions
- 4.3.5
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.3.0"
},
{
"fixed": "4.3.5"
}
]
}
],
"package": {
"name": "october/october",
"purl": "pkg:composer/october/october",
"ecosystem": "Packagist"
},
"versions": [
"v4.3.0",
"v4.3.1",
"v4.3.2",
"v4.3.4"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-2xmm-m4wv-3fjh/GHSA-2xmm-m4wv-3fjh.json",
"last_known_affected_version_range": "< 4.3.4"
}
}
]- Related CVEs
- CVE-2026-100909
Source reference:
/aliases
Publisher severity
low
Source reference: /database_specific/severity
- Event
- #23965 · Revision 1
- Added to Heist Feed
- Publisher date