CVE-2025-29744 pg-promise SQL Injection vulnerability
Attackers can execute arbitrary SQL commands via improper handling of negative numbers in pg-promise, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-29744?
CVE-2025-29744 is a medium-severity SQL injection vulnerability in n/a, published on 12 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
pg-promise before 11.5.5 is vulnerable to SQL Injection due to improper handling of negative numbers.
Weakness: CWE-89
Which versions are affected by CVE-2025-29744?
2 open source packages ship an affected version, including pg-promise. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pg-promise npm | All versions | 11.5.5 |
pg-promise npm | All versions | 11.5.5 |
Products include Vitaly-T Pg-Promise.
How do I fix CVE-2025-29744?
Upgrade pg-promise to 11.5.5 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-29744 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-29744 exists.
Sources
Also known as GHSA-ff9h-848c-4xfj.