Skip to main content

Winter CMS CVE-2026-54256

| EUVDEUVD-2026-66644 MEDIUM
Improper Access Control (CWE-284)
2026-08-20 https://github.com/wintercms/winter GHSA-3277-h8g9-qj5f
5.4
CVSS 3.1 · Vendor: https://github.com/wintercms/winter
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with any backend account
  2. Delivery
    Open My Account avatar upload form
  3. Exploit
    Enumerate sequential system_files integer IDs via repeated onLoadAttachmentConfig calls
  4. Execution
    Craft POST request substituting target file_id
  5. Impact
    Overwrite victim attachment metadata via onSaveAttachmentConfig or manipulate sort order via onSortAttachments

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated Winter CMS backend session with any level of access - including the default My Account capability granted to all backend users - and a valid CSRF token, which is automatically present in any authenticated browser session. No elevated role, specific permission, or non-default configuration is required; the My Account avatar form is the minimum-privilege entry point. Exploitation is constrained to integrity modification of attachment metadata (title, description, sort_order) and potentially triggering onRemoveAttachment against unrelated records; no file content read or write capability is confirmed by the advisory. The attack is further constrained to installations with a multi-user backend where other users or models have existing attachments - a single-admin installation has no cross-user targets but may still have model-level attachments that could be targeted.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N scores this at 5.4 Medium, and the signal profile is broadly consistent: network-accessible, low complexity, no user interaction, any authenticated backend user as attacker. The confidentiality impact (C:L) is plausible because onLoadAttachmentConfig can expose attachment metadata from unrelated records to the attacker; however, this is metadata exposure (titles, descriptions), not file-content disclosure, so C:L is at the upper bound of defensibility. No EPSS data was provided in the input, so exploitation probability cannot be independently quantified. No CISA KEV listing exists. The practical risk is modestly higher than the numeric score suggests: the entry point is the My Account avatar form, which requires zero elevated backend permissions, and sequential integer IDs make enumeration trivial - meaning even a small backend team running an unpatched installation faces application-wide attachment integrity risk from any backend account. There is no conflicting signal between the CVSS vector and the vulnerability description; the network vector is accurate because exploitation occurs over standard HTTP POST requests with no local access requirement. Availability impact is recorded as N in the provided CVSS, which is conservative given that onRemoveAttachment uses the same unscoped lookup - the advisory does not explicitly confirm arbitrary deletion as a realized impact, so A:N is accepted but should be re-evaluated if further analysis of onRemoveAttachment confirms deletion capability.

Exploit ScenarioDerived

An attacker logs into the Winter CMS backend using any account (including a freshly registered one with no assigned roles) and opens the My Account page, which contains the avatar FileUpload widget. Using a browser proxy, the attacker intercepts the POST request to onSaveAttachmentConfig and replaces the file_id value with an enumerated integer belonging to a content editor's uploaded document or another user's avatar. By iterating through sequential IDs, the attacker overwrites titles and descriptions on arbitrary attachments across the application with no public exploit tooling required beyond standard web proxy software.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Authenticated IDOR in the Winter CMS backend FileUpload widget (versions through 1.2.12) allows any backend user - including those with no role beyond default My Account access - to manipulate attachment metadata and sort ordering across the entire application by submitting an attacker-controlled file_id POST parameter. Because the system_files table uses sequential integer primary keys, any authenticated attacker can enumerate and target arbitrary System\Models\File records belonging to unrelated users or models, overwriting title, description, and sort_order, and potentially triggering onRemoveAttachment against unrelated records through the same unscoped lookup. No public exploit has been identified at time of analysis, and no CISA KEV entry exists.

RemediationAI

