# GHSA-28xx-pppm-vqff: Impact Transactions were NOT committed despite the explicit `options.WithCommit` flag using table service client.

> A bug in the ydb-go-sdk library causes transactions to silently fail to commit, leading to potential data inconsistency for applications relying on the WithCommit option.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Not stated
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 30 Apr 2026
- **Also known as:** GO-2026-4983

## What is GHSA-28xx-pppm-vqff?

GHSA-28xx-pppm-vqff is a vulnerability in github.com/ydb-platform/ydb-go-sdk/v3, published on 30 Apr 2026. 

### Official 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

## Which versions are affected by GHSA-28xx-pppm-vqff?

3 open source packages ship an affected version, including github.com/ydb-platform/ydb-go-sdk/v3.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/ydb-platform/ydb-go-sdk/v3` | Go | From 3.104.6 | 3.134.2 |
| `github.com/ydb-platform/ydb-go-sdk/v3` | Go | From 3.104.6 | 3.134.2 |
| `github.com/ydb-platform/ydb-go-sdk/v3` | Go | From 3.104.6 | 3.134.2 |

## How do I fix GHSA-28xx-pppm-vqff?

Upgrade github.com/ydb-platform/ydb-go-sdk/v3 to 3.134.2 or later.

## Is GHSA-28xx-pppm-vqff being exploited?

There is no known exploitation of GHSA-28xx-pppm-vqff in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-28xx-pppm-vqff and fix it if it is affected.

What it is: GHSA-28xx-pppm-vqff is a vulnerability in github.com/ydb-platform/ydb-go-sdk/v3, published on 30 Apr 2026. 
Exploitation: There is no known exploitation of GHSA-28xx-pppm-vqff in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/ydb-platform/ydb-go-sdk/v3 (Go): affected from 3.104.6; fixed in 3.134.2
- github.com/ydb-platform/ydb-go-sdk/v3 (Go): affected from 3.104.6; fixed in 3.134.2
- github.com/ydb-platform/ydb-go-sdk/v3 (Go): affected from 3.104.6; fixed in 3.134.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-28xx-pppm-vqff/ (Markdown: https://insights.sbomify.com/GHSA-28xx-pppm-vqff/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-28xx-pppm-vqff

---
From sbomify Insights: https://insights.sbomify.com/GHSA-28xx-pppm-vqff/
Summaries are generated and may contain mistakes; the official description above is the record.
