LowGHSA-28xx-pppm-vqffGO-2026-4983

ydb-go-sdk's transactions are not committed using the `options.WithCommit()` option on last call `table.Transaction.Execute` in transaction

Published 30 Apr 2026 · Updated 8 Jun 2026

Is your project on an affected github.com/ydb-platform/ydb-go-sdk/v3?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=3.104.6 <3.134.2
Fixed in
3.134.2
Update to the fixed version for your release line, for example:go get github.com/ydb-platform/ydb-go-sdk/v3@v3.134.2

Details

Impact

Transactions were NOT committed despite the explicit options.WithCommit flag using table service client. Because of this, clients did not commit changes to the transaction, relying on the fact that the transaction commit was successful. This led (in rare cases) to a loss of data consistency.

Patches

ydb-go-sdk contains this problem in versions from v3.104.6 to v3.134.1. The fix for this problem has been released in version v3.134.2 (https://github.com/ydb-platform/ydb-go-sdk/pull/2091).

Workarounds

1) Use explicit table.Transaction.CommitTx(ctx) instead use options.WithCommit(). 2) Use transaction retrier db.Table().DoTx(ctx, lambda) instead explicit start transaction on session. 3) Use query client db.Query().Do(ctx, lambda) with the same logic in lambda

Resources

Commit with bug https://github.com/ydb-platform/ydb-go-sdk/commit/251128a64763555d9a79ee7a131dd154c9000eb9 Commit with fix https://github.com/ydb-platform/ydb-go-sdk/commit/25dcff4c41153f1f9413512ba12999b40bf7154d

Is GHSA-28xx-pppm-vqff in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/ydb-platform/ydb-go-sdk/v3, and gives you the command that fixes it.

More advisories for github.com/ydb-platform/ydb-go-sdk/v3

  • LowCVE-2023-45825Credentials leak in github.com/ydb-platform/ydb-go-sdk/v3 · 24 Oct 2023
  • MediumCVE-2023-45825ydb-go-sdk token in custom credentials object can leak through logs · 19 Oct 2023
github.com/ydb-platform/ydb-go-sdk/v3 security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.