If your Drupal site runs on PostgreSQL, this is one to have patched already — and if you haven’t, today’s the day.
At a glance
- CVE: CVE-2026-9082 — Drupal’s own advisory is SA-CORE-2026-004.
- Severity: Highly critical — Drupal scores it 23 out of 25. NVD has it at 9.8 (Critical).
- Affected: Drupal core from 8.9.0 before 10.4.10, 10.5.x before 10.5.10, 10.6.x before 10.6.9, 11.0.0 before 11.1.10, 11.2.x before 11.2.12, and 11.3.x before 11.3.10. The SQL injection itself only bites on sites using PostgreSQL.
- Known exploited: Yes — Drupal raised its risk score on 2026-05-22 after spotting exploit attempts in the wild, and CISA added it to the KEV list the same day.
What’s going on
Drupal has a database abstraction layer whose whole job is to clean up queries so SQL injection can’t happen. This bug is a hole in that layer: an attacker can send specially crafted requests and get their own SQL run against your database. Drupal says that can lead to leaked data and, in some cases, privilege escalation or remote code execution. Anyone can try it — no account needed.
Who’s on the hook? Drupal sites on the affected versions that use PostgreSQL. MySQL/MariaDB and SQLite sites aren’t hit by the injection, but don’t skip the update: the same releases bundle security fixes for Symfony and Twig that apply to every site. Drupal also suggests reviewing which roles can edit Twig templates (for example through Views or contrib modules). It was reported by Michael Maturi.
Timeline
- Disclosed: 2026-05-20 (SA-CORE-2026-004)
- Patch released: 2026-05-20
- Exploited in the wild: attempts detected by 2026-05-22
- Added to CISA KEV: 2026-05-22
== UPDATE ==
There’s a fix for every branch, including best-effort ones for end-of-life versions.
- Patch available: Yep.
- Fixed in: Drupal 11.3.10, 11.2.12, 11.1.10, 10.6.9, 10.5.10 and 10.4.10. Drupal 9 and 8.9 get manual patches instead. Later releases on each branch include the fix too, so it’s fine to jump straight to the newest one.
- How to apply: Update Drupal core to the fixed (or newer) release on your branch the way you normally would — on a Composer-managed site that’s updating
drupal/core-recommendedand its dependencies — then runupdate.php. On 11.1.x/11.0.x go to 11.1.10, and on 10.4.x or older go to 10.4.10. Those branches are end-of-life, and Drupal only shipped them as a best effort because of how serious this is; they still carry other known bugs, so plan a move to a supported branch. On Drupal 9 or 8.9, apply the matching patch from the advisory by hand. - If you can’t patch yet: the advisory doesn’t offer a workaround. If you’re on MySQL, MariaDB or SQLite you’re not exposed to the injection itself, but you still need the update for the Symfony and Twig fixes. If you’re on PostgreSQL, patching is the fix.