# CVE-2024-44906: uptrace pgdriver SQL injection vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-06-12T00:00:00.000Z
- Modified: 2026-09-10T03:50:25.284Z
- Also known as: GHSA-h4h6-vccr-44h2, GO-2025-3765
- Related: CGA-c275-72h9-ggrj
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

uptrace pgdriver v1.2.1 was discovered to contain a SQL injection vulnerability via the appendArg function in /pgdriver/format.go. The maintainer has stated that the issue is fixed in v1.2.15.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/uptrace/bun/driver/pgdriver (Go): before 1.2.15
- uptrace pgdriver: 1.2.1

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <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> (exploit, web)
- <https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw/> (exploit, third-party-advisory)
- <https://github.com/uptrace/bun/tree/master/driver/pgdriver> (product, web)
- <https://github.com/uptrace/bun/blob/1573ae7c2fffad1a7f72fd2d205e924b2fd4043b/driver/pgdriver/format.go#L62> (product, web)
- <https://github.com/advisories/GHSA-h4h6-vccr-44h2> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-44906> (advisory)
- <https://github.com/uptrace/bun/issues/1224> (web)
- <https://github.com/uptrace/bun/commit/8067a8f13f8d22fb57b76d6800f7aefc12b044cd> (web)
- <https://github.com/uptrace/bun> (package)
- <https://github.com/uptrace/bun/blob/v1.2.15/CHANGELOG.md> (web)
- <https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw> (web)

## Sources

- CVE List: [CVE-2024-44906](https://www.cve.org/CVERecord?id=CVE-2024-44906), CVE Terms of Use, modified 2025-08-13
- GitHub Advisory Database: [GHSA-h4h6-vccr-44h2](https://github.com/advisories/GHSA-h4h6-vccr-44h2), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3765](https://pkg.go.dev/vuln/GO-2025-3765), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-44906](https://nvd.nist.gov/vuln/detail/CVE-2024-44906), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-44906 · Whole record: https://cve.day/CVE-2024-44906.json · Rebuilt by cve.day 2026-11-25T22:58:52.752Z
