Drupal 12 RC1 Released With Security Fixes and Breaking Code Changes
The Drupal core team released Drupal 12.0.0-rc1 on 27 November 2026. The first release candidate addresses three security vulnerabilities affecting Drupal 12.0.0-beta2 and introduces changes that may break contributed and custom code. It remains unsupported for production websites.
The release arrives later than the originally targeted week of 9 November, shortening the testing period ahead of the stable release scheduled for the week of 7 December 2026. Developers who tested their projects against the beta releases may need to repeat compatibility checks. Changes to PHP class constructors, frontend dependencies and the content editing interface affect both extension maintainers and site builders.
RC1 incorporates fixes for SA-CORE-2026-017, SA-CORE-2026-018 and SA-CORE-2026-019. The latest advisory, published on 25 November 2026, concerns an installer access bypass that can allow site takeover on certain installations. The Drupal Security Team confirms active exploitation and warns that previous security updates may not have protected sites in unusual or incomplete installation states.
Administrators of production websites should remain on supported stable releases. The advisory directs sites running Drupal 10.6.x, 11.3.x and 11.4.x to update to versions 10.6.23, 11.3.23 and 11.4.14, respectively, and run update.php. It also strongly recommends restricting access to the Drupal installer. Sites that previously exposed the installer should examine their logs for unauthorised activity, verify control of the primary administrator account and investigate indications of compromise.
The changes to PHP constructors follow the coordinated core code-maintenance work previously reported by The DropTimes. Release managers planned to group several disruptive changes before RC1 to limit interruptions to contributors. The adoption of constructor property promotion and the increase in Drupal core's PHPStan analysis level are among the changes included in the release candidate.
Constructor property promotion allows developers to declare and initialise class properties through constructor parameters. A change record published on 4 November 2026 documents its adoption across Drupal core and explains that most existing code should remain compatible. However, subclasses that redeclare properties with incompatible types can encounter fatal errors. Renamed constructor parameters may also break calls that rely on named arguments, including those used in automated tests.
Drupal core now uses PHPStan level 3, with the analysis tool updated to version 2.3.6. The stricter checks apply to core development and do not establish a corresponding requirement for contributed projects. Developers maintaining subclasses of core components should review inherited property declarations, constructor calls and automated test results against RC1.
Drupal 12 requires PHP 8.5 under its announced platform requirements, while the release candidate recommends PHP 8.5.13 or later. RC1 includes Symfony 8.2.0-RC1 and Twig 3.31.1, alongside security-related updates to development tooling, including Composer 2.11.3. Frontend dependency updates include jQuery 4.1.0 and HTMX 4.0.2.
The transition to stable Symfony 8.2 remains a separate development. A Drupal core issue opened on 27 November 2026 identifies Symfony 8.2.0 or later as necessary before the final Drupal 12 release. The Symfony project published its stable 8.2.0 release the following day. Drupal 12 RC1 itself ships with the Symfony release candidate, not the subsequent stable version.
Drupal 12 also updates CKEditor 5 from version 48.5.1 to 49.1.0. A change record published on 26 November 2026 documents changes to the editor's appearance and styling variables. Text formats using CKEditor 5 automatically receive the revised appearance without requiring configuration changes.
The change record identifies unresolved problems in the administration theme, including editing areas that retain a white background in dark mode. Fullscreen backgrounds, selected toolbar buttons and floating panels also require attention. While the update resolves an issue with unreadable tooltips in light mode, adapting tooltip colours to the selected colour mode remains separate work.
Most existing theme overrides that assign values to older CKEditor styling variables remain compatible, although exceptions are documented. Code that references those variables may require changes where the original variables no longer resolve. Maintainers of custom CKEditor plugins should also review the JavaScript API and build changes documented for version 49. Testing the editing interface in both light and dark modes can help identify affected customisations.
The release notes identify another compatibility problem involving custom asset weights in contributed module library definitions. An ongoing core issue explores ignoring these weights to address incorrect asset loading order, but the proposed change remains under review. Maintainers should follow the individual issues affecting their modules until a resolution is available.
Site administrators using customised Apache configuration files should review changes to PHP assertion settings in Drupal's .htaccess file. The release also changes how some singular translation strings use the @count placeholder. Existing translations of affected strings may require updates.
Teams preparing for Drupal 12 can use Upgrade Status 5.0.0 to identify deprecated code and other compatibility concerns. Automated analysis should complement, rather than replace, functional testing of extensions and editorial workflows. Upgrade rehearsals and dependency-resolution checks should take place on isolated copies of existing websites.
Drupal 11.3.0 remains the minimum version from which Drupal 12 supports database updates. This is an upgrade eligibility threshold, not a recommendation to install an outdated patch release. Core maintainers recommend updating to the latest release of the current major version before attempting a major-version upgrade. The current supported Drupal 11 branches provide the appropriate starting point for upgrade preparation.
According to the Drupal core release schedule, Drupal 12.0.0 and Drupal 11.5.0 are scheduled for the week of 7 December 2026. Drupal 10 reaches its end of life on 9 December 2026. Organisations still running Drupal 10 should prioritise moving to a supported Drupal 11 release rather than treating Drupal 12 RC1 as a production upgrade option.
References
-
drupal 12.0.0-rc1 | Drupal.org (27 November 2026)
-
Announcing Drupal 12.0.0 platform requirements | Drupal.org (14 January 2026)
-
-
CKEditor 5 version 49: styling changes and known regressions | Drupal.org (26 November 2026)
-
upgrade_status 5.0.0 | Drupal.org (16 November 2026)
