CVE-2026-32639
CVE-2026-32639 · Winter: Broken access control in `Cms\Controllers\Index` allows cross-template actions and unauthorized asset uploads
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Winter CMS is a content management system built on the Laravel PHP framework. In versions up to and including 1.2.12, the CMS section's Theme Editor AJAX handlers did not enforce per-template-type permission checks, allowing a backend user with any single CMS permission to act on template types outside their authorized scope. The CMS controller gated access to the section as a whole using OR-logic across its five permissions, but individual handlers such as onSave(), onDelete(), and onDeleteTemplates() did not verify that the user held the specific permission for the requested template type, so a user with only cms.manage_pages could craft AJAX requests to delete layouts, modify partials, or read content files. Separately, the AssetList widget was registered for any user who passed the controller gate regardless of the cms.manage_assets permission, and its onUpload() handler omitted the theme-validation call present on the other mutating handlers, permitting unauthorized file uploads into the active theme's asset directory. Exploitation requires an authenticated backend account holding at least one of the CMS Theme Editor permissions. This issue is fixed in version 1.2.13.
CVSS 6.8 · Medium · EPSS 0.5% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
winter
- Versions
- < 1.2.13: Affected
No fix published
winter/wn-cms-module Packagist
- Versions
- v1.0.473
- v1.0.474
- v1.0.475
- v1.1.10
- v1.1.11
- v1.1.2
- v1.1.3
- v1.1.4
- v1.1.5
- v1.1.6
- v1.1.7
- v1.1.8
- v1.1.9
- v1.2.0
- v1.2.1
- v1.2.10
- v1.2.11
- v1.2.12
- v1.2.2
- v1.2.3
- v1.2.4
- v1.2.5
- v1.2.6
- v1.2.7
- v1.2.8
- v1.2.9
- Affected ranges
- ECOSYSTEM: < 1.2.13
Update to 1.2.13
Original sources
- https://github.com/wintercms/winter/security/advisories/GHSA-5c4f-9pq9-6c77
- https://github.com/wintercms/winter/commit/164c62524e8abc153d09c6c35916278bdb746a2b
- https://github.com/wintercms/winter/commit/5391afa242eba3c476869035b7492e50a262c46b
- https://github.com/wintercms/winter/releases/tag/v1.2.13
- https://nvd.nist.gov/vuln/detail/CVE-2026-32639