CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-FM29-4MQ3-PHG6

GHSA-FM29-4MQ3-PHG6: Missing Authorization in Winter CMS ImportExportController Behavior

Alon Barad
Alon Barad
Software Engineer

Aug 21, 2026·5 min read·20 visits

Executive Summary (TL;DR)

An authorization bypass in Winter CMS prior to 1.2.14 allows authenticated backend users with basic controller access to bypass granular import/export permission gates by interacting directly with AJAX handlers.

Winter CMS contains an authorization bypass vulnerability within its ImportExportController behavior. Due to a design flaw in the request lifecycle processing, permissions configured for data import and export operations are not validated during AJAX-based requests, allowing authenticated users with limited privileges to perform unauthorized data exfiltration or database manipulation.

Vulnerability Overview

The vulnerability designated as GHSA-FM29-4MQ3-PHG6 identifies an authorization bypass within Winter CMS, specifically affecting the ImportExportController behavior located in modules/backend/behaviors/ImportExportController.php.

This behavior is designed as a horizontal code-reuse mixin that allows developers to quickly equip custom backend controllers with comprehensive CSV or Excel import and export capabilities.

The attack surface exists for authenticated backend users who possess permissions to access a parent controller but are explicitly restricted from performing data imports or exports through granular permissions.

Due to an execution-order mismatch in the request lifecycle, the granular security barriers designated for import and export functions were not enforced during direct AJAX-based requests, enabling privilege escalation (CWE-862).

Root Cause Analysis

To understand the core flaw, it is necessary to examine the request-handling lifecycle of the Winter CMS backend controller class (Backend\Classes\Controller).

During controller initialization, any declared behaviors, such as ImportExportController, are instantiated, which automatically binds their respective widgets and AJAX handlers to the parent controller instance.

When a request arrives as an AJAX POST, the framework executes Backend\Classes\Controller::execAjaxHandlers() early in the execution sequence.

If the handler name matches an endpoint declared by the behavior (such as onImport or onExport), that handler runs immediately, outputs its response, and early-terminates the execution flow.

Consequently, the execution path never reaches the controller's execPageAction() method, which is the only phase where the security checkpoints in import() and export() were evaluated.

Request Lifecycle Execution Flow

The execution flow mismatch is illustrated in the sequence diagram below, which shows how direct AJAX requests completely bypass the traditional page action security barriers:

Code Analysis

Prior to the fix implemented in version 1.2.14, the behavior restricted access exclusively within the page view methods. This meant that the security policy was completely bypassed when interacting directly with the underlying AJAX handlers.

// Vulnerable execution path in ImportExportController.php
public function import()
{
    if (!$this->userHasAccess('import')) {
        abort(403); // Check was only present here!
    }
    // ... standard action logic ...
}

The official patch modified the behavior to inject authorization checks directly inside each internal handler and the download action. This modification blocks unauthorized operations during the initial state-binding process.

// Patched execution path in ImportExportController.php
public function onImport()
{
    if (!$this->userHasAccess('import')) {
        abort(403); // Added explicit handler gate
    }
    try {
        $model = $this->importGetModel();
        // ... model import logic ...
    }
    // ... error handling ...
}

This remediation ensures completeness because the authorization check is now executed immediately upon entering any entry point that manipulates state or retrieves generated documents.

Exploitation Methodology

An attacker seeking to exploit this vulnerability must first obtain valid authenticated credentials for the Winter CMS backend. The user account must have permissions to access the parent controller but be denied the specific import/export administrative actions.

To bypass the standard interface restriction, the attacker bypasses the HTML form and makes a direct POST request to the controller's endpoint, declaring the targeted AJAX handler in the headers.

POST /backend/acme/records HTTP/1.1
Host: target.local
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
X-OCTOBER-REQUEST-HANDLER: onExport
 
export_columns[]=id&export_columns[]=email&visible_columns[id]=1&visible_columns[email]=1

The server executes the query and generates the CSV file, returning a download payload with a temporary identifier. The attacker then fetches the file directly via the unguarded download path, retrieving sensitive database tables without authorization.

Impact Assessment

The vulnerability introduces severe risks to confidentiality and integrity. Since the import and export utilities handle raw database interactions, bypassing their gates allows full data exfiltration and database tampering.

An attacker can export customer lists, configuration credentials, or proprietary datasets. Additionally, by invoking the import action, the attacker can alter database values, escalate privileges of administrative accounts, or insert malicious entries.

A CVSS v3.1 base score of 8.1 reflects the impact when exploited by a low-privileged user. The attack vector is entirely remote, requires minimal complexity, and bypasses local logical partitioning.

Remediation and Mitigations

The primary remediation strategy is upgrading the Winter CMS installation to version 1.2.14 or later. This can be achieved through composer by running the update command.

If upgrading immediately is not possible, security teams should apply the code patch manually to modules/backend/behaviors/ImportExportController.php using the commit modifications.

As a temporary workaround, network administrators can deploy Web Application Firewall (WAF) rules to inspect incoming requests. Specifically, log and block any POST requests to /backend routes that contain the request handler header value onExport or onImport if the authenticated user lacks matching privileges.

