Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Nov 25, 2026

CVE-2026-107844 Scanner

CVE-2026-107844 Scanner - Path Traversal vulnerability in Contao

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsurl
CostFree
0
Times Used
continuous scan runs
0
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
5.3
CVSSmedium
Exploitable remotely over the internet · no authentication required.
Description

Contao is an Open Source CMS. From version 5.0.0 until 5.3.50 and 5.7.12, ImagesController joins the user-controlled {path} parameter to the configured image target directory with Path::join() but does not use Path::isBasePath() to verify that the canonical path remains inside that directory. An unauthenticated request containing encoded parent-directory segments can therefore return files under the project directory through BinaryFileResponse when their names use an extension allowed by contao.image.valid_extensions. The route can also reveal whether arbitrary paths exist, and debug responses can disclose absolute filesystem paths, but paths below the upload directory were not shown to be readable. This issue is fixed in versions 5.3.50 and 5.7.12.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
contaoby contao
>= 5.0.0, < 5.3.50
Updated Nov 29, 2026View on NVD →
Detail

Contao is a widely used open-source content management system (CMS) that caters to individuals and organizations looking to manage and publish web content effectively. It is extensively utilized by web developers, digital agencies, and businesses seeking a robust and user-friendly platform for designing and maintaining websites. Known for its flexibility, Contao offers a range of features that allow users to create custom designs and modular extensions tailored to their specific needs. The CMS supports multilingual websites and provides a comprehensive user management system, making it a popular choice for global and large-scale web projects. Additionally, Contao's active community contributes to continuous improvements and the development of new extensions, ensuring the CMS keeps up with evolving digital trends.

The Path Traversal vulnerability in Contao enables unauthorized access to read arbitrary files within the system. Through the exploitation of inadequate input validation in the ImagesController, attackers can navigate through directories and access files outside of the intended directory scope. This vulnerability affects multiple versions of Contao and poses significant security risks, potentially exposing sensitive project files. Due to its unauthenticated nature, the flaw allows attackers to access data without needing legitimate access credentials. The vulnerability primarily affects instances where image files are used, making it a critical concern for systems reliant on file assets management.

The vulnerability occurs owing to a lack of input validation in the /assets/images path handled by the ImagesController. This flaw enables an attacker to manipulate the input path to access files stored outside the intended directory by traversing different directories. Specifically, it affects systems allowing certain image file extensions, which can be abused to retrieve unauthorized files containing sensitive data. The vulnerable endpoint is the /assets/images route, which fails to verify the normalization of paths to ensure they remain within the designated directory. Consequently, attackers can leverage crafted URLs to gain access to restricted files.

Exploitation of this vulnerability could lead to unauthorized access to confidential files and information, which poses a substantial threat to the integrity and confidentiality of data on affected systems. An attacker could retrieve sensitive configuration files, vendor files, and other non-public resources, significantly compromising data security. The potential consequences include data leakage, escalated privileges, and possible lateral movement within the compromised environment. Organizations utilizing affected versions of Contao are at risk of exposing sensitive system information that could further facilitate other attacks.

REFERENCES

Solution Advice
  • Upgrade Contao to 5.3.50 or later on the 5.3 branch, or to 5.7.12 or later on the newer release branch.
  • Implement strict input validation and sanitization controls to prevent malformed requests from exploiting the path traversal vulnerability.
  • Restrict directory permissions to limit filesystem access from unauthorized paths.
  • Conduct regular security audits and penetration testing to identify potential vulnerabilities and mitigate risks proactively.
  • Enhance logging and monitoring to detect exploitation attempts and respond promptly to any suspicious activity.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.

Browse All Tools