pgx: SQL Injection via placeholder confusion with dollar quoted string literals — CVE-2026-41889
GitHub · GitHub · CVE-2026-41889
ID
CVE-2026-41889
CVE-2026-41889
Datum
Aktualisiert
Activity
Quelle
GitHub
GitHub
Vendor
GitHub
GitHub
Risiko
low
low
CVSS
2.3
2.3
EPSS
0.00009
0.00009
Zusammenfassung
### Impact SQL Injection can occur when: 1. The non-default simple protocol is used. 2. A dollar quoted string literal is used in the SQL query. 3. That string literal contains text that would be would be interpreted as a placeholder outside of a string literal. 4. The value of that placeholder is controllable by the attacker. e.g. ```go attackValue := `$tag$; drop table canary; --` _, err = tx.Exec(ctx, `select…
Produkt
go: github.com/jackc/pgx/v5 | go: github.com/jackc/pgx/v4 | go: github.com/jackc/pgx
Was tun?
Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):
- Prüfe Exponierung und plane Maßnahmen nach Risiko und Umfeld.
- Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
- Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
- Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.