acoustic-carpenter-78188
06/15/2026, 9:43 AM5.10.0 (June 3, 2026)
This release includes a significant amount of hardening against malicious or compromised PostgreSQL servers, contributed by Sean Chittenden at CrowdStrike, Inc. This work bounds binary decoders against attacker-controlled message sizes, caps server-supplied SCRAM iteration counts, addsto restrict which authentication methods a server may use (mitigating downgrade attacks underrequire_auth), and ensures cancellation requests are sent over TLS when the original connection used TLS.sslmode=prefer
Features
• Addto restrict accepted server authentication methods (Sean Chittenden at CrowdStrike, Inc.)require_auth
• Addto restrict allowed connection string keys (Sean Chittenden at CrowdStrike, Inc.)ParseConfigOptions.ConnStringAllowedKeys
• AddandStructArgsforStrictStructArgs-named queries (Tubelight30)@
• Addsentinel error and unwrap it fromErrConnClosed(Charlie Tonneslan)connLockError
• pgxpool: check if connection is expired before acquire (arthurdotwork)
Security Hardening
• Encryptconnection when the primary connection used TLS (Sean Chittenden at CrowdStrike, Inc.)CancelRequest
• Cap server-supplied SCRAM iteration count (Sean Chittenden at CrowdStrike, Inc.)
• Default Frontend max message body length to ~1 GiB (Sean Chittenden at CrowdStrike, Inc.)
• Bound hstore binary decode against malicious server input (Sean Chittenden at CrowdStrike, Inc.)
• Bound array binary decode element length against remaining message bytes (Sean Chittenden at CrowdStrike, Inc.)
• Bound array element count against remaining message bytes (Sean Chittenden at CrowdStrike, Inc.)
• Bound range, multirange, and tsvector binary decoders (Sean Chittenden at CrowdStrike, Inc.)
• Document secure connection configuration (Sean Chittenden at CrowdStrike, Inc.)
• Fix panic on malformed geometric text; return an error instead (MaIII)
Fixes
• Fix scanning(OID 18) into"char"in binary format (luongs3)*string
• Fix handling of typed-nilin array and composite codecs (Donncha Fahy)driver.Valuer
• Fixhex decoding inCopyData.Data(Charlie Tonneslan)UnmarshalJSON
• Fix data race when context is cancelled during connect
• Fixrejecting trailing whitespace (alliasgher)parseKeywordValueSettings
• pgconn: preserve full error chain in(Charlie Tonneslan)normalizeTimeoutError
• pgconn: use a fresh context for the fallback connection in(Charlie Tonneslan)connectPreferred
• pgxpool: fixand ping order for acquire-time expiry checkMaxLifetimeDestroyCount
• Add missing error check ofCommits •to load types (Jen Altavilla)rows.Err
7293fb1 Update changelog for v5.10.0
• 1ade285 pgconn: document secure connection configuration
• b4d6d4d pgtype: bound range, multirange, and tsvector binary decoders
• 0639b37 pgconn: add ParseConfigOptions.ConnStringAllowedKeys
• b28e65b pgtype: bound array element count against remaining message bytes
• cd1f389 pgtype: bound array binary decode element length against remaining bytes
• ff27b5b pgtype: bound hstore binary decode against malicious server input
• a6002e1 pgproto3: default Frontend max message body length to ~1 GiB
• 44f6173 pgconn: cap server-supplied SCRAM iteration count
• 1a976f7 pgconn: add require_auth to restrict accepted server auth methods
• Additional commits viewable in compare view
Dependabot compatibility score
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
• @dependabot rebase will rebase this PR
• @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
• @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
• @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
• @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
• @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
flyteorg/flyteacoustic-carpenter-78188
06/15/2026, 7:34 PM