{"id":"CVE-2026-25544","aliases":["CVE-2026-25544","GHSA-xx6w-jxg9-2wh8"],"related":[],"kind":"vulnerability","state":"published","title":"Payload has an SQL Injection in JSON/RichText Queries on PostgreSQL/SQLite Adapters","summary":"Payload is a free and open source headless content management system. Prior to 3.73.0, when querying JSON or richText fields, user input was directly embedded into SQL without escaping, enabling blind SQL injection attacks. An unauthenticated attacker could extract sensitive data (emails, password reset tokens) and achieve full account takeover without password cracking. This vulnerability is fixed in 3.73.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Payload is a free and open source headless content management system. Prior to 3.73.0, when querying JSON or richText fields, user input was directly embedded into SQL without escaping, enabling blind SQL injection attacks. An unauthenticated attacker could extract sensitive data (emails, password reset tokens) and achieve full account takeover without password cracking. This vulnerability is fixed in 3.73.0.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWhen querying JSON or richText fields, user input was directly embedded into SQL without escaping, enabling blind SQL Injection attacks. An unauthenticated attacker could extract sensitive data (emails, password reset tokens) and achieve full account takeover without password cracking.\n\n**Users are affected if ALL of these are true:**\n\n1. Payload version < v3.73.0\n2. Using a Drizzle-based database adapter (`@payloadcms/drizzle` as dependency):\n   - `@payloadcms/db-postgres`\n   - `@payloadcms/db-vercel-postgres`\n   - `@payloadcms/db-sqlite`\n   - `@payloadcms/db-d1-sqlite`\n3. At least one accessible collection that has a `type: 'json'` or `type: 'richText'` field where `access.read` returns anything other than `false` (`true` or `Where` constraint)\n\n**Users are NOT affected if:**\n\n- Using `@payloadcms/db-mongodb`\n- No JSON or richText fields exist in any collection\n- All JSON/richText fields have `access: { read: () => false }`\n\n### Patches\n\nUpgrade to Payload **v3.73.0** or later.\n\n### Workarounds\n\nIf a project cannot upgrade immediately, add `access: { read: () => false }` to all JSON and richText fields as a temporary mitigation.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Payload es un sistema de gestión de contenido 'headless' de código abierto y gratuito. Antes de la versión 3.73.0, al consultar campos JSON o richText, la entrada del usuario se incrustaba directamente en SQL sin escapar, lo que permitía ataques de inyección SQL ciega. Un atacante no autenticado podría extraer datos sensibles (correos electrónicos, tokens de restablecimiento de contraseña) y lograr una toma de control completa de la cuenta sin descifrar contraseñas. Esta vulnerabilidad está corregida en la versión 3.73.0.","source":"nvd"}],"published":"2026-02-05T20:51:38.000Z","modified":"2026-06-17T10:24:49.770Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"< 3.73.0","status":"affected"}],"vendor":"payloadcms","product":"payload","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.73.0"}],"ecosystem":"npm","package":"@payloadcms/drizzle","purl":"pkg:npm/%40payloadcms/drizzle","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.73.0"}],"vendor":"payloadcms","product":"payload","cpe":"cpe:2.3:a:payloadcms:payload:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/payloadcms/payload/security/advisories/GHSA-xx6w-jxg9-2wh8","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25544","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/payloadcms/payload","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-02-09T15:22:49.977Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-25544","url":"https://www.cve.org/CVERecord?id=CVE-2026-25544","licence":"CVE Terms of Use","modified":"2026-02-09T15:27:26.616Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xx6w-jxg9-2wh8","url":"https://github.com/advisories/GHSA-xx6w-jxg9-2wh8","licence":"CC-BY-4.0","modified":"2026-02-07T00:53:39.718Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-25544","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25544","licence":"Public domain","modified":"2026-06-17T10:24:49.770Z"}],"updatedAt":"2026-11-25T22:59:13.584Z","epss":{"score":0.00825,"percentile":0.58529,"date":"2026-12-01T12:00:22.000Z"}}