Skip to main content

Contao CMS CVE-2026-104882

MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-20 https://github.com/contao/contao GHSA-23w9-4pg3-xwm3
6.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as scoped non-admin editor
  2. Delivery
    Open CSV import wizard (custom module key action)
  3. Exploit
    Pass module-level access check, no per-record voter runs
  4. Execution
    Submit CSV targeting out-of-scope tl_content/tl_form_field ID
  5. Impact
    Overwrite record list/options fields (blind integrity IDOR)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires a valid, authenticated Contao backend account for a non-admin editor who holds module-level access (USER_CAN_ACCESS_MODULE) to a backend module exposing the CSV import wizard's custom 'key' action dispatched by Backend::getBackendModule() (Backend.php:322-327). Given that access, the editor can target arbitrary tl_content / tl_form_field record IDs outside their assigned page/form scope because no per-record voter runs. Limiting factors: exploitation is confined to overwriting the tableitems/listitems/options fields with a serialize() of a plain string array from the CSV (no object injection, no confidentiality or availability impact), the attacker must already be an authorized backend user (PR:L), and installations must run an affected version (<5.3.50 on the 5.0-5.3 branch, or >=5.4.0-RC1 and <5.7.12). Per the vendor, updating to 5.3.50 or 5.7.12 is the remediation.

Impact

This is a moderate-severity authorization flaw, not a drive-by threat. The provided CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N, base 6.5) requires an authenticated low-privileged actor (PR:L) - specifically a non-admin backend editor - so this is a privilege-escalation/IDOR issue reachable only by someone who already holds a Contao backend account. Impact is integrity-only (C:N, A:N): blind overwrite of tableitems/listitems/options on arbitrary tl_content / tl_form_field records, not code execution or data theft. No EPSS score, no CISA KEV listing, and no PoC/exploit reference were supplied, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with the signals: a real but bounded insider/compromised-editor risk rather than a mass-exploited internet-facing bug. The main caveat is the input Tag 'Authentication Bypass', which is imprecise - the CWE evidence (CWE-639 authorization bypass through user-controlled key, plus CWE-862 missing authorization) and the description describe an authorization/per-record access-control bypass, not a bypass of authentication itself; the attacker must still be authenticated.

Exploit ScenarioDerived

A non-admin editor whose Contao backend permissions are scoped to certain pages or forms uses the CSV import wizard's custom module 'key' action, which Backend::getBackendModule() dispatches after only the module-level USER_CAN_ACCESS_MODULE check and with no per-record voter. The editor supplies a record ID outside their scope and overwrites that record's tableitems/listitems/options with a serialized string array built from the uploaded CSV. No public exploit identified at time of analysis; exploitation is a straightforward authenticated backend request (AV:N/AC:L).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Contao core-bundle's CSV import wizard lets any backend editor who holds module-level access write arbitrary tl_content and tl_form_field records outside their assigned page or form scope, because the custom 'key' action is dispatched in Backend::getBackendModule() after only the USER_CAN_ACCESS_MODULE check and no per-record voter runs. The result is a blind integrity overwrite of the tableitems, listitems or options fields with a serialize() of a plain string array taken from the CSV, giving no object injection, no data disclosure and no availability impact; the attacker must already hold a valid backend account (CVSS 3.1: AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N, 6.5). No public exploit code or active exploitation has been identified, and the vendor has released fixed versions 5.3.50 and 5.7.12.

RemediationAI

Vendor-released patches upgrade contao/core-bundle to 5.3.50 on the 5.0-5.3 line, or to 5.7.12 on the 5.4-5.7 line; the fixes are in pull request https://github.com/contao/contao/pull/10153 and commits a58eb71ef5a7a87da9d90980579dbeb6688448b4 and eb8088bcd547964657a1411a34842b441393a81c, with the advisory at https://github.com/contao/contao/security/advisories/GHSA-23w9-4pg3-xwm3. Run composer to update the package and clear the application cache after deploying. Until patched, reduce exposure by auditing which non-admin backend user groups hold module access to the CSV import wizard, trimming that access where it is not essential, and treating the resulting loss of bulk import convenience as the trade-off; because the weakness is a missing per-record permission check rather than a network-reachable endpoint, no firewall or configuration change removes it, and the vendor's complete remedy is updating to 5.3.50 or 5.7.12. Also note that the advisory credits @HDWSec, and the associated PR bundles CSRF protections for record actions, so the upgrade closes related request-forgery gaps as well.

Affected Packages

composer contao/core-bundle fix: 5.3.50, 5.7.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Contao is a PHP content management system built on Symfony, and its backend uses Data Container Array (DCA) configuration files such as tl_content, tl_form_field and tl_user_group to define how records are listed and edited. Access control is normally layered: the backend checks the module-level USER_CAN_ACCESS_MODULE permission, and DataContainer voters then enforce per-record permissions against the editor's page or form scope. CVE-2026-104882 (CWE-639, also tracked as CWE-862) is an authorization bypass in that second layer for the CSV import wizard: the custom 'key' action is dispatched directly in Backend::getBackendModule() (Backend.php lines 322-327) after only the module-level check, so the per-record voter never executes and the editor's scope is not consulted. The written value is serialize() of a plain string array derived from CSV input, so deserialization gadget chains are not reachable through this path, which is why the assessment scores confidentiality and availability as None and integrity as High. The upstream fix in PR 10153 hardens the DCA framework alongside the import path: it adds CSRF tokens and POST methods to record actions (for example in tl_opt_in), renames the template-editor save listener to CheckImplicitAdminSaveListener and the PreviewAccessVoter to PreviewVoter, and adds admin-panel warnings in tl_user and tl_user_group for non-admin users holding layout, listing or unfiltered_html permissions, reflecting that these privileges deserve scrutiny. Affected packages are composer/contao/core-bundle from 5.0.0 to before 5.3.50 and from 5.4.0-RC1 to before 5.7.12.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 6.5 MEDIUM

Authenticated non-admin editor is needed (PR:L) over the network backend (AV:N/AC:L, UI:N); impact is blind overwrite of arbitrary records' list fields, so I:H with C:N and A:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

DescriptionGitHub Advisory

Custom backend module "key" actions are dispatched in Backend::getBackendModule() (Backend.php:322-327) after only the module-level USER_CAN_ACCESS_MODULE check - no per-record voter runs.

Impact

A non-admin editor scoped to certain pages/forms can overwrite the tableitems/listitems/options of arbitrary tl_content / tl_form_field records outside their scope, defeating the per-record access control. Integrity IDOR (blind content overwrite; the value written is serialize() of a plain string array from the CSV - not object injection).

Credits

This security vulnerability was found by @HDWSec

Threat Intelligence Overview

Prevalence
Low
niche open-source PHP CMS, limited enterprise/global web footprint
Threat Intel
1
1 source
Data Quality
3 sources
Confidence: Low
NVD CVE.org GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)GitHub Advisory

pkg:composer/contao_core-bundle
pkg:composer/contao_core-bundle

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy