IT SBIT Services
Schneeberger
DEEN
CVE tracker

Contao CMS: Path traversal in image insert tag allows reading arbitrary image files

CVE-2026-126663Medium 5.3

← All vulnerabilities

Summary

Contao CMS versions 4.0.0 to before 5.3.54, 5.4.0 to before 5.7.17 and 6.0.0 to before 6.0.6 contain a path traversal flaw in the {{image::}} insert tag. A logged-in content editor can use percent-encoded sequences such as ..%2f to bypass the path check, because the check runs before URL decoding. The frontend then resizes and serves image files stored outside the files directory, so an attacker can read any image the web server user can access. This is a confidentiality issue only and does not allow code execution.

Affected

  • Contao 4.0.0 to before 5.3.54
  • Contao 5.4.0-RC1 to before 5.7.17
  • Contao 6.0.0-RC1 to before 6.0.6
  • Default configuration: unaffected (according to the CVE record, the default is unaffected)

Fixed in

  • Upgrade to Contao 5.3.54, 5.7.17 or 6.0.6, depending on the installed branch.

Workaround

Unknown.

  • No vendor-published workaround found. Patching is the stated remedy.

Exploitation

  • Not known to be exploited at the time of writing.
  • No public proof of concept reported by the aggregators checked.
  • The CVE was published on 11 Nov 2026, so this status may change quickly.

Our recommendation

  • Upgrade Contao to 5.3.54, 5.7.17 or 6.0.6, prioritising public-facing sites and sites with many editor accounts.
  • Review content-editor accounts now and remove those that are not needed until the upgrade is complete.
  • Check the vendor advisory GHSA-r7cf-mfp4-r23h for final details.
  • Upgrade any older 5.x installation as well, since a separate unauthenticated path traversal in the images controller was fixed in 5.3.50 and 5.7.12.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 11 Nov 2026, 17:37.

Original description (NVD)

Contao 4.0.0 before 5.3.54, 5.4.0 before 5.7.17, and 6.0.0 before 6.0.6 contains a path traversal vulnerability that allows content editors to read image files anywhere on the filesystem via the {{image::}} insert tag. Attackers can embed percent-encoded sequences like ..%2f that pass Validator::isInsecurePath() before rawurldecode(), making the frontend resize and serve readable image files outside the files directory.

NVD references (9)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.