acoustic-carpenter-78188
04/30/2026, 3:50 AMgithub.com/jackc/pgx/v5 from 5.7.6 to 5.9.2
Changelog
Sourced from github.com/jackc/pgx/v5's changelog.
5.9.2 (April 18, 2026)
Fix SQL Injection via placeholder confusion with dollar quoted string literals (GHSA-j88v-2chj-qfwx)
SQL injection can occur when:
1. The non-default simple protocol is used.
2. A dollar quoted string literal is used in the SQL query.
3. That query contains text that would be would be interpreted outside as a placeholder outside of a string literal.
4. The value of that placeholder is controllable by the attacker.
e.g.
attackValue :=$tag$; drop table canary; --
_, err = tx.Exec(ctx,, pgx.QueryExecModeSimpleProtocol, attackValue)select $tag$ $1 $tag$, $1
This is unlikely to occur outside of a contrived scenario.
5.9.1 (March 22, 2026)
• Fix: batch result format corruption when using cached prepared statements (reported by Dirkjan Bussink)
5.9.0 (March 21, 2026)
This release includes a number of new features such as SCRAM-SHA-256-PLUS support, OAuth authentication support, and PostgreSQL protocol 3.2 support.
It significantly reduces the amount of network traffic when using prepared statements (which are used automatically by default) by avoiding unnecessary Describe Portal messages. This also reduces local memory usage.
It also includes multiple fixes for potential DoS due to panic or OOM if connected to a malicious server that sends deliberately malformed messages.
• Require Go 1.25+
• Add SCRAM-SHA-256-PLUS support (Adam Brightwell)
• Add OAuth authentication support for PostgreSQL 18 (David Schneider)
• Add PostgreSQL protocol 3.2 support (Dirkjan Bussink)
• Add tsvector type support (Adam Brightwell)
• Skip Describe Portal for cached prepared statements reducing network round trips
• Make LoadTypes query easier to support on "postgres-like" servers (Jelte Fennema-Nio)
• Default empty user to current OS user matching libpq behavior (ShivangSrivastava)
• Optimize LRU statement cache with custom linked list and node pooling (Mathias Bogaert)
• Optimize date scanning by replacing regex with manual parsing (Mathias Bogaert)
• Optimize pgio append/set functions with direct byte shifts (Mathias Bogaert)
• Make RowsAffected faster (Abhishek Chanda)
• Fix: Pipeline.Close panic when server sends multiple FATAL errors (Varun Chawla)
• Fix: ContextWatcher goroutine leak (Hank Donnay)
• Fix: stdlib discard connections with open transactions in ResetSession (Jeremy Schneider)... (truncated) Commits •
0aeabbc Release v5.9.2
• 60644f8 Fix SQL sanitizer bugs with dollar-quoted strings and placeholder overflow
• a5680bc Merge pull request #2531 from dolmen-go/godoc-add-links
• e34e452 doc: Add godoc links
• 08c9bb1 Fix Stringer types encoded as text instead of numeric value in composite fields
• 96b4dbd Remove unstable test
• acf88e0 Merge pull request #2526 from abrightwell/abrightwell-min-proto
• 2f81f1f Update max_protocol_version and min_protocol_version defaults
• 4e4eaed Release v5.9.1
• 6273188 Fix batch result format corruption when using cached prepared statements
• Additional commits viewable in compare view
Updates google.golang.org/grpc from 1.76.0 to 1.79.3
Release notes
Sourced from google.golang.org/grpc's releases.
Release 1.79.3
Security
• server: fix an authorization bypass where malformed :path headers (missing the leading slash) could bypass path-based restricted "deny" rules in interceptors like. Any request with a non-canonical path is now immediately rejected with angrpc/authzerror. (#8981)Unimplemented
Release 1.79.2
Bug Fixes
• stats: Prevent redundant error logging in health/ORCA producers by skipping stats/tracing processing when no stats handler is configured. (grpc/grpc-go#8874)
Release 1.79.1
Bug Fixes
• grpc: Remove thesuffix from the User-Agent header. (grpc/grpc-go#8902)-dev
Release 1.79.0
API Changes
• mem: Add experimental APIto change the default buffer pool. (#8806)SetDefaultBufferPool
• Special Thanks:@vanja-p
• experimental/stats: Updateto require embedding the newMetricsRecorder(a no-op struct) in all implementations for forward compatibility. (#8780)UnimplementedMetricsRecorder
Behavior Changes
• balancer/weightedtarget: Remove handling ofand only handleAddressesin resolver updates. (#8841)Endpoints
New Features
• experimental/stats: Add support for asynchronous gauge metrics through the newandAsyncMetricReporterAPIs. (#8780)RegisterAsyncReporter
• pickfirst: Add support for weighted random shuffling of endpoints, as described in gRFC A113.
• This is enabled by default, and can be turned off using the environment variable. (#8864)GRPC_EXPERIMENTAL_PF_WEIGHTED_SHUFFLING
• xds: Implementrewriting, as specified in gRFC A81. (#8779):authority
• balancer/randomsubsetting: Implement theLB policy, as specified in gRFC A68. (#8650)random_subsetting
• Special Thanks:@marek-szews
Bug Fixes
• credentials/tls: Fix a bug where the port was not stripped from the authority override before validation. (#8726)
• Special Thanks:@Atul1710
• xds/priority: Fix a bug causing del…flyteorg/flyte
acoustic-carpenter-78188
05/20/2026, 5:50 PM