Advisory

DRUPAL-CORE-2026-004

Also known as: BIT-drupal-2026-9082, CVE-2026-9082, GHSA-ghwc-95x2-682j

Summary

The record has no summary.

Details

Drupal core includes a database abstraction API to ensure that queries executed against the database are sanitized to prevent SQL injection attacks.

A vulnerability in this API allows an attacker to send specially crafted requests, resulting in arbitrary SQL injection for sites using PostgreSQL databases. This can lead to information disclosure, and in some cases privilege escalation, remote code execution, or other attacks.

This vulnerability can be exploited by anonymous users.

This SQL injection vulnerability only affects sites using PostgreSQL. However, the third-party dependency updates in these releases apply to all sites.

Updates

May 22 2026, 04:30 UTC: The risk score has been updated to reflect that exploit attempts are now being detected in the wild.

Upstream security advisories

The Drupal releases for supported branches (11.3, 11.2, 10.6, and 10.5) in this advisory also include security updates for Symfony and Twig. Those projects have released important Security Advisories that were coordinated with this Drupal release, and Drupal is affected by some of the vulnerabilities.

Depending on your site configuration and contrib modules, you may be vulnerable to one or more of these upstream issues, so updating these dependencies is highly recommended whether the SQL Injection vulnerability affects you or not. It is also recommended to review which user roles have the ability to update Twig templates, for example via Views or contributed modules.

Severity

Not rated by the source.

Dates

Published
2026-05-20 18:08 UTC
Modified
2026-09-10 03:45 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 8.9.0, fixed 10.4.10 (ecosystem)
  • introduced 10.5.0, fixed 10.5.10 (ecosystem)
  • introduced 10.6.0, fixed 10.6.9 (ecosystem)
  • introduced 11.0.0, fixed 11.1.10 (ecosystem)
  • introduced 11.2.0, fixed 11.2.12 (ecosystem)
  • introduced 11.3.0, fixed 11.3.10 (ecosystem)

Fixed versions

10.4.10, 10.5.10, 10.6.9, 11.1.10, 11.2.12, 11.3.10

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Drupal Advisory Database · MIT

Sources & licences