Summary
CVE-2026-107249 is a PHP object injection vulnerability (CWE-915, Improperly Controlled Modification of Dynamically-Determined Object Attributes) in the Block AJAX module for Drupal. The module does not sufficiently validate user-supplied data used to construct blocks. The Drupal Security Team rates it "Highly critical" (SA-CONTRIB-2026-192), and the CVSS v3.1 score is 9.8 (Critical).
Technical details
- Root cause: Block AJAX loads blocks asynchronously via AJAX. It does not sufficiently validate user-supplied data that is used to construct a block, which allows object injection.
- Trigger conditions: The advisory limits the impact to installations where Layout Builder is enabled, or where block plugins process the module’s data in unsafe ways.
- Attack vector: Network. The CVSS vector indicates no privileges and no user interaction are required.
- Impact: PHP Object Injection. In the worst case this can lead to Remote Code Execution, according to the advisory.
Affected software
- Drupal Block AJAX (block_ajax) versions prior to 3.0.2, per the Drupal advisory.
- The CVE record lists the affected range as 0.0.0 through 3.0.2. The Drupal advisory names 3.0.2 as the fixed release. Treat 3.0.2 as the minimum safe version.
Severity
CVSS v3.1 base score: 9.8 (Critical)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade block_ajax to version 3.0.2. The advisory notes the release may include potentially breaking changes, so review the release notes and test before deploying.
- Check whether Layout Builder is enabled, or whether other block plugins handle the module’s data unsafely. These are the conditions the advisory identifies for impact.
- If you cannot upgrade immediately, the advisory gives no specific workaround. Consider uninstalling the module until it is patched.

