{"id":"CVE-2026-72786","aliases":["CVE-2026-72786","GHSA-p8x7-9vfw-p7vc"],"related":["CVE-2026-79989"],"kind":"vulnerability","state":"published","title":"Craft CMS 5.0.0-RC1 before 5.10.8 Authentication Bypass via Password Reset","summary":"Craft CMS versions before 5.10.8 contain an authentication bypass vulnerability in the elements/save action that allows authenticated users to change passwords without verification. Attackers with edit users permission can reset any user's password including administrators by exploiting the unprotected newPassword field in the User element save flow.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Craft CMS versions before 5.10.8 contain an authentication bypass vulnerability in the elements/save action that allows authenticated users to change passwords without verification. Attackers with edit users permission can reset any user's password including administrators by exploiting the unprotected newPassword field in the User element save flow.","source":"cvelist"},{"lang":"en","text":"The vulnerability allows any authenticated user to change their own password without providing the current password or having an active elevated session. It also allows the attacker to change other users’ passwords if the attacker’s account has `edit users` permission (which doesn’t allow changing others’ passwords) and lacks `Administrate users` permission (which is required to change others’ passwords).\n\nThe vulnerability exists in the `elements/save` action when saving a User element. The `UserPasswordValidator` applies only a `safe` validator to the `newPassword` field without an `on` scenario restriction. This makes `newPassword` mass-assignable during the generic element save flow, completely bypassing the dedicated `users/set-password` action that enforces elevated session verification.\n\nAn attacker with any authenticated session (whether it’s hijacked or a normal / low-privileged user) can change their own password, and potentially take over administrator accounts.\n\n## Required Permissions\n- Access the control panel\n- Edit users (needed for the account takeover attack scenario)\n\n## Impact\n- Any authenticated user can change their own password without providing their current password.\n- Users with Edit users permission can change any user’s password, including administrators.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Versiones de Craft CMS anteriores a la 5.10.8 contienen una vulnerabilidad de omisión de autenticación en la acción elements/save que permite a los usuarios autenticados cambiar contraseñas sin verificación. Atacantes con permiso para editar usuarios pueden restablecer la contraseña de cualquier usuario, incluyendo la de los administradores, explotyo el campo newPassword desprotegido en el flujo de guardado del elemento Usuario.","source":"nvd"}],"published":"2026-08-06T21:04:11.000Z","modified":"2026-10-24T15:10:00.190Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-285"],"affected":[{"ranges":[{"type":"semver","introduced":"5.0.0-RC1","fixed":"5.10.8","status":"affected"},{"type":"semver","version":"5.10.8","status":"unaffected"}],"vendor":"craftcms","product":"cms","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0-RC1","status":"affected","fixed":"5.10.8"}],"ecosystem":"Packagist","package":"craftcms/cms","purl":"pkg:composer/craftcms/cms","source":"ghsa"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-p8x7-9vfw-p7vc","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/craft-cms-rc1-before-authentication-bypass-via-password-reset","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/craftcms/cms/commit/cbdf45fbd3ab548b147d7de375f6f6f580b7c294","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/craftcms/cms","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/craftcms/cms/releases/tag/5.10.8","tags":["web"],"sources":["ghsa"]}],"credits":["mHe4am"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-13T12:31:30.991Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72786","url":"https://www.cve.org/CVERecord?id=CVE-2026-72786","licence":"CVE Terms of Use","modified":"2026-10-08T15:24:29.916Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p8x7-9vfw-p7vc","url":"https://github.com/advisories/GHSA-p8x7-9vfw-p7vc","licence":"CC-BY-4.0","modified":"2026-09-03T03:55:32.592Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72786","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72786","licence":"Public domain","modified":"2026-10-24T15:10:00.190Z"}],"updatedAt":"2026-11-25T22:59:32.626Z","epss":{"score":0.00462,"percentile":0.32107,"date":"2026-11-30T12:00:22.000Z"}}