{"id":"CVE-2026-105856","state":"PUBLISHED","title":"Payload: SQL injection in SQLite/Postgres","description":"Payload is a free and open source headless content management system. Prior to 3.90.0 and 4.0.0-canary.34, an attacker with read and create or update access to a collection containing a json field or a blocks field with blocksAsJSON enabled can inject SQL through a crafted field path and operators. Collections without those fields are not affected, and richText fields are not affected. The SQLite packages are fixed in versions 3.90.0 and 4.0.0-canary.34, and the Postgres packages are fixed in version 3.73.0.","publishedAt":"2026-10-06T16:23:58.643Z","updatedAt":"2026-10-06T17:39:22.911Z","severity":{"score":8.6,"label":"High","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["payloadcms payload","@payloadcms db-d1-sqlite","@payloadcms db-postgres","@payloadcms db-sqlite","@payloadcms db-vercel-postgres"],"affected":[{"vendor":"payloadcms","product":"payload","versions":[{"version":">= 3.0.0, < 3.90.0","status":"affected"},{"version":">= 4.0.0-canary.0, < 4.0.0-canary.34","status":"affected"}]},{"vendor":"@payloadcms","product":"db-d1-sqlite","versions":[{"version":">= 3.0.0, < 3.90.0","status":"affected"},{"version":">= 4.0.0-canary.0, < 4.0.0-canary.34","status":"affected"}]},{"vendor":"@payloadcms","product":"db-postgres","versions":[{"version":">= 3.0.0 < 3.73.0","status":"affected"}]},{"vendor":"@payloadcms","product":"db-sqlite","versions":[{"version":">= 3.0.0, < 3.90.0","status":"affected"},{"version":">= 4.0.0-canary.0, < 4.0.0-canary.34","status":"affected"}]},{"vendor":"@payloadcms","product":"db-vercel-postgres","versions":[{"version":">= 3.0.0 < 3.73.0","status":"affected"}]}],"references":["https://github.com/payloadcms/payload/security/advisories/GHSA-pj7x-6wpf-pgvp","https://github.com/payloadcms/payload/commit/03b78c7e0901d19c67f07bdf6396a276010adbcc","https://github.com/payloadcms/payload/releases/tag/v3.90.0"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/105xxx/CVE-2026-105856.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-105856","state":"PUBLISHED","datePublished":"2026-10-06T16:23:58.643Z","dateUpdated":"2026-10-06T17:39:22.911Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-05T23:06:29.748Z"},"containers":{"cna":{"title":"Payload: SQL injection in SQLite/Postgres","descriptions":[{"lang":"en","value":"Payload is a free and open source headless content management system. Prior to 3.90.0 and 4.0.0-canary.34, an attacker with read and create or update access to a collection containing a json field or a blocks field with blocksAsJSON enabled can inject SQL through a crafted field path and operators. Collections without those fields are not affected, and richText fields are not affected. The SQLite packages are fixed in versions 3.90.0 and 4.0.0-canary.34, and the Postgres packages are fixed in version 3.73.0."}],"affected":[{"vendor":"payloadcms","product":"payload","versions":[{"version":">= 3.0.0, < 3.90.0","status":"affected"},{"version":">= 4.0.0-canary.0, < 4.0.0-canary.34","status":"affected"}]},{"vendor":"@payloadcms","product":"db-d1-sqlite","versions":[{"version":">= 3.0.0, < 3.90.0","status":"affected"},{"version":">= 4.0.0-canary.0, < 4.0.0-canary.34","status":"affected"}]},{"vendor":"@payloadcms","product":"db-postgres","versions":[{"version":">= 3.0.0 < 3.73.0","status":"affected"}]},{"vendor":"@payloadcms","product":"db-sqlite","versions":[{"version":">= 3.0.0, < 3.90.0","status":"affected"},{"version":">= 4.0.0-canary.0, < 4.0.0-canary.34","status":"affected"}]},{"vendor":"@payloadcms","product":"db-vercel-postgres","versions":[{"version":">= 3.0.0 < 3.73.0","status":"affected"}]}],"references":[{"url":"https://github.com/payloadcms/payload/security/advisories/GHSA-pj7x-6wpf-pgvp","name":"https://github.com/payloadcms/payload/security/advisories/GHSA-pj7x-6wpf-pgvp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/payloadcms/payload/commit/03b78c7e0901d19c67f07bdf6396a276010adbcc","name":"https://github.com/payloadcms/payload/commit/03b78c7e0901d19c67f07bdf6396a276010adbcc","tags":["x_refsource_MISC"]},{"url":"https://github.com/payloadcms/payload/releases/tag/v3.90.0","name":"https://github.com/payloadcms/payload/releases/tag/v3.90.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-06T16:23:58.643Z"},"source":{"advisory":"GHSA-pj7x-6wpf-pgvp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-06T17:34:12.712056Z","id":"CVE-2026-105856","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-06T17:39:22.911Z"}}]}}}