Skip to content
Briefings are running a touch slower this week while we rebuild the foundations.See roadmap
PostgreSQL
TechnologyUS

PostgreSQL

Open-source relational database; the sole Drupal database backend affected by CVE-2026-9082.

Last refreshed: 29 May 2026 · Appears in 1 active topic

Key Question

Why does choosing PostgreSQL over MySQL make Drupal sites uniquely vulnerable to this SQL injection?

Timeline for PostgreSQL

#522 May

Mentioned in: Drupal SQL flaw hits PostgreSQL sites

Cybersecurity: Threats and Defences
View full timeline →
Common Questions
Is PostgreSQL itself vulnerable to the Drupal SQL injection CVE-2026-9082?
No. CVE-2026-9082 is a flaw in Drupal's application layer, not in PostgreSQL. PostgreSQL is the database where the injected SQL executes, but the vulnerability lies in how Drupal constructs queries for PostgreSQL backends. The database engine itself is not patched.Source: Drupal security advisory, May 2026
Why are only PostgreSQL Drupal sites affected by CVE-2026-9082?
Drupal's database-abstraction layer generates different SQL for PostgreSQL versus MySQL/MariaDB backends. The injection vector exists only in the PostgreSQL-specific query-construction PATH, leaving MySQL and MariaDB installs unaffected.Source: Drupal security advisory, May 2026
What percentage of Drupal sites use PostgreSQL?
Fewer than 5% of Drupal installations use PostgreSQL as their database backend. The majority use MySQL or MariaDB. However, PostgreSQL is disproportionately common in government and regulated-sector Drupal deployments.Source: Drupal community usage statistics

Background

PostgreSQL is an open-source, object-relational database management system first released in 1996, descended from the Ingres and POSTGRES projects at the University of California, Berkeley. It is one of the world's most widely deployed relational databases, favoured for its standards compliance, ACID guarantees, extensibility, and strong support for complex queries, JSON, and geospatial data. PostgreSQL is the default backend for many government, healthcare, and regulated-sector applications, particularly in jurisdictions that require open-source infrastructure for data sovereignty reasons.

In May 2026, PostgreSQL featured directly in a major vulnerability incident: CVE-2026-9082, a Drupal Core SQL injection flaw rated Highly Critical (23/25, CVSS 6.5), affects only Drupal deployments running on PostgreSQL. Drupal's database-abstraction layer handles PostgreSQL-specific query construction differently from MySQL and MariaDB; the injection vector exists in that PostgreSQL-specific code PATH. PostgreSQL accounts for fewer than 5% of Drupal installations globally, but that subset is disproportionately concentrated in government and regulated-sector environments, amplifying the real-world risk.

The CVE-2026-9082 incident is not a flaw in PostgreSQL itself; the vulnerability is in Drupal's query-construction layer. PostgreSQL is the passive surface on which the injection executes. The episode nonetheless illustrates that database selection carries indirect security consequences: where PostgreSQL is mandated for sovereignty reasons, it inadvertently concentrates risk for any application layer vulnerability with a database-backend-specific trigger.

Source Material