SQL Injection Affecting @payloadcms/db-vercel-postgres package, versions >=3.0.0 <3.73.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PAYLOADCMSDBVERCELPOSTGRES-20936899
  • published14 Oct 2026
  • disclosed7 Oct 2026
  • creditHussienMisbah

Introduced: 7 Oct 2026

NewCVE-2026-105856  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade @payloadcms/db-vercel-postgres to version 3.73.0 or higher.

Overview

@payloadcms/db-vercel-postgres is a Vercel Postgres adapter for Payload

Affected versions of this package are vulnerable to SQL Injection via the convertPathToJSONTraversal function in SQLite JSON query construction, where user-controlled JSON path segments are interpolated into SQL expressions without sufficient sanitization. An authenticated attacker can supply a malicious path segment to inject arbitrary SQL, enabling unauthorized read and write access to database contents.

CVSS Base Scores

version 4.0
version 3.1