{"schema":"threatline.record/2","record":{"id":"CVE-2026-105845","aliases":["GHSA-v49j-62m6-pgrr"],"summary":"Payload: SQL Injection in SQLite and Postgres","details":"### Impact\nA user can submit a request that exploits a SQL Injection vulnerability in Payload.\n\nYou are affected if:\n- You use an affected Payload version.\n- Untrusted users can query readable collections using dynamic filters or joins.\n\nYou are not affected if you use MongoDB (`@payloadcms/mongodb`).\n\n### Patches\nUsers should upgrade Payload packages to `>= 3.88.0` or `>= 4.0.0-canary.27`.\n\n### Workarounds\nUpgrading to a patched version is recommended. Until you can upgrade, restrict untrusted users from supplying dynamic query filters or join parameters and limit read access to affected collections.","categories":["Libraries & packages"],"product":"payload","vendor":"payloadcms","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-v49j-62m6-pgrr","source_modified_at":"2026-10-06T16:09:18Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload"},"range":">= 3.0.0, < 3.88.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-v49j-62m6-pgrr","source_modified_at":"2026-10-06T16:09:18Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload"},"range":">= 4.0.0-canary.0, < 4.0.0-canary.27"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-105845","source_modified_at":"2026-10-06T17:27:31.326Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"payload","vendor":"payloadcms","versions":[{"version":">= 3.0.0, < 3.88.0","status":"affected"},{"version":">= 4.0.0-canary.0, < 4.0.0-canary.27","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-v49j-62m6-pgrr","source_modified_at":"2026-10-06T16:15:04.829817763Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload","purl":"pkg:npm/payload"},"ranges":[{"events":[{"introduced":"3.0.0"},{"fixed":"3.88.0"}],"type":"SEMVER"}],"versions":[]},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-v49j-62m6-pgrr","source_modified_at":"2026-10-06T16:15:04.829817763Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload","purl":"pkg:npm/payload"},"ranges":[{"events":[{"introduced":"4.0.0-canary.0"},{"fixed":"4.0.0-canary.27"}],"type":"SEMVER"}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-v49j-62m6-pgrr","source_modified_at":"2026-10-06T16:09:18Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload"},"version":"3.88.0"},{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-v49j-62m6-pgrr","source_modified_at":"2026-10-06T16:09:18Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload"},"version":"4.0.0-canary.27"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-v49j-62m6-pgrr","source_modified_at":"2026-10-06T16:15:04.829817763Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload","purl":"pkg:npm/payload"},"version":"3.88.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-v49j-62m6-pgrr","source_modified_at":"2026-10-06T16:15:04.829817763Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"payload","purl":"pkg:npm/payload"},"version":"4.0.0-canary.27"}],"cvss":9.8,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.00381,"percentile":0.30953,"score_date":"2026-10-23"},"published_at":"2026-10-06T15:58:51.232Z","modified_at":"2026-10-06T17:27:31.326Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-v49j-62m6-pgrr","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-06T16:09:18Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-105845","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-06T17:27:31.326Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-v49j-62m6-pgrr","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-06T16:15:04.829817763Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-105845","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/payloadcms/payload/security/advisories/GHSA-v49j-62m6-pgrr","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/payloadcms/payload/commit/a742140ab4fca3160f7f83e9e7d996552ffc3b5a","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/payloadcms/payload/releases/tag/v3.88.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-v49j-62m6-pgrr","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total","assessed_at":"2026-10-06T17:27:22.238496Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-06T17:27:31.326Z","content_hash":"311db2125bf749ed501f66e40774860e8cf79159b52e6e30a8e1598b012f9d6d"}}
