{"id":"GHSA-v49j-62m6-pgrr","revision":"7173d4826a5e4fb9a90bcbcb4c1873f0","records":[{"revision":"7173d4826a5e4fb9a90bcbcb4c1873f0","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-v49j-62m6-pgrr","aliases":["CVE-2026-105845"],"title":"Payload: SQL Injection in SQLite and Postgres","description":"### 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.","state":0,"publishedAt":"2026-10-06T16:09:17+00:00","modifiedAt":"2026-10-06T16:15:04.8298178+00:00","affected":[{"ecosystem":"npm","name":"payload","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"3.88.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"payload","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0-canary.0"},{"kind":"fixed","version":"4.0.0-canary.27"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/payloadcms/payload/security/advisories/GHSA-v49j-62m6-pgrr","https://github.com/payloadcms/payload/commit/a742140ab4fca3160f7f83e9e7d996552ffc3b5a","https://github.com/payloadcms/payload","https://github.com/payloadcms/payload/releases/tag/v3.88.0"],"sourceUrl":"https://github.com/advisories/GHSA-v49j-62m6-pgrr","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v49j-62m6-pgrr","identifiers":["GHSA-v49j-62m6-pgrr","CVE-2026-105845"]},"retained":false,"historicalAffected":[]}],"coverage":[]}