Upgrade Winter CMS to v1.2.13 or later, which contains the vendor-released patch in commit 9cb0ae5f9d837db141ab111c6a7de8eed9603d25 (https://github.com/wintercms/winter/commit/9cb0ae5f9d837db141ab111c6a7de8eed9603d25). The vendor states no supported workaround exists other than upgrading; however, for installations that cannot upgrade immediately, the fix can be applied manually in modules/backend/formwidgets/FileUpload.php: in getFileRecord(), replace $this->getRelationModel()->find(post('file_id')) with $this->getRelationObject()->withDeferred($this->sessionKey)->find(post('file_id')); and in onSortAttachments(), intersect the posted sort ID array against the IDs returned by $this->getRelationObject()->withDeferred($this->sessionKey)->pluck($keyName) before passing the result to setSortableOrder(). Applying only one of these two changes leaves the other code path unpatched - both modifications are required. There is no network-layer workaround that mitigates this vulnerability without breaking legitimate attachment functionality, as the exploit path uses the same authenticated endpoints as normal users.

Affected VersionsENISA

winter < 1.2.13

Affected Packages

composer winter/wn-backend-module fix: 1.2.13
euvd winter fix: 1.2.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Winter CMS is a Laravel-based PHP content management system. The vulnerable component is the backend FileUpload form widget (modules/backend/formwidgets/FileUpload.php), identified by CPE as pkg:composer/winter_wn-backend-module. The root cause (CWE-284: Improper Access Control) is that FileUpload::getFileRecord() resolved the POST-supplied file_id parameter via $this->getRelationModel()->find(post('file_id')), which queries the global system_files table with no relation scope. Because all attachments across every model in Winter CMS share this single table and use sequential integer IDs, the unscoped lookup allowed any valid ID to be resolved regardless of ownership. The same flaw extended to onSortAttachments(), which passed the posted ID array directly to setSortableOrder() - an unscoped UPDATE WHERE id = ? - without first verifying that the IDs belonged to the calling widget's relation. The fix in v1.2.13 (commit 9cb0ae5f9d837db141ab111c6a7de8eed9603d25) scopes all lookups through getRelationObject()->withDeferred($this->sessionKey)->find(...) and intersects sort IDs against the relation's own ID set before any update.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/wintercms/winter) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Network-accessible via HTTP POST by any low-privilege authenticated backend user; C:L for metadata exposure via onLoadAttachmentConfig; A:N because deletion impact is not explicitly confirmed by the advisory.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/wintercms/winter).

CVSS VectorVendor: https://github.com/wintercms/winter

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Impact

The backend FileUpload form widget trusted an attacker-controlled file_id POST parameter when resolving the attachment it operates on. The lookup (FileUpload::getFileRecord()) resolved the posted id against the global system_files table without verifying that the file belonged to the widget's own relation, parent record, or deferred-binding session.

Any authenticated backend user who can reach a form containing a fileupload field - including the built-in My Account avatar field, which requires no specific backend permission - could therefore target a System\Models\File record belonging to another user or record and:

  • modify its title and description via onSaveAttachmentConfig, and
  • change its sort_order via onSortAttachments (which passed posted ids

straight to setSortableOrder(), an unscoped UPDATE ... WHERE id = ?).

The same unscoped lookup is reached by onLoadAttachmentConfig, onSaveAttachmentConfig, and onRemoveAttachment. Because all attachments share the single System\Models\File model and system_files table, an attacker was not limited to other users' avatars - any attachment on any model could be referenced by id. Attachment ids are sequential integers and are easily enumerated.

The confirmed impact is unauthorized integrity modification of arbitrary attachment metadata and ordering.

CSRF tokens are still verified on all POST requests, so an attacker must be authenticated to the backend with a valid session. To exploit this issue an attacker needs a backend account with any level of access.

Patches

The FileUpload widget now scopes every file_id lookup to the widget's own relation, including any files bound through the current deferred-binding session, so a posted id can no longer reference an unrelated System\Models\File record:

  • getFileRecord() resolves the id through getRelationObject()->withDeferred($this->sessionKey)->find(...) rather than the global file model. This covers onLoadAttachmentConfig, onSaveAttachmentConfig, and onRemoveAttachment.
  • onSortAttachments() intersects the posted ids with the ids that actually belong to the relation before calling setSortableOrder().

This security issue has been fixed as of v1.2.13 (commit 9cb0ae5f9d837db141ab111c6a7de8eed9603d25).

Workarounds

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

  1. In getFileRecord(), replace $this->getRelationModel()->find(post('file_id')) with $this->getRelationObject()->withDeferred($this->sessionKey)->find(post('file_id')).
  2. In onSortAttachments(), filter the posted sortOrder ids to those returned by $this->getRelationObject()->withDeferred($this->sessionKey)->pluck($keyName) before calling setSortableOrder().

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche Laravel-based PHP CMS with limited enterprise footprint
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy