# GHSA-28xx-pppm-vqff: ydb-go-sdk's transactions are not committed using the `options.WithCommit()` option on last call `table.Transaction.Execute` in transaction

- Severity: Low (CVSS:4.0, scored by GitHub) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-30T18:21:04.000Z
- Modified: 2026-06-08T20:10:28.000Z
- Also known as: GO-2026-4983
- Weaknesses: CWE-670

## Description

### 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](https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.104.6) to [v3.134.1](https://github.com/ydb-platform/ydb-go-sdk/releases/tag/v3.134.1). The fix for this problem has been released in version [v3.134.2](https://github.com/ydb-platform/ydb-go-sdk/releases/tag/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

(As written by GitHub Advisory Database.)

## Affected

- github.com/ydb-platform/ydb-go-sdk/v3 (Go): from 3.104.6 before 3.134.2

## References

- <https://github.com/ydb-platform/ydb-go-sdk/security/advisories/GHSA-28xx-pppm-vqff> (advisory, web)
- <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)

## Sources

- GitHub Advisory Database: [GHSA-28xx-pppm-vqff](https://github.com/advisories/GHSA-28xx-pppm-vqff), CC-BY-4.0, modified 2026-06-08
- Go Vulnerability Database: [GO-2026-4983](https://pkg.go.dev/vuln/GO-2026-4983), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/GHSA-28xx-pppm-vqff · Whole record: https://cve.day/GHSA-28xx-pppm-vqff.json · Rebuilt by cve.day 2026-11-25T22:56:24.605Z
