{"id":"CVE-2026-105856","summary":"Payload: SQL injection in SQLite/Postgres","details":"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.","aliases":["GHSA-pj7x-6wpf-pgvp"],"modified":"2026-10-08T02:50:31.980475062Z","published":"2026-10-06T16:23:58.643Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105856.json","unresolved_ranges":[{"extracted_events":[{"introduced":"4.0.0-canary.0"},{"fixed":"4.0.0-canary.34"},{"introduced":"4.0.0-canary.0"},{"fixed":"4.0.0-canary.34"},{"introduced":"\u003e= 3.0.0 \u003c 3.73.0"},{"last_affected":"\u003e= 3.0.0 \u003c 3.73.0"},{"introduced":"4.0.0-canary.0"},{"fixed":"4.0.0-canary.34"},{"introduced":"\u003e= 3.0.0 \u003c 3.73.0"},{"last_affected":"\u003e= 3.0.0 \u003c 3.73.0"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/payloadcms/payload/releases/tag/v3.90.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105856.json"},{"type":"ADVISORY","url":"https://github.com/payloadcms/payload/security/advisories/GHSA-pj7x-6wpf-pgvp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105856"},{"type":"FIX","url":"https://github.com/payloadcms/payload/commit/03b78c7e0901d19c67f07bdf6396a276010adbcc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/payloadcms/payload","events":[{"introduced":"6407e577d30d2e04a4aac8a5787416e67fd146c2"},{"fixed":"03b78c7e0901d19c67f07bdf6396a276010adbcc"},{"fixed":"e10b60228b92b680663110ea2af431643bfc6126"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"3.0.0"},{"fixed":"3.90.0"}]}}],"versions":["v3.89.0","v3.87.1","v3.88.0","v3.87.0","v3.86.0","v3.85.2","v3.85.1","v3.85.0","v3.84.1","v3.84.0","v3.83.0","v3.82.1","v3.82.0","v3.81.0","v3.80.0","v3.79.1","v3.79.0","v3.78.0","v3.77.0","v3.76.1","v3.76.0","v3.75.0","v3.74.0","v3.73.0","v3.72.0","v3.71.1","v3.71.0","v3.70.0","v3.69.0","v3.68.5","v3.68.4","v3.68.3","v3.68.2","v3.68.1","v3.68.0","v3.67.0","v3.66.0","v3.65.0","v3.64.0","v3.63.0","v3.62.0","v3.61.1","v3.61.0","v3.60.0","v3.59.1","v3.59.0","v3.58.0","v3.57.0","v3.56.0","v3.55.1","v3.55.0","v3.54.0","v3.50.0","v3.5.0","v3.53.0","v3.52.0","v3.51.0","v3.49.1","v3.49.0","v3.48.0","v3.47.0","v3.46.0","v3.45.0","v3.44.0","v3.43.0","v3.42.0","v3.41.0","v3.40.0","v3.39.1","v3.39.0","v3.38.0","v3.37.0","v3.36.1","v3.36.0","v3.35.1","v3.35.0","v3.34.0","v3.33.0","v3.32.0","v3.31.0","v3.30.0","v3.29.0","v3.28.1","eslint/3.28.0","v3.28.0","v3.27.0","v3.26.0","v3.25.0","v3.24.0","v3.23.0","v3.22.0","v3.21.0","v3.20.0","v3.19.0","v3.18.0","v3.17.1","v3.17.0","v3.16.0","v3.15.1","v3.15.0","v3.14.0","v3.13.0","v3.12.0","v3.11.0","v3.10.0","eslint/3.9.0","v3.9.0","v3.8.0","v3.7.0","v3.6.0","v3.4.0","v3.3.0","v3.2.2","v3.2.1","v3.2.0","v3.1.1","v3.1.0","v3.0.2","v3.0.1","eslint/3.0.0","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-105856.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}