# pg (npm)

PostgreSQL client - pure javascript & libpq with the same API

- Latest: 8.23.1 (2026-09-30)
- Licence: MIT
- Downloads: 439540760 last month
- Advisories on the latest version: 0

- CVE-2017-16082 CRITICAL: Remote Code Execution in pg Fixed in 6.4.2, 7.0.2, 7.1.2.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
