Technical impact
Contao versions 4.0.0 through 5.3.53, 5.4.0 through 5.7.16, and 6.0.0 through 6.0.5 contain a path traversal flaw in the image insert tag processing. By inserting a percentage‑encoded traversal sequence such as ..%2f into a {{image::}} tag, a content editor can bypass the validator that normally blocks insecure paths. The string is later URL‑decoded and the system attempts to serve the file as an image, allowing the attacker to read any file that the web server can access outside the intended files directory. This leads to a remote file read vulnerability without the need for elevated privileges.
Affected Systems
All installations of Contao, including the 4.x branch up to but excluding 5.3.54, the 5.x branch up to but excluding 5.7.17, and the 6.x branch up to but excluding 6.0.6, are affected. Versions newer than these release points are not compromised.
Risk and Exploitability
The CVSS score of 5.3 reflects moderate severity, while the EPSS score of less than 1% indicates a very low, but nonzero, probability that the flaw will be exploited in the wild. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by creating or modifying a page or content element that uses the image insert tag through a normal content‑editor interface; no special user privileges are required beyond edit access. Because the flaw permits reading files from the server filesystem, the impact could be significant if sensitive configuration files or private images are exposed.