CVE-2026-125337 — Vulnerability in winter/wn-backend-module
Winter: ImportExportController AJAX handlers bypass granular import/export permission gate
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.44%). Schedule for your next planned update.
Does your project use an affected winter/wn-backend-module version?
Paste your composer.lock to check it for CVE-2026-125337 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
Affected versions of Winter CMS did not enforce the ImportExportController behavior's granular access control on the handlers that actually perform the work.
The behavior supports per-operation access control through the import[permissions] and export[permissions] configuration keys, enforced by userHasAccess(). That check was applied only to the import() and export() page actions.
Backend\Classes\Controller::execAjaxHandlers() dispatches AJAX handlers and returns before execPageAction() runs, and the behavior binds its import and export form widgets in its constructor on every request to the controller. The handlers were therefore fully functional without the gated page action ever executing, and none of them carried the check:
onImport()— reaches$model->import()with attacker-supplied column mappingsonImportLoadForm()onImportLoadColumnSampleForm()onExport()— reaches$model->export()onExportLoadForm()download()— streams a completed export file
An authenticated backend user who could reach such a controller through its coarse $requiredPermissions, but who was denied the granular import or export permission, could therefore:
- exfiltrate the entire dataset exposed by the export model, via
onExport()followed bydownload(); and - write or overwrite records through the import model, via
onImport().
userHasAccess() is default-permissive — it returns true unless the corresponding permissions key is configured — so only controllers that declare granular import/export permissions were affected. Those are precisely the controllers whose authors opted in to restricting these operations, and for which the configuration silently had no effect on the paths that mattered.
Note that CSRF tokens are still verified on all POST requests, so the attacker must be logged into the backend with a valid session.
To actively exploit this issue, an attacker would need a backend account with access to a controller that implements this behavior and declares an import[permissions] or export[permissions] value more restrictive than that controller's own $requiredPermissions.
Patches
userHasAccess() is now enforced on every handler and action that performs or exposes an import or export operation: onImport(), onImportLoadForm(), onImportLoadColumnSampleForm(), onExport(), onExportLoadForm(), and the download() action.
Because the check remains default-permissive, controllers that never configured granular permissions are unaffected. The only behavioural change is for controllers that did configure the gate — which is the intended fix.
Regression coverage was added in modules/backend/tests/behaviors/ImportExportControllerPermissionsTest.php, covering denial of each guarded entry point, proof that the underlying import() and export() model sinks are never reached, positive controls confirming a user who does hold the granular permissions is still able to import and export, and a control confirming that controllers without the configuration continue to work.
This security issue has been fixed in v1.2.14.
Workarounds
If you cannot upgrade, apply https://github.com/wintercms/winter/commit/84c81f153f2dc3e2c7b03ab14a4a3ca8456d0e4f manually, adding the following to each of the methods listed above (using 'export' for onExport(), onExportLoadForm() and download()):
if (!$this->userHasAccess('import')) {
abort(403);
}
As an interim mitigation, express the restriction in the affected controller's own $requiredPermissions property instead of relying solely on the behavior's granular keys. That check is enforced in Backend\Classes\Controller before any AJAX handler is dispatched, so it covers the handlers as well as the page actions.
References
Credit to Jace (@manus-use) for reporting the issue.
For more information
If you have any questions or comments about this advisory:
- Email us at hello@wintercms.com
Advisory Timeline
- First published August 20, 2026 (98 days ago).
- Last revised November 10, 2026 — 82 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "winter/wn-backend-module:^1.2.14"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| winter/wn-backend-module Packagist · Affected: v1.0.473, v1.0.474, v1.0.475, v1.1.10 (+23 more) | 1.2.14 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
References
Frequently Asked Questions
- What is CVE-2026-125337?
- Winter: ImportExportController AJAX handlers bypass granular import/export permission gate. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.3/10).
- How do I check if my project is affected by CVE-2026-125337?
- CVE-2026-125337 affects winter/wn-backend-module. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-125337 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 30.2% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-27591CRITICAL
Winter vulnerable to privilege escalation by authenticated backend users
- CVE-2026-103035HIGH
TeamPass folder re-parenting authorization bypass
- CVE-2026-35445HIGH
Winter: Authenticated backend users can bypass Users controller permission checks
- CVE-2026-110782HIGH
SAML2: Incomplete fix of CVE-2026-49283: unsigned embedded Response bypasses HTTP-Artifact signature verification (no embedded-Issuer binding)
- CVE-2026-32257HIGH
Winter: Stored XSS through Brand Settings custom styles
- CVE-2026-32258HIGH
Winter: Stored XSS through Editor Settings custom styles