{"id":"CVE-2026-63316","aliases":["CVE-2026-63316","GHSA-pj7x-6wpf-pgvp"],"related":["CVE-2026-105856"],"kind":"vulnerability","state":"published","title":"SQL Injection in Payload CMS","summary":"A SQL injection vulnerability has been identified in Payload CMS. Improper neutralization of input provided by user into \"in\" and \"not_in\" query paramethers allows an authenticated attacker to perform SQL Injection attacks.\n\nThis issue was fixed in version 3.90.0 and 4.0.0-canary.34.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A SQL injection vulnerability has been identified in Payload CMS. Improper neutralization of input provided by user into \"in\" and \"not_in\" query paramethers allows an authenticated attacker to perform SQL Injection attacks.\n\nThis issue was fixed in version 3.90.0 and 4.0.0-canary.34.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn attacker who has read plus create or update access to a collection can submit a request that includes a SQL injection targeting a specific field path shape and operators in Payload's SQLite and Postgres.\n\n#### You are affected if:\n\n- You use `@payloadcms/db-sqlite` or `@payloadcms/db-d1-sqlite`.\n- You use `@payloadcms/db-postgres` or `@payloadcms/db-vercel-postgres` `< 3.73.0`.\n- A readable collection has a `json` field, or a` blocks` field with `blocksAsJSON: true`.\n- The attacker has read plus create or update access on it.\n\n#### You are not affected if:\n- You have no `json or `blocksAsJSON` fields. `richText` is not affected.\n- You run a patched version.\n\n### Patches\n\nThe patched version sanitizes the query input to prevent injection.\n\nUsers should upgrade Payload packages to `>= 3.90.0` or `>= 4.0.0-canary.34`.","format":"markdown","source":"ghsa"}],"published":"2026-10-07T20:30:04.000Z","modified":"2026-10-16T20:04:29.760Z","severity":{"scorer":"CERT-PL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"CERT-PL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.90.0","status":"affected"},{"type":"custom","introduced":"4.0.0-canary.0","fixed":"4.0.0-canary.34","status":"affected"}],"vendor":"Payload","product":"Payload CMS","repo":"https://github.com/payloadcms/payload","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.90.0"}],"ecosystem":"npm","package":"@payloadcms/db-sqlite","purl":"pkg:npm/%40payloadcms/db-sqlite","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.90.0"}],"ecosystem":"npm","package":"@payloadcms/db-d1-sqlite","purl":"pkg:npm/%40payloadcms/db-d1-sqlite","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.73.0"}],"ecosystem":"npm","package":"@payloadcms/db-postgres","purl":"pkg:npm/%40payloadcms/db-postgres","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.73.0"}],"ecosystem":"npm","package":"@payloadcms/db-vercel-postgres","purl":"pkg:npm/%40payloadcms/db-vercel-postgres","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.0.0-canary.0","status":"affected","fixed":"4.0.0-canary.34"}],"ecosystem":"npm","package":"@payloadcms/db-sqlite","purl":"pkg:npm/%40payloadcms/db-sqlite","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.0.0-canary.0","status":"affected","fixed":"4.0.0-canary.34"}],"ecosystem":"npm","package":"@payloadcms/db-d1-sqlite","purl":"pkg:npm/%40payloadcms/db-d1-sqlite","source":"ghsa"}],"references":[{"url":"https://cert.pl/posts/2026/10/CVE-2026-63316","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/payloadcms/payload/security/advisories/GHSA-pj7x-6wpf-pgvp","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105856","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/payloadcms/payload/commit/03b78c7e0901d19c67f07bdf6396a276010adbcc","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/payloadcms/payload","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/payloadcms/payload/releases/tag/v3.90.0","tags":["web"],"sources":["ghsa"]}],"credits":["0xMesbaha"],"assigner":"CERT-PL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T17:00:08.217Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63316","url":"https://www.cve.org/CVERecord?id=CVE-2026-63316","licence":"CVE Terms of Use","modified":"2026-10-16T17:17:14.851Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pj7x-6wpf-pgvp","url":"https://github.com/advisories/GHSA-pj7x-6wpf-pgvp","licence":"CC-BY-4.0","modified":"2026-10-14T02:55:56.435Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63316","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63316","licence":"Public domain","modified":"2026-10-16T20:04:29.760Z"}],"updatedAt":"2026-11-25T22:59:43.784Z","epss":{"score":0.00259,"percentile":0.18836,"date":"2026-12-01T12:00:22.000Z"}}