{"id":"GHSA-p6mr-xf3r-ghq4","revision":"ac5095dd86304c3e8c63cb3f0955c010","records":[{"revision":"ac5095dd86304c3e8c63cb3f0955c010","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-p6mr-xf3r-ghq4","aliases":["CVE-2026-34749"],"title":"Payload has a CSRF Protection Bypass in Authentication Flow","description":"### Impact\n\nA Cross-Site Request Forgery (CSRF) vulnerability existed in the authentication flow. Under certain conditions, the configured CSRF protection could be bypassed, allowing cross-site requests to be made.\n\nConsumers are affected if ALL of these are true:\n\n- Payload version **< v3.79.1**\n- `serverURL` is configured\n\n### Patches\n\nThis vulnerability has been patched in **v3.79.1**. Additional validation has been added to the authentication flow.\n\nConsumers should upgrade to **v3.79.1** or later.\n\n### Workarounds\n\nThere is no complete workaround without upgrading. \n\nIf consumers cannot upgrade immediately, setting `cookies.sameSite` to `'Strict'` will prevent the session cookie from being sent cross-site. However, this will also require users to re-authenticate when navigating to the application from external links (e.g. email, other sites).","state":0,"publishedAt":"2026-04-01T21:36:06+00:00","modifiedAt":"2026-04-01T21:56:21.133398+00:00","affected":[{"ecosystem":"npm","name":"payload","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.79.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/payloadcms/payload/security/advisories/GHSA-p6mr-xf3r-ghq4","https://nvd.nist.gov/vuln/detail/CVE-2026-34749","https://github.com/payloadcms/payload","https://github.com/payloadcms/payload/releases/tag/v3.79.1"],"sourceUrl":"https://github.com/advisories/GHSA-p6mr-xf3r-ghq4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-p6mr-xf3r-ghq4","identifiers":["GHSA-p6mr-xf3r-ghq4","CVE-2026-34749"]},"retained":false,"historicalAffected":[]}],"coverage":[]}