Fix Analysis (1)

Technical Appendix

CVSS Score
8.1/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected Systems

Winter CMS instances utilizing the Backend module and implementing the ImportExportController behavior in custom components.

Affected Versions Detail

Product
Affected Versions
Fixed Version
Winter CMS
Winter CMS
>= 1.0.0, < 1.2.141.2.14
AttributeDetail
CWE IDCWE-862 (Missing Authorization)
Attack VectorNetwork (Unauthenticated or low-privilege backend session required)
CVSS v3.1 Score8.1 (High)
ImpactPrivilege Escalation, Unauthorized Data Exfiltration, Database Manipulation
Exploit StatusPoC / Regression Test validation
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1548Abuse Elevation Control Mechanism
Privilege Escalation
T1114Email Collection / Data Exfiltration
Collection
CWE-862
Missing Authorization

The software does not perform an authorization check when an actor attempts to access a resource or perform an action.

Vulnerability Timeline

Vulnerability identified and official patch committed to repository
2023-11-20
Winter CMS Version 1.2.14 released containing the mitigation
2023-11-21
GitHub Security Advisory GHSA-FM29-4MQ3-PHG6 published
2023-11-22

References & Sources

  • [1]GHSA-FM29-4MQ3-PHG6 Security Advisory
  • [2]Fix Commit 84c81f153f2dc3e
  • [3]Winter CMS v1.2.14 Release Notes

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•21 minutes ago•CVE-2026-62297
7.5

CVE-2026-62297: Uncontrolled Memory Allocation and Denial of Service in ag-psd

An uncontrolled memory allocation vulnerability exists in ag-psd versions prior to 31.0.0. When parsing Adobe Photoshop Document (PSD) files, the readPsd() function reads image dimensions and color depth directly from the file header and allocates off-heap typed arrays without validating whether the requested memory size is proportional to the input stream or bounded by operational thresholds. An unauthenticated attacker can supply a crafted 52-byte PSD payload that triggers an immediate 3.35 GB memory allocation, resulting in process termination via the operating system Out-Of-Memory (OOM) killer.

Amit Schendel
Amit Schendel
1 views•10 min read
•about 1 hour ago•CVE-2026-126297
7.5

CVE-2026-126297: Algorithmic Complexity Denial of Service in NLTK ConllCorpusReader

CVE-2026-126297 (GHSA-v8f3-6phw-6mh9) is an uncontrolled resource consumption and algorithmic complexity vulnerability in the Natural Language Toolkit (NLTK) prior to version 3.10.4. Located in the Semantic Role Labeling (SRL) parser within `nltk/corpus/reader/conll.py`, the flaw allows an attacker to trigger quadratic O(N^2) CPU processing overhead by providing crafted CoNLL-formatted corpus inputs containing decoy span columns or nested full-width verb spans. Applications parsing untrusted linguistic corpora can experience prolonged CPU exhaustion and application-level Denial of Service (DoS).

Amit Schendel
Amit Schendel
2 views•12 min read
•about 2 hours ago•CVE-2026-126298
7.5

CVE-2026-126298: Quadratic Algorithmic Complexity Denial of Service in NLTK Tree.chomsky_normal_form

CVE-2026-126298 (also tracked as GHSA-r53h-rw34-8h97) is an algorithmic complexity Denial of Service (DoS) vulnerability in the Natural Language Toolkit (NLTK) Python library affecting all versions prior to 3.10.4. The vulnerability resides in the nltk.tree.transforms.chomsky_normal_form function and its corresponding public method Tree.chomsky_normal_form(). When transforming a parse tree into Chomsky Normal Form using the default right-factoring strategy, the function repeatedly invokes list.pop(0) inside a loop iterating over all children of a node. In CPython, removing the initial element of a standard list requires an O(N) memory shift operation, causing the overall binarization algorithm to degrade to O(N^2) quadratic time complexity relative to the width of a node. Furthermore, converting horizontal node width into vertical tree depth bypasses initial parsing depth bounds, triggering subsequent stack exhaustion (RecursionError) when recursive methods traverse the mutated structure. Unauthenticated remote attackers who can submit bracketed tree strings to applications invoking this transformation can exhaust single-threaded CPU resources or induce unhandled application exceptions.

Alon Barad
Alon Barad
5 views•12 min read
•about 3 hours ago•CVE-2026-126299
7.5

CVE-2026-126299: Quadratic Algorithmic Complexity Denial of Service in NLTK CCG Lexicon Parser

An algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) before version 3.10.4 allows remote unauthenticated attackers to cause a denial of service via crafted Combinatory Categorial Grammar (CCG) lexicon strings. The parser in nltk.ccg.lexicon.fromstring performs repeated immutable string slicing, concatenation, and regex tail capturing, resulting in O(n^2) CPU consumption when processing wide, flat category definitions.

Alon Barad
Alon Barad
4 views•10 min read
•about 4 hours ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 5 hours ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
3 views•10 min read