Description
go-pg pg v10.13.0 was discovered to contain a SQL injection vulnerability via the component /types/append_value.go.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | golang-gopkg-pg.v5 | No fix yet | — |
| Debian 12 | golang-gopkg-pg.v5 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | golang-gopkg-pg.v5 | No fix yet | — |
| Ubuntu 24.04 LTS | golang-gopkg-pg.v5 | No fix yet | — |
| Ubuntu 22.04 LTS | golang-gopkg-pg.v5 | No fix yet | — |
| Ubuntu 20.04 LTS | golang-gopkg-pg.v5 | No fix yet | — |
| Ubuntu 18.04 LTS | golang-gopkg-pg.v5 | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250730T213748-1.1 | openSUSE-SU-2025:15405-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20251230T014957-150000.1.134.1 | SUSE-SU-2026:0292-1, SUSE-SU-2026:0037-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | nuclei | 3.5.1-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/go-pg/pg | <= 8.0.7 | — | GHSA-6xp3-p59p-q4fj |
| Go | github.com/go-pg/pg | all versions | — | GO-2025-3764 |
| Go | github.com/go-pg/pg/v10 | < 10.15.0 | 10.15.0 | GHSA-6xp3-p59p-q4fj |
| Go | github.com/go-pg/pg/v9 | <= 9.2.1 | — | GHSA-6xp3-p59p-q4fj |
| Go | github.com/go-pg/pg/v9 | all versions | — | GO-2025-3764 |
Advisories 4
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- openSUSE-SU-2025:15405-1 govulncheck-vulndb-0.0.20250730T213748-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0292-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0037-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Mar 23, 2026
References
- https://github.com/go-pg/pg
- https://media.defcon.org/DEF%20CON%2032/DEF%20CON%2032%20presentations/DEF%20CON%2032%20-%20Paul%20Gerste%20-%20SQL%20Injection%20Isn%27t%20Dead%20Smuggling%20Queries%20at%20the%20Protocol%20Level.pdf
- https://github.com/go-pg/pg/blob/30e7053c6cacdd44d06cf2b92183b49188b7c922/types/append_value.go#L151
- https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw/