Contao file manager bypass lets protected folders be published
CVE-2026-126662 and 2 more
Staff with limited rights can publish hidden folders in the website manager.
- CVE
- CVE-2026-126662 and 2 more
- Score
- CVSS 7.1 · CVE-2026-126662
- First seen
Mitigation
Update to 5.3.54 on the 5.3 line, 5.7.17 on the 5.7 line, or 6.0.6 on the 6.0 line. Move 4.x and other affected versions to the fixed version of their line or later. The same update fixes all three flaws.
Update to at least the version for your product:
- Contao 5.3 5.3.54 or later
- Contao 5.7 5.7.17 or later
- Contao 6.0 6.0.6 or later
Summary
Contao's bulk edit function in the file manager skips the folder access check, so back-end users limited to one folder can publish or un-sync folders outside it. Published folders expose their files for public download. The same release also fixes a path traversal that reads image files and a session flaw after two-factor changes.
Affected when
- CVE-2026-126662 back-end user with a restricted file mount who holds the protected or syncExclude field permission
- CVE-2026-126663 content editor permission to use the image insert tag
- CVE-2026-128335 an attacker already holding a session while the owner changes two-factor settings
Incidents by product: Contao
3 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-126662A user limited to one folder can publish or un-sync folders outside it. CVSS 7.1 CVE-2026-126662 advisory 1 · CVE-2026-126662 advisory 2 · CVE-2026-126662 advisory 3 · CVE-2026-126662 advisory 4 · CVE-2026-126662 write-up 1 · CVE-2026-126662 write-up 2
- CVE-2026-126663A content editor can read image files stored anywhere on the server. CVSS 4.3 CVE-2026-126663 advisory 1 · CVE-2026-126663 advisory 2 · CVE-2026-126663 advisory 3 · CVE-2026-126663 advisory 4 · CVE-2026-126663 write-up 1 · CVE-2026-126663 write-up 2
- CVE-2026-128335Changing two-factor settings does not end sessions already open. CVSS 3.7 CVE-2026-128335 advisory 1 · CVE-2026-128335 advisory 2 · CVE-2026-128335 advisory 3 · CVE-2026-128335 advisory 4 · CVE-2026-128335 write-up 1 · CVE-2026-128335 write-up 2