GO-2026-4983
LOWydb-go-sdk's transactions are not committed using the `options.WithCommit()` option on last call `table.Transaction.Execute` in transaction
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
- Use explicit
table.Transaction.CommitTx(ctx)instead useoptions.WithCommit(). - Use transaction retrier
db.Table().DoTx(ctx, lambda)instead explicit start transaction on session. - Use query client
db.Query().Do(ctx, lambda)with the same logic inlambda
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
- Published
- 30 Apr 2026
- Last modified
- 8 Jun 2026
- Weakness
- CWE-670
- Also known as
- GHSA-28xx-pppm-vqff
- Sources
- OSV GHSA-28xx-pppm-vqffJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/ydb-platform/ydb-go-sdk/v3 | >= 3.104.6, < 3.134.2 | 3.134.2 |
References
- https://github.com/ydb-platform/ydb-go-sdk/security/advisories/GHSA-28xx-pppm-vqff · WEB, ADVISORY
- https://github.com/ydb-platform/ydb-go-sdk/pull/2091 · WEB
- https://github.com/ydb-platform/ydb-go-sdk/commit/251128a64763555d9a79ee7a131dd154c9000eb9 · WEB
- https://github.com/ydb-platform/ydb-go-sdk/commit/25dcff4c41153f1f9413512ba12999b40bf7154d · WEB
- https://github.com/ydb-platform/ydb-go-sdk · PACKAGE
- https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.104.6 · WEB
- https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.134.1 · WEB
- https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.134.2 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 May 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Apr 2026)