Skip to main content

Winter CMS EUVDEUVD-2026-66654

| CVE-2026-63179 MEDIUM
Path Traversal (CWE-22)
2026-08-20 https://github.com/wintercms/winter GHSA-58fp-mcx6-7qf9
4.9
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. Recon
    Authenticate to backend as Developer-role user
  2. Delivery
    Inject @import (inline) path directive into Brand/Editor/Mail/Theme settings
  3. Exploit
    Save settings field containing crafted LESS source
  4. Install
    Load any backend page to trigger CombineAssets LESS compilation
  5. C2
    Less_Parser resolves unrestricted filesystem path
  6. Execute
    Arbitrary file contents embedded in compiled CSS response
  7. Impact
    Exfiltrate APP_KEY and database credentials from page source

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

Exploitation requires an authenticated Winter CMS backend account holding at least one of four specific permissions: backend.manage_branding (write access to Brand Settings custom_css), backend.manage_editor (write access to Editor Settings html_custom_styles), system.manage_mail_templates (write access to Mail Brand Settings colour-picker fields), or cms.manage_assets (write access to theme .less/.sass/.scss asset files). By default, all four permissions are assigned exclusively to the built-in Developer role - standard Editor or Publisher roles do not carry them. The vulnerability is therefore not exploitable by unauthenticated users or by standard content-editor accounts. What limits exploitation beyond authentication: the attacker must be able to write to one of the four specific settings fields, the PHP process must have filesystem read access to the target file (e.g., .env must be readable by the web user), and in the theme-asset case the attacker must have access to save .less/.sass/.scss files directly. There is no evidence of exploitation via privilege escalation from lower-privileged accounts.

Impact

The NVD-assigned CVSS 3.1 score of 4.9 (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N) accurately reflects the threat profile: network-accessible backend, no special attack complexity, but high privileges required. The PR:H requirement is the primary risk limiter - exploitation is gated behind possession of a Winter CMS backend account with at least one of four specific administrative permissions, which by default map to the Developer role. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. No CISA KEV listing exists and no public POC has been identified, meaning this is currently a patch-priority rather than an active-incident response priority. However, the potential confidentiality impact is disproportionate to the CVSS score: successful exploitation yields APP_KEY (enabling cookie/session forgery and encrypted data decryption) and raw database credentials, which can enable lateral movement well beyond the initial CMS compromise. The risk is real for any multi-tenant hosting environment where untrusted users hold Developer-level backend roles.

Exploit ScenarioDerived

An attacker with a Winter CMS backend account holding the backend.manage_branding permission navigates to Brand Settings and injects @import (inline) "/var/www/html/.env" into the custom_css field, then saves. On each subsequent backend page load, the LESS compiler processes this directive without path restriction, embedding the raw contents of the .env file into the compiled CSS style block returned to the browser. The attacker reads APP_KEY and database credentials directly from the page source or browser developer tools, then uses APP_KEY to forge signed application payloads or decrypt encrypted data. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% 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 path traversal in Winter CMS's LESS compilation pipeline allows backend users holding any of four specific permissions to exfiltrate arbitrary files readable by the PHP process - most critically the application .env file containing APP_KEY and database credentials. The vulnerability affects Winter CMS versions through 1.2.12 via four injection sinks: Brand Settings, Editor Settings, Mail Brand Settings colour fields, and theme CSS assets compiled by CombineAssets. No public exploit identified at time of analysis and no active exploitation confirmed, but confidentiality impact is high given .env disclosure enables full application key compromise.

RemediationAI

Upgrade both Winter CMS core and Winter Storm to version 1.2.13, available at https://github.com/wintercms/winter/releases/tag/v1.2.13. The fix requires coordinated updates to both packages because the LessImportResolver class lives in Winter Storm while the four injection sinks are patched in Winter core. If immediate upgrade is not possible, apply the two upstream commits manually: https://github.com/wintercms/storm/commit/af770331c683e628533a6ec2991285d6e10a4d6c (Storm LessImportResolver) and https://github.com/wintercms/winter/commit/130f0ea43e9228bf0d129b481da1cdfbcc4b4456 (core sink updates). As an interim compensating control, remove the cms.manage_assets, backend.manage_branding, backend.manage_editor, and system.manage_mail_templates permissions from any role held by non-fully-trusted users, and clear any existing non-empty values from Brand Settings custom_css and Editor Settings html_custom_styles fields - existing injected payloads would otherwise continue to execute. Note that clearing those fields removes any custom backend styling, which is a cosmetic trade-off. Restricting the Developer role to fully trusted operators eliminates the attack surface entirely until patching is feasible.

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

The root cause resides in the wikimedia/less.php integration within Winter Storm (the shared library underpinning Winter CMS), classified as CWE-22 (Path Traversal). Less_Parser was instantiated without a safe import resolver, causing Less_FileManager::getFilePath() to fall back to the raw attacker-supplied string when no candidate root directory matches. This means an @import (inline) directive embedding an absolute path or ../ traversal sequence is passed verbatim to the filesystem, bypassing all intended directory scope. The affected package is composer winter/wn-backend-module (CPE: pkg:composer/winter_wn-backend-module), versions through 1.2.12. Four distinct sinks share this root cause: BrandSetting.custom_css, EditorSetting.html_custom_styles, MailBrandSetting colour-picker fields processed through Less_Parser::ModifyVars() without escaping, and theme .less/.sass/.scss assets compiled via System\Classes\CombineAssets. The fix introduces a LessImportResolver class using the callable form of Less_Parser::SetImportDirs() to enforce an allowlist of permitted import roots at parse time.

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 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 4.9 MEDIUM

Network-accessible backend requires PR:H (Developer-role auth); read-only file disclosure yields C:H with no integrity or availability impact.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/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
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Impact

Affected versions of Winter CMS allow authenticated backend users with the following permissions to disclose arbitrary files readable by the PHP process by injecting @import (inline) "<path>" directives into LESS source that the backend compiles. Four entry points share the same root cause:

  • Brand Settings BrandSetting.custom_css field (backend.manage_branding) - compiled inline into every backend page's <style> block.
  • Editor Settings EditorSetting.html_custom_styles field (backend.manage_editor) - compiled inline into every backend page's <style> block.
  • Mail Brand Settings MailBrandSetting colour-picker fields (system.manage_mail_templates) - values are concatenated into LESS source via Less_Parser::ModifyVars() with no escaping, so any value the form validator does not reject can carry an @import directive.
  • Theme .less/.sass/.scss assets (cms.manage_assets) - compiled through System\Classes\CombineAssets when served, with the same Less_Parser configuration. Both absolute paths and .. traversal escape from the asset's own tree were exploitable.

The leaked content includes any file the web process can read, most importantly the application .env file (disclosing APP_KEY and database credentials).

To actively exploit this issue, an attacker would need an authenticated backend account with one of the permissions listed above. By default these are assigned to the built-in Developer role.

Patches

The root cause is in the wikimedia/less.php integration in Winter Storm: Less_Parser was instantiated without a safe import resolver, and its Less_FileManager::getFilePath() falls back to the raw attacker-supplied path when no candidate root matches. Storm now ships a LessImportResolver that uses the callable form of Less_Parser::SetImportDirs() to refuse any @import whose resolved path lies outside the calling context's allowed roots, defeating both absolute paths and .. traversal at the parser level.

The four sinks have been updated to use the resolver. The three settings models pass no allowed roots (deny-all) because the bundled stylesheets ship no @import directives and the user fields have no legitimate use for them. System\Classes\CombineAssets configures the theme-asset compiler with themes_path(), plugins_path(), and base_path('modules') as allowed roots, preserving real cross-tree imports observed in shipped themes and plugins.

This security issue has been fixed in v1.2.13 (Winter core) and v1.2.13 (Winter Storm).

Workarounds

If you cannot upgrade, apply https://github.com/wintercms/storm/commit/af770331c683e628533a6ec2991285d6e10a4d6c and https://github.com/wintercms/winter/commit/130f0ea43e9228bf0d129b481da1cdfbcc4b4456 manually. As an interim mitigation, remove cms.manage_assets from any non-trusted role and clear any non-empty value from the Brand Settings custom_css and Editor Settings html_custom_styles fields.

References

See https://github.com/octobercms/october/security/advisories/GHSA-3888-q23f-x7qh for the related (but distinct in scope) October CMS advisory addressing the theme-asset compiler path. The Brand/Editor/Mail Brand Settings sinks reported in this advisory are not covered by the October patch.

Credit to Nguyen Van Hiep (@hypnguyen1209) from Lo Security for reporting the issue.

For more information

If you have any questions or comments about this advisory:

  • Email us at [hello@wintercms.com](mailto:hello@wintercms.com)

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Low
niche PHP CMS, significantly smaller footprint than WordPress or Drupal
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.4%
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

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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