/

CVE-2026-125337

Severity:

HIGH RISK

(8.3)

Broken Access Control (CWE-862) in Winter CMS Import/Export

CVE-2026-125337

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-862, CWE-863

Impact:

Unauthorized data modification and data disclosure

Severity:

HIGH RISK

(8.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Winter CMS versions before 1.2.14 can expose import and export operations to authenticated backend users who have general controller access but lack the configured granular permissions. Such users may be able to modify records through import handlers or retrieve data through export handlers and the download action.

Affected context

The issue concerns Winter CMS's ImportExportController authorization flow. It may affect deployments where the controller has granular import or export permissions configured, but AJAX handlers or the download action can be reached without those checks. Controllers without granular permission keys are intentionally default-permissive and are not affected by this specific permission-check gap.

Exploit preconditions

  • Attack surface: Authenticated Winter CMS backend endpoints for import and export operations
  • Required access: A valid backend session and coarse access through $requiredPermissions, but not the configured granular import or export permission
  • Trigger point: Import/export AJAX handlers, or the export download action
  • Why exploitation is possible: The relevant handlers and download action can be reached without applying the granular permission check enforced on the import and export page actions

Why this happens

Authorization checks are applied inconsistently across related controller actions. The import() and export() page actions call userHasAccess(), but AJAX handler dispatch occurs before those gated actions, and the separately reachable download() action lacks the granular export check. This is an authorization enforcement gap: access to a protected operation is not consistently checked at every entry point. It maps primarily to CWE-862: Missing Authorization and is also related to CWE-863: Incorrect Authorization.

Potential impact

  • An unauthorized backend user could write or overwrite records through import handlers.
  • An unauthorized user could retrieve data exposed by the export model.
  • Inconsistent access controls could undermine data confidentiality and integrity.

General mitigation guidance

Common defensive patterns include:

  • Enforcing the same granular permission checks on every action and handler that performs or enables an import or export.
  • Applying authorization checks at the operation boundary, rather than relying only on page-action checks.
  • Treating download endpoints and AJAX handlers as independent entry points that require explicit authorization.
  • Defaulting to denial when granular permissions are absent or cannot be evaluated, where compatible with the application's access model.
  • Limiting backend account privileges and reviewing permission assignments regularly.

How teams detect issues like this

Review controller routes and handler-dispatch paths to confirm that every operation checks the required granular permission, including AJAX handlers and download actions. Static analysis and code review can flag sensitive operations whose authorization checks are missing or occur only in a separate page action. Policy tests can verify that users lacking import or export permissions are denied across all related entry points.

Sources

SourceLink
github.comgithub.com/wintercms/winter/commit/84c81f153f2dc3e2c7b03ab14a4a3ca8456d0e4f
github.comgithub.com/wintercms/winter/releases/tag/v1.2.14
github.comgithub.com/wintercms/winter/security/advisories/GHSA-fm29-4mq3-phg6

Frequently asked

questions

An authenticated backend user with a valid session and coarse controller access may be able to exploit it if they lack the configured granular import or export permission.

Yes. The described scenario requires an authenticated backend session; the issue is not described as an unauthenticated vulnerability.

Check granular permissions at every handler and action that performs an import, export, or download, rather than relying on checks attached to page actions.

Inventory all routes and dispatch paths for sensitive operations, enforce consistent authorization at operation boundaries, and test access with accounts that have different permission levels.

Find out what's already
exploitable in your codebase.