{"id":"CVE-2026-126061","kind":"vulnerability","aliases":["CVE-2026-126061","GHSA-mpmw-f6h6-3g26"],"related":[],"title":"Winter: My Account preview exposes another backend user's profile by record ID","description":"### Impact\n\n`Backend\\Controllers\\MyAccount`, introduced in v1.2.13, declares an empty `$requiredPermissions` array so that any authenticated backend user can manage their own account. It implements the `FormController` behavior, which exposes three routable actions — `create`, `update` and `preview` — that each take a record id from the URL.\n\n`index()` passes the authenticated user's own id to the behavior, but the inherited actions were left routable and `formFindModelObject()` was not scoped, so a caller-supplied id resolved against an unscoped `Backend\\Models\\User` query:\n\n```\nGET /backend/backend/myaccount/preview/{other_user_id}\n```\n\n`preview` disclosed the target user's first name, last name, login, email address and avatar; `update` was equally routable and additionally disclosed role, group membership, superuser flag and throttle state. Password controls render a mask, so no credential material was exposed. Backend user ids are sequential and trivially enumerated, and as these are `GET` actions no CSRF token is involved.\n\nThe behavior's AJAX handlers (`create_onSave`, `update_onSave`, `update_onDelete`) were also dispatchable on these routes, but cross-user writes were blocked by the `Backend\\Models\\User` authorization guards added in v1.2.13. The confirmed impact is unauthorized disclosure of backend user profile data.\n\nTo actively exploit this security issue, an attacker would need access to the Backend with a user account with any level of access.\n\n### Patches\n\n`MyAccount` no longer exposes the generic record actions it never used as routes, and its form lookup is now pinned to the authenticated user:\n\n- `protected $guarded = ['create', 'update', 'preview'];` removes the inherited actions from routing. The guard has to be at the routing layer, as handler dispatch (`{action}_{handler}`) runs before the page action.\n- `formExtendQuery()` constrains every lookup made by the behavior to the current user's key.\n\nThis security issue has been fixed as of **v1.2.14** (commit [`cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb`](https://github.com/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb)).\n\n### Workarounds\n\nThere is no supported workaround other than upgrading. If you cannot upgrade immediately, you may apply the fix manually in `modules/backend/controllers/MyAccount.php`:\n\n1. Add `protected $guarded = ['create', 'update', 'preview'];` to the controller.\n2. Add a `formExtendQuery()` method that scopes the lookup to the current user:\n\n```php\npublic function formExtendQuery(\\Winter\\Storm\\Database\\Builder $query): void\n{\n    $query->whereKey($this->user->getKey());\n}\n```\n\n### References\n\n- https://github.com/wintercms/winter/security/advisories/GHSA-j5jq-cr68-v2xx\n- https://github.com/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb\n\n\nCredit to Awwader ([@NRAwwad](https://github.com/NRAwwad)) for reporting the issue.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n- Email us at [hello@wintercms.com](mailto:hello@wintercms.com)","summary":"Winter CMS's My Account backend page lets any logged-in backend user open another backend user's profile by changing the record ID in the URL. The exposed data includes names, login, email and avatar, and the update view also shows role, group, superuser flag and throttle state.","severity":"medium","cvss":4.3,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"winter/wn-backend-module","fixed":["1.2.14"],"affected":"= 1.2.13","ecosystem":"composer"}],"ecosystems":["composer"],"tags":["cwe-639","package","php","self-hosted","winter-cms"],"not_affected_if":["auth-required","frontend-only","version-below-1.2.13"],"how_to_check":"- Check the `wn-backend-module` version in `composer.lock` or with `composer show winter/wn-backend-module`; affected is `1.2.13`.\n- Look for `protected $guarded` in `modules/backend/controllers/MyAccount.php`; its absence on an affected version means the flaw is present.","fix":"- `winter/wn-backend-module` to `1.2.14`","status":"open","published_at":"2026-08-20T18:44:45+00:00","first_seen_at":"2026-11-10T20:10:42+00:00","triaged_at":"2026-11-10T20:12:35+00:00","updated_at":"2026-11-10T20:12:35+00:00","category":"package","confidence":0.85,"triage":{"at":"2026-11-10T20:12:35Z","model":"claude-haiku-5-5","output":{"fix":"- `winter/wn-backend-module` to `1.2.14`","reach":"network","title":"Winter CMS: backend users can read other users' profiles by record ID","impact":"low","summary":"Winter CMS's My Account backend page lets any logged-in backend user open another backend user's profile by changing the record ID in the URL. The exposed data includes names, login, email and avatar, and the update view also shows role, group, superuser flag and throttle state.","audience":"businesses","category":"package","nicknames":[],"who_cares":["winter-cms","php","self-hosted"],"confidence":0.85,"fix_status":"available","needs_auth":"yes","worst_case":"Authenticated backend user reads other users' profiles and role details","analyst_note":"","how_to_check":"- Check the `wn-backend-module` version in `composer.lock` or with `composer show winter/wn-backend-module`; affected is `1.2.13`.\n- Look for `protected $guarded` in `modules/backend/controllers/MyAccount.php`; its absence on an affected version means the flaw is present.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["version-below-1.2.13","frontend-only","auth-required"],"who_is_affected":"Sites running Winter CMS backend version 1.2.13 that have backend user accounts with any level of access. The exposure needs a logged-in backend account; anonymous visitors and the public frontend are not affected. Sites on 1.2.12 or earlier do not have the MyAccount controller, and sites already on 1.2.14 are fixed.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"medium"},"cost_usd":0.000854,"input_tokens":5685,"output_tokens":571,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-126061':16A,24A '-2026':15A,23A '-639':27B '/backend/backend/myaccount/preview':170C '/nrawwad))':458C '/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb':451C '/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb)).':384C '/wintercms/winter/security/advisories/ghsa-j5jq-cr68-v2xx':448C '1':407C '2':417C '3g26':21A 'access':289C,301C 'account':3A,40B,108C,296C 'action':118C,146C,228C,310C,335C,350C,356C 'activ':280C 'add':265C,408C,418C 'addit':194C 'address':186C 'advisori':475C 'ajax':237C 'also':77B,246C 'anoth':6A,51B 'appli':401C 'array':97C 'attack':286C 'authent':101C,135C,325C 'author':263C 'avatar':72B,188C 'awwad':454C 'backend':7A,41B,48B,52B,87C,102C,165C,215C,260C,275C,292C 'behavior':113C,142C,235C,364C 'block':257C 'builder':437C 'caller':158C 'caller-suppli':157C 'cannot':396C 'cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb':381C 'chang':57B 'cms':35B,37B 'comment':472C 'commit':380C 'confirm':269C 'constrain':358C 'control':88C,205C,416C 'creat':119C,239C,329C,411C 'credenti':211C 'credit':452C 'cross':253C 'cross-us':252C 'csrf':230C 'current':367C,428C 'cve':14A,22A 'cwe':26B 'data':66B,278C 'databas':436C 'declar':93C 'disclos':175C,195C 'disclosur':273C 'dispatch':247C,349C 'email':70B,185C,476C 'empti':95C 'enumer':222C 'equal':191C 'everi':359C 'exploit':281C 'expos':5A,65B,115C,214C,306C 'f6h6':20A 'first':180C 'fix':376C,403C 'flag':82B,200C 'form':318C 'formcontrol':112C 'formextendqueri':357C,420C,433C 'formfindmodelobject':151C 'function':432C 'generic':308C 'get':169C,227C 'getkey':444C 'ghsa':18A 'ghsa-mpmw-f6h6-3g26':17A 'github.com':383C,447C,450C,457C 'github.com/nrawwad))':456C 'github.com/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb':449C 'github.com/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb)).':382C 'github.com/wintercms/winter/security/advisories/ghsa-j5jq-cr68-v2xx':446C 'group':80B,197C 'guard':264C,328C,339C,410C 'handler':238C,348C,351C 'hello@wintercms.com':479C,481C 'host':32B 'id':13A,60B,128C,139C,160C,173C,217C 'immedi':398C 'impact':86C,270C 'implement':110C 'includ':67B 'index':132C 'inform':465C 'inherit':145C,334C 'introduc':90C 'involv':233C 'issu':284C,373C,462C 'key':370C 'last':182C 'layer':346C 'left':148C 'let':43B 'level':299C 'log':46B 'logged-in':45B 'login':69B,184C 'longer':305C 'lookup':319C,360C,425C 'made':361C 'mailto':480C 'manag':105C 'manual':404C 'mask':208C 'materi':212C 'may':400C 'membership':198C 'method':421C 'model':166C,261C 'modules/backend/controllers/myaccount.php':406C 'mpmw':19A 'myaccount':89C,303C 'name':68B,181C,183C 'need':288C 'never':312C 'nrawwad':455C 'ondelet':244C 'onsav':240C,242C 'open':50B 'packag':28B 'page':42B,355C 'pass':133C 'password':204C 'patch':302C 'php':29B,430C 'pin':322C 'preview':4A,122C,174C,331C,413C 'profil':10A,55B,277C 'protect':327C,409C 'public':431C 'queri':168C,438C,440C 'question':470C 'record':12A,59B,127C,309C 'refer':445C 'remov':332C 'render':206C 'report':460C 'requiredpermiss':96C 'resolv':161C 'role':79B,196C 'rout':250C,315C,337C,345C 'routabl':117C,149C,192C 'run':352C 'scope':154C,423C 'secur':283C,372C 'self':31B 'self-host':30B 'sequenti':219C 'show':78B 'state':85B,203C 'storm':435C 'superus':81B,199C 'suppli':159C 'support':389C 'take':125C 'target':177C 'three':116C 'throttl':84B,202C 'token':231C 'trivial':221C 'unauthor':272C 'unscop':164C 'updat':75B,120C,189C,241C,243C,330C,412C 'upgrad':393C,397C 'url':63B,131C 'us':477C 'use':313C 'user':8A,49B,53B,103C,136C,167C,172C,178C,216C,254C,262C,276C,295C,326C,368C,429C,443C 'v1.2.13':92C,267C 'v1.2.14':379C 'view':76B 'void':439C 'wherekey':441C 'winter':1A,34B,36B,434C 'winter-cm':33B 'winter/wn-backend-module':25A 'workaround':385C,390C 'would':287C 'write':255C","nicknames":[],"mitigations":[],"who_affected":"Sites running Winter CMS backend version 1.2.13 that have backend user accounts with any level of access. The exposure needs a logged-in backend account; anonymous visitors and the public frontend are not affected. Sites on 1.2.12 or earlier do not have the MyAccount controller, and sites already on 1.2.14 are fixed.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":["winterwnbackendmodule"],"ptokens":["backend","module","winter","wn"],"labels":["composer","cwe639","medium","package","php","selfhosted","wintercms"],"campaign_type":null,"search_a":"'-126061':16A,24A '-2026':15A,23A '3g26':21A 'account':3A 'anoth':6A 'backend':7A 'cve':14A,22A 'expos':5A 'f6h6':20A 'ghsa':18A 'ghsa-mpmw-f6h6-3g26':17A 'id':13A 'mpmw':19A 'preview':4A 'profil':10A 'record':12A 'user':8A 'winter':1A 'winter/wn-backend-module':25A","search_b":"'-639':27B 'account':40B 'also':77B 'anoth':51B 'avatar':72B 'backend':41B,48B,52B 'chang':57B 'cms':35B,37B 'cwe':26B 'data':66B 'email':70B 'expos':65B 'flag':82B 'group':80B 'host':32B 'id':60B 'includ':67B 'let':43B 'log':46B 'logged-in':45B 'login':69B 'name':68B 'open':50B 'packag':28B 'page':42B 'php':29B 'profil':55B 'record':59B 'role':79B 'self':31B 'self-host':30B 'show':78B 'state':85B 'superus':81B 'throttl':84B 'updat':75B 'url':63B 'user':49B,53B 'view':76B 'winter':34B,36B 'winter-cm':33B","search_c":"'/backend/backend/myaccount/preview':170C '/nrawwad))':458C '/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb':451C '/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb)).':384C '/wintercms/winter/security/advisories/ghsa-j5jq-cr68-v2xx':448C '1':407C '2':417C 'access':289C,301C 'account':108C,296C 'action':118C,146C,228C,310C,335C,350C,356C 'activ':280C 'add':265C,408C,418C 'addit':194C 'address':186C 'advisori':475C 'ajax':237C 'also':246C 'appli':401C 'array':97C 'attack':286C 'authent':101C,135C,325C 'author':263C 'avatar':188C 'awwad':454C 'backend':87C,102C,165C,215C,260C,275C,292C 'behavior':113C,142C,235C,364C 'block':257C 'builder':437C 'caller':158C 'caller-suppli':157C 'cannot':396C 'cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb':381C 'comment':472C 'commit':380C 'confirm':269C 'constrain':358C 'control':88C,205C,416C 'creat':119C,239C,329C,411C 'credenti':211C 'credit':452C 'cross':253C 'cross-us':252C 'csrf':230C 'current':367C,428C 'data':278C 'databas':436C 'declar':93C 'disclos':175C,195C 'disclosur':273C 'dispatch':247C,349C 'email':185C,476C 'empti':95C 'enumer':222C 'equal':191C 'everi':359C 'exploit':281C 'expos':115C,214C,306C 'first':180C 'fix':376C,403C 'flag':200C 'form':318C 'formcontrol':112C 'formextendqueri':357C,420C,433C 'formfindmodelobject':151C 'function':432C 'generic':308C 'get':169C,227C 'getkey':444C 'github.com':383C,447C,450C,457C 'github.com/nrawwad))':456C 'github.com/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb':449C 'github.com/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb)).':382C 'github.com/wintercms/winter/security/advisories/ghsa-j5jq-cr68-v2xx':446C 'group':197C 'guard':264C,328C,339C,410C 'handler':238C,348C,351C 'hello@wintercms.com':479C,481C 'id':128C,139C,160C,173C,217C 'immedi':398C 'impact':86C,270C 'implement':110C 'index':132C 'inform':465C 'inherit':145C,334C 'introduc':90C 'involv':233C 'issu':284C,373C,462C 'key':370C 'last':182C 'layer':346C 'left':148C 'level':299C 'login':184C 'longer':305C 'lookup':319C,360C,425C 'made':361C 'mailto':480C 'manag':105C 'manual':404C 'mask':208C 'materi':212C 'may':400C 'membership':198C 'method':421C 'model':166C,261C 'modules/backend/controllers/myaccount.php':406C 'myaccount':89C,303C 'name':181C,183C 'need':288C 'never':312C 'nrawwad':455C 'ondelet':244C 'onsav':240C,242C 'page':355C 'pass':133C 'password':204C 'patch':302C 'php':430C 'pin':322C 'preview':122C,174C,331C,413C 'profil':277C 'protect':327C,409C 'public':431C 'queri':168C,438C,440C 'question':470C 'record':127C,309C 'refer':445C 'remov':332C 'render':206C 'report':460C 'requiredpermiss':96C 'resolv':161C 'role':196C 'rout':250C,315C,337C,345C 'routabl':117C,149C,192C 'run':352C 'scope':154C,423C 'secur':283C,372C 'sequenti':219C 'state':203C 'storm':435C 'superus':199C 'suppli':159C 'support':389C 'take':125C 'target':177C 'three':116C 'throttl':202C 'token':231C 'trivial':221C 'unauthor':272C 'unscop':164C 'updat':120C,189C,241C,243C,330C,412C 'upgrad':393C,397C 'url':131C 'us':477C 'use':313C 'user':103C,136C,167C,172C,178C,216C,254C,262C,276C,295C,326C,368C,429C,443C 'v1.2.13':92C,267C 'v1.2.14':379C 'void':439C 'wherekey':441C 'winter':434C 'workaround':385C,390C 'would':287C 'write':255C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-08-19T22:07:11+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","cvss_by":"GitHub","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-mpmw-f6h6-3g26","url":"https://github.com/advisories/GHSA-mpmw-f6h6-3g26","severity":"medium","published_at":"2026-08-20T18:44:45+00:00","modified_at":"2026-11-10T20:09:55+00:00","first_seen_at":"2026-11-10T20:10:42+00:00","fetched_at":"2026-11-10T20:56:29+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-126061","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126061","severity":null,"published_at":"2026-11-10T20:19:09+00:00","modified_at":"2026-11-10T20:19:09+00:00","first_seen_at":"2026-11-10T20:46:04+00:00","fetched_at":"2026-11-10T20:46:17+00:00","note":null}],"documents":[{"id":117781,"url":"https://api.github.com/repos/wintercms/winter/security-advisories/GHSA-mpmw-f6h6-3g26","title":"Maintainer's advisory: api.github.com","kind":"vendor","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Maintainer's advisory: api.github.com"},{"id":117782,"url":"https://github.com/wintercms/winter/security/advisories/GHSA-mpmw-f6h6-3g26","title":"Maintainer's advisory: github.com","kind":"vendor","source":"ghsa","publisher":"vendor","text":null,"published_at":"2026-08-19T22:07:11+00:00","relation":"advisory","confidence":null,"note":"Maintainer's advisory: github.com"},{"id":117783,"url":"https://github.com/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":117757,"url":"https://github.com/wintercms/winter/releases/tag/v1.2.14","title":"Release: github.com","kind":"release","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}