Description
This module detects CVE-2026-9082, an unauthenticated SQL injection in Drupal core's PostgreSQL EntityQuery condition handler. It uses a crafted JSON:API filter array key to confirm the vulnerability with time-based blind SQL injection. MySQL, MariaDB, and SQLite are not affected.
The configured JSON:API resource must be anonymously readable and expose at least one entity with a case-insensitive string field.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/scanner/http/drupal/pgsql_entityquery_sqlimsf undefined(pgsql_entityquery_sqli) > show actions ...actions...msf undefined(pgsql_entityquery_sqli) > set ACTION < action-name >msf undefined(pgsql_entityquery_sqli) > show options ...show and set options...msf undefined(pgsql_entityquery_sqli) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub