CVE-2026-142201
pg-protocol through 1.16.1 (node-postgres pg through 8.23.1) …
pg-protocol through 1.16.1 (node-postgres pg through 8.23.1) contains a NUL byte injection vulnerability in the startup() serializer that allows attackers to add server parameters. Attackers who influence connection values like application_name or database can inject search_path or a second database key to change the session's database or schema resolution.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/brianc/node-postgres/blob/0980cefebe0ae461da8883703be049fe13ca96cf/packages/pg-
- github.com/brianc/node-postgres/blob/0980cefebe0ae461da8883703be049fe13ca96cf/packages/pg-
- github.com/brianc/node-postgres/blob/0980cefebe0ae461da8883703be049fe13ca96cf/packages/pg/
- www.vulncheck.com/advisories/pg-protocol-through-1.16.1-nul-byte-injection-via-startupmess
- nvd.nist.gov/vuln/detail/CVE-2026-142201
- cve.org/CVERecord?id=CVE-2026-142201
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.