---
id: "CVE-2026-126061"
page: "https://infrastack.ai/live/CVE-2026-126061"
kind: "vulnerability"
aliases: ["CVE-2026-126061", "GHSA-mpmw-f6h6-3g26"]
title: "Winter: My Account preview exposes another backend user's profile by record ID"
severity: "medium"
cvss: 4.3
epss: null
exploited: false
status: "open"
category: "package"
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"]
published_at: "2026-08-20T18:44:45+00:00"
first_seen_at: "2026-11-10T20:10:42+00:00"
updated_at: "2026-11-10T20:12:35+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-mpmw-f6h6-3g26", "first_seen_at": "2026-11-10T20:10:42+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126061", "first_seen_at": "2026-11-10T20:46:04+00:00"}]
exploit_sources: []
---

# Winter: My Account preview exposes another backend user's profile by record ID

Link for people: https://infrastack.ai/live/CVE-2026-126061 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- composer:winter/wn-backend-module affected = 1.2.13 fixed 1.2.14

## 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`.
- 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`

## Timeline

- 2026-11-10T20:10:42+00:00 ghsa https://github.com/advisories/GHSA-mpmw-f6h6-3g26
- 2026-11-10T20:46:04+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126061

## Documents

- [advisory] Maintainer's advisory: api.github.com https://api.github.com/repos/wintercms/winter/security-advisories/GHSA-mpmw-f6h6-3g26
- [advisory] Maintainer's advisory: github.com https://github.com/wintercms/winter/security/advisories/GHSA-mpmw-f6h6-3g26
- [fix] Patch: github.com https://github.com/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb
- [fix] Release: github.com https://github.com/wintercms/winter/releases/tag/v1.2.14

## From the sources

### Impact

`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.

`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:

```
GET /backend/backend/myaccount/preview/{other_user_id}
```

`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.

The 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.

To actively exploit this security issue, an attacker would need access to the Backend with a user account with any level of access.

### Patches

`MyAccount` no longer exposes the generic record actions it never used as routes, and its form lookup is now pinned to the authenticated user:

- `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.
- `formExtendQuery()` constrains every lookup made by the behavior to the current user's key.

This security issue has been fixed as of **v1.2.14** (commit [`cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb`](https://github.com/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb)).

### Workarounds

There is no supported workaround other than upgrading. If you cannot upgrade immediately, you may apply the fix manually in `modules/backend/controllers/MyAccount.php`:

1. Add `protected $guarded = ['create', 'update', 'preview'];` to the controller.
2. Add a `formExtendQuery()` method that scopes the lookup to the current user:

```php
public function formExtendQuery(\Winter\Storm\Database\Builder $query): void
{
    $query->whereKey($this->user->getKey());
}
```

### References

- https://github.com/wintercms/winter/security/advisories/GHSA-j5jq-cr68-v2xx
- https://github.com/wintercms/winter/commit/cdbc8f5a23db27f72ccec658a8e5769e6d9f6dcb


Credit to Awwader ([@NRAwwad](https://github.com/NRAwwad)) for reporting the issue.

### For more information

If you have any questions or comments about this advisory:
- Email us at [hello@wintercms.com](mailto:hello@wintercms.com)

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
