SQL injection in Postgresql JDBC Driver - CVE-2026-134841
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary SQL with the privileges of the application's database role.
The vulnerability exists due to improper separation of quoted text from SQL syntax in the pgjdbc query parser when processing JDBC escapes, dollar-quoted text, or escape string literals, or rewriting certain JDBC functions. A remote attacker can supply a value that the application quotes in an affected query to have the database execute it as SQL.