Back to list

Contao: Path traversal in the images controller — GHSA-MRVP-7WMX-5M4H

GitHub · GitHub · GHSA-MRVP-7WMX-5M4H

ID
GHSA-MRVP-7WMX-5M4H
Date
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
5.3

Summary

`ImagesController` joins the user controlled `{path}` onto the configured image target directory with `Path::join()`, which canonicalises `..` segments, and never calls `Path::isBasePath()` to confirm the result stayed inside that directory. An unauthenticated GET with percent encoded dot segments therefore escapes the directory and the file is returned by `BinaryFileResponse`. Reads are bounded to the extensions…

Timeline

Published by source
2026-10-09

Risk context

  • Reported severity or threat level: medium.
  • Reported CVSS score: 5.3 out of 10.
  • Review exposure for the affected product or family: composer: contao/core-bundle.

Product

composer: contao/core-bundle

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-MRVP-7WMX-5M4H
Source
GitHub
Vendor
GitHub
Published by source
2026-10-09
Last source activity
2026-10-09
Additional identifiers
CVE-2026-107844
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.