Insufficient verification of data authenticity in Postgresql JDBC Driver - #VU169735
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause the driver to disclose its PostgreSQL startup packet and potentially the database password to an unintended TLS service.
The vulnerability exists due to missing verification of the server's ALPN selection in pgjdbc when establishing a direct TLS connection with sslNegotiation=direct. A remote attacker can redirect the connection to another TLS service on the same host whose certificate is accepted under the configured sslmode to cause the driver to send PostgreSQL data to that service.