chore(deps): bump the go-deps group in /backend/libs/pkg with 4 updates
Bumps the go-deps group in /backend/libs/pkg with 4 updates: github.com/jackc/pgx/v5, github.com/testcontainers/testcontainers-go, github.com/testcontainers/testcontainers-go/modules/nats and github.com/testcontainers/testcontainers-go/modules/postgres.
Updates github.com/jackc/pgx/v5 from 5.11.0 to 5.12.0
Changelog
Sourced from github.com/jackc/pgx/v5's changelog.
5.12.0 (October 30, 2026)
This release fixes two security vulnerabilities with narrow triggering conditions but serious impact. Affected applications should upgrade to v5.12.0; see Security Fixes below.
It also adds batched transaction startup, client certificate policy controls, and per-query batch timing, and improves connection pool cancellation and type handling. Custom implementations of
BatchResults, including mocks, must add the newTxmethod.Security Fixes
- SQL injection in simple-protocol batches (GHSA-j38q-h3ph-jjpq, high severity). In pgx v5 before v5.12.0,
SendBatchusing the non-default simple protocol could allow arbitrary SQL execution with the application's database privileges when a queued query ends in a--comment without a newline and the next query has an attacker-controlled string argument on its first line. Batched queries are now separated by a newline to end such comments. Extended-protocol modes are unaffected. Reported byIgor Kupczyński (@igor-kupczynski).- Bypass of
require_authandchannel_binding=require(GHSA-95fj-3fxw-g62g, high severity). In pgx v5.9.0 through v5.11.0, applications relying on these settings without verifying the server's identity withsslmode=verify-full(or equivalent TLS verification) could accept an impersonating server that skips authentication. The attacker could read queries and parameters and return fabricated results. pgx now enforces authentication completion and required channel binding before accepting the connection. This vulnerability does not bypass TLS server certificate verification. Reported by@president-xd.Features
- Add
Batch.BeginTxandBatchResults.Txto begin a transaction as the first query of a batch, saving the round trip forBeginTx. CallBatch.BeginTxbefore queuing any queries, consume the begin query's result first, and close the batch before using the transaction. Withpgxpool.Pool.SendBatch, the connection remains acquired until the transaction is committed or rolled back. AddFailedBatchResultsfor wrappers that fail before sending a batch (Timo Furrer)- Add
TraceBatchQueryData.ReadStartTimeand per-query durations totracelogbatch query entries. These measure result consumption, including application time spent reading rows, rather than server execution alone (Yasser-Ameur)- pgconn: support the
sslcertmodeconnection parameter,PGSSLCERTMODEenvironment variable, andConfig.SSLCertMode. The default,allow, sends an available client certificate when requested;disableprevents sending one and skips loading certificate/key files;requirefails unless the server requests and receives a certificate.requiredoes not guarantee server-side certificate validation, disables TLS session resumption, and stops further host or TLS fallbacks when the certificate requirement fails (k-zshiba)- pgtype: add support for PostgreSQL 19's
oid8andoid8[](k-zshiba)Changes
- pgxpool: background attempts to satisfy
MinConnsandMinIdleConnsnow have a 60-second timeout, including connection hooks. Initial background connections preserve the constructor context's values but ignore its cancellation and deadline.- pgxpool: canceling
Acquireduring a health-check ping now returns promptly and lets a successful ping return
... (truncated)
Commits
b2ef08bUpdate changelog for v5.12.08199015Merge commit from fork5b1a6a0Merge commit from fork65a4125Merge pull request #2697 from b84330808/windows-default-servicefilef2701a0pgconn: only fall back when Windows service file is missingdb95468Merge pull request #2696 from k-zshiba/support-oid8fa2327dStart each query on a new line when joining a simple protocol batch2283b85pgconn: read the default service file from %APPDATA%\postgresql on Windowsefc0b74Merge upstream master into support-oid85a17450pgconn: require AuthenticationOk before ReadyForQuery- Additional commits viewable in compare view
Updates github.com/testcontainers/testcontainers-go from 0.44.0 to 0.45.0
Release notes
Sourced from github.com/testcontainers/testcontainers-go's releases.
v0.45.0
What's Changed
⚠️ Breaking Changes
- chore(modules)!: extract CockroachDB and Dex client adapters (#4087)
@mdelapenyaClient SDK dependencies have moved into separate examples modules. For CockroachDB,
ConnectionConfigis now available throughcockroachdbexamples.NewContainer(c)inmodules/cockroachdb/examples. The parent’sConnectionStringandMustConnectionStringnow return PostgreSQL URLs instead of registered pgx handles, and importing the parent no longer registers the pgx SQL driver. Use the examples adapter to retain the previous SDK behavior, or configure the driver yourself.For Dex,
AddClient,RemoveClient,AddUser, andRemoveUserhave moved from*dex.Containertodexexamples.NewAdminClient(c)inmodules/dex/examples. Static configuration throughWithClientandWithUseris unchanged.
- chore(modules)!: isolate client examples across ten modules (#4081)
@mdelapenyaFor Cosmos DB,
ContainerPolicyandNewContainerPolicyhave moved frommodules/azure/cosmosdbtomodules/azure/examples/cosmosdb. Update the adapter import; its constructor still accepts the parent container.Run,Container, andConnectionStringremain unchanged in the parent module.🔒 Security
- security(deps): upgrade otel log sdk to v0.21.0 (#4047)
@mdelapenya🚀 Features
- feat(sbx): configure sandbox startup with Go options (#4057)
@mdelapenya- feat: add Docker Sandboxes runtime provider (#3987)
@mdelapenya- feat(garage): add single-node S3-compatible storage module (#3950)
@kanjih- feat: register runtime providers and introduce the Podman module (#3946)
@mdelapenya- feat: add the ability to configure the provider type in the properties file or as an env var (#3494)
@mkeeler- feat(kafka): add TLS support (#3917)
@RuslanKarabalin🐛 Bug Fixes
- fix(wait): fail fast when logs are unavailable on a stopped container (#3898)
@skartikey- fix(wait): retry HostPortStrategy external check on connect timeout (#4055)
@pujitha24- fix: handle OCI registry manifests and isolate k3s platform test (#4059)
@mdelapenya- fix: setup ExposeHostPorts forward on container start hook (#3200)
@mdelapenya- fix(wait): support non-pointer strategies in ForAny/ForAll nil checks (#4052)
@mdelapenya- fix(rabbitmq): pass the node config from memory instead of a shared temp file (#3881)
@manduinca- fix: dial the sshd container on the Docker daemon host (#3877)
@timofurrer- fix: validate the configured session ID (#3849)
@mdelapenya📖 Documentation
- docs: show cumulative clones and unique cloners (#4082)
@mdelapenya- chore(metrics): update github clones for 2026-10 (#4079) @github-actions[bot]
- chore: update usage metrics (2026-11) (#4077) @github-actions[bot]
- docs: fix dead links in module docs and comments (#4071)
@sarankumar1325- chore(docs): move Python tooling out of the Go module (#3942)
@mikey923- docs: update Podman guide for the provider module (#4038)
@mdelapenya🧹 Housekeeping
... (truncated)
Commits
b4fe821chore: use new version (v0.45.0) in modules and examplesd40be72chore(deps): bump github.com/go-jose/go-jose/v4 in /modules/dex/examples (#4088)0d12cc6chore(modules): finish test client isolation and document examples modules (#...9cc89fdchore(modules): isolate eight remaining compatible client SDKs (#4086)9ec5407chore(modules)!: extract CockroachDB and Dex client adapters (#4087)5c9480fchore(modules): isolate client examples across eleven more modules (#4084)6aaef66fix(ci): initialize sbx network policy before tests (#4085)55f58fechore(modules): isolate client examples across eleven modules (#4083)ea5a2e8chore(deps): bump go.mongodb.org/mongo-driver (#4075)60b08c4docs: show cumulative clones and unique cloners (#4082)- Additional commits viewable in compare view
Updates github.com/testcontainers/testcontainers-go/modules/nats from 0.44.0 to 0.45.0
Release notes
Sourced from github.com/testcontainers/testcontainers-go/modules/nats's releases.
v0.45.0
What's Changed
⚠️ Breaking Changes
- chore(modules)!: extract CockroachDB and Dex client adapters (#4087)
@mdelapenyaClient SDK dependencies have moved into separate examples modules. For CockroachDB,
ConnectionConfigis now available throughcockroachdbexamples.NewContainer(c)inmodules/cockroachdb/examples. The parent’sConnectionStringandMustConnectionStringnow return PostgreSQL URLs instead of registered pgx handles, and importing the parent no longer registers the pgx SQL driver. Use the examples adapter to retain the previous SDK behavior, or configure the driver yourself.For Dex,
AddClient,RemoveClient,AddUser, andRemoveUserhave moved from*dex.Containertodexexamples.NewAdminClient(c)inmodules/dex/examples. Static configuration throughWithClientandWithUseris unchanged.
- chore(modules)!: isolate client examples across ten modules (#4081)
@mdelapenyaFor Cosmos DB,
ContainerPolicyandNewContainerPolicyhave moved frommodules/azure/cosmosdbtomodules/azure/examples/cosmosdb. Update the adapter import; its constructor still accepts the parent container.Run,Container, andConnectionStringremain unchanged in the parent module.🔒 Security
- security(deps): upgrade otel log sdk to v0.21.0 (#4047)
@mdelapenya🚀 Features
- feat(sbx): configure sandbox startup with Go options (#4057)
@mdelapenya- feat: add Docker Sandboxes runtime provider (#3987)
@mdelapenya- feat(garage): add single-node S3-compatible storage module (#3950)
@kanjih- feat: register runtime providers and introduce the Podman module (#3946)
@mdelapenya- feat: add the ability to configure the provider type in the properties file or as an env var (#3494)
@mkeeler- feat(kafka): add TLS support (#3917)
@RuslanKarabalin🐛 Bug Fixes
- fix(wait): fail fast when logs are unavailable on a stopped container (#3898)
@skartikey- fix(wait): retry HostPortStrategy external check on connect timeout (#4055)
@pujitha24- fix: handle OCI registry manifests and isolate k3s platform test (#4059)
@mdelapenya- fix: setup ExposeHostPorts forward on container start hook (#3200)
@mdelapenya- fix(wait): support non-pointer strategies in ForAny/ForAll nil checks (#4052)
@mdelapenya- fix(rabbitmq): pass the node config from memory instead of a shared temp file (#3881)
@manduinca- fix: dial the sshd container on the Docker daemon host (#3877)
@timofurrer- fix: validate the configured session ID (#3849)
@mdelapenya📖 Documentation
- docs: show cumulative clones and unique cloners (#4082)
@mdelapenya- chore(metrics): update github clones for 2026-10 (#4079) @github-actions[bot]
- chore: update usage metrics (2026-11) (#4077) @github-actions[bot]
- docs: fix dead links in module docs and comments (#4071)
@sarankumar1325- chore(docs): move Python tooling out of the Go module (#3942)
@mikey923- docs: update Podman guide for the provider module (#4038)
@mdelapenya🧹 Housekeeping
... (truncated)
Commits
b4fe821chore: use new version (v0.45.0) in modules and examplesd40be72chore(deps): bump github.com/go-jose/go-jose/v4 in /modules/dex/examples (#4088)0d12cc6chore(modules): finish test client isolation and document examples modules (#...9cc89fdchore(modules): isolate eight remaining compatible client SDKs (#4086)9ec5407chore(modules)!: extract CockroachDB and Dex client adapters (#4087)5c9480fchore(modules): isolate client examples across eleven more modules (#4084)6aaef66fix(ci): initialize sbx network policy before tests (#4085)55f58fechore(modules): isolate client examples across eleven modules (#4083)ea5a2e8chore(deps): bump go.mongodb.org/mongo-driver (#4075)60b08c4docs: show cumulative clones and unique cloners (#4082)- Additional commits viewable in compare view
Updates github.com/testcontainers/testcontainers-go/modules/postgres from 0.44.0 to 0.45.0
Release notes
Sourced from github.com/testcontainers/testcontainers-go/modules/postgres's releases.
v0.45.0
What's Changed
⚠️ Breaking Changes
- chore(modules)!: extract CockroachDB and Dex client adapters (#4087)
@mdelapenyaClient SDK dependencies have moved into separate examples modules. For CockroachDB,
ConnectionConfigis now available throughcockroachdbexamples.NewContainer(c)inmodules/cockroachdb/examples. The parent’sConnectionStringandMustConnectionStringnow return PostgreSQL URLs instead of registered pgx handles, and importing the parent no longer registers the pgx SQL driver. Use the examples adapter to retain the previous SDK behavior, or configure the driver yourself.For Dex,
AddClient,RemoveClient,AddUser, andRemoveUserhave moved from*dex.Containertodexexamples.NewAdminClient(c)inmodules/dex/examples. Static configuration throughWithClientandWithUseris unchanged.
- chore(modules)!: isolate client examples across ten modules (#4081)
@mdelapenyaFor Cosmos DB,
ContainerPolicyandNewContainerPolicyhave moved frommodules/azure/cosmosdbtomodules/azure/examples/cosmosdb. Update the adapter import; its constructor still accepts the parent container.Run,Container, andConnectionStringremain unchanged in the parent module.🔒 Security
- security(deps): upgrade otel log sdk to v0.21.0 (#4047)
@mdelapenya🚀 Features
- feat(sbx): configure sandbox startup with Go options (#4057)
@mdelapenya- feat: add Docker Sandboxes runtime provider (#3987)
@mdelapenya- feat(garage): add single-node S3-compatible storage module (#3950)
@kanjih- feat: register runtime providers and introduce the Podman module (#3946)
@mdelapenya- feat: add the ability to configure the provider type in the properties file or as an env var (#3494)
@mkeeler- feat(kafka): add TLS support (#3917)
@RuslanKarabalin🐛 Bug Fixes
- fix(wait): fail fast when logs are unavailable on a stopped container (#3898)
@skartikey- fix(wait): retry HostPortStrategy external check on connect timeout (#4055)
@pujitha24- fix: handle OCI registry manifests and isolate k3s platform test (#4059)
@mdelapenya- fix: setup ExposeHostPorts forward on container start hook (#3200)
@mdelapenya- fix(wait): support non-pointer strategies in ForAny/ForAll nil checks (#4052)
@mdelapenya- fix(rabbitmq): pass the node config from memory instead of a shared temp file (#3881)
@manduinca- fix: dial the sshd container on the Docker daemon host (#3877)
@timofurrer- fix: validate the configured session ID (#3849)
@mdelapenya📖 Documentation
- docs: show cumulative clones and unique cloners (#4082)
@mdelapenya- chore(metrics): update github clones for 2026-10 (#4079) @github-actions[bot]
- chore: update usage metrics (2026-11) (#4077) @github-actions[bot]
- docs: fix dead links in module docs and comments (#4071)
@sarankumar1325- chore(docs): move Python tooling out of the Go module (#3942)
@mikey923- docs: update Podman guide for the provider module (#4038)
@mdelapenya🧹 Housekeeping
... (truncated)
Commits
b4fe821chore: use new version (v0.45.0) in modules and examplesd40be72chore(deps): bump github.com/go-jose/go-jose/v4 in /modules/dex/examples (#4088)0d12cc6chore(modules): finish test client isolation and document examples modules (#...9cc89fdchore(modules): isolate eight remaining compatible client SDKs (#4086)9ec5407chore(modules)!: extract CockroachDB and Dex client adapters (#4087)5c9480fchore(modules): isolate client examples across eleven more modules (#4084)6aaef66fix(ci): initialize sbx network policy before tests (#4085)55f58fechore(modules): isolate client examples across eleven modules (#4083)ea5a2e8chore(deps): bump go.mongodb.org/mongo-driver (#4075)60b08c4docs: show cumulative clones and unique cloners (#4082)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Summary by cubic
Bumps github.com/jackc/pgx/v5 to 5.12.0 and testcontainers-go (core, NATS, and Postgres modules) to 0.45.0 in backend/libs/pkg.
The pgx update fixes two high-severity vulnerabilities: SQL injection in simple-protocol batches and bypass of require_auth and channel_binding=require.
Migration
- Custom
BatchResultsimplementations, including mocks, must add the newTxmethod.