Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. october/october
  4. ›
  5. GHSA-2xmm-m4wv-3fjh

GHSA-2xmm-m4wv-3fjh: October CMS: Incomplete Scheme Validation in Image Resizer

September 14, 2026

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.

References

  • github.com/advisories/GHSA-2xmm-m4wv-3fjh
  • github.com/octobercms/october/security/advisories/GHSA-2xmm-m4wv-3fjh

Code Behaviors & Features

Detect and mitigate GHSA-2xmm-m4wv-3fjh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.3.0 before 4.3.5

Fixed versions

  • 4.3.5

Solution

Upgrade to version 4.3.5 or above.

Impact 3.9 LOW

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

packagist/october/october/GHSA-2xmm-m4wv-3fjh.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 15 Oct 2026 12:17:51 +0000.