Winter: Local File Inclusion through @import directives in LESS compilation of backend customizable stylesheets and theme assets
CVE-2026-63179Published 26 Aug 2026, 18:06 UTC
Real-world risk
1.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
4.9
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Winter CMS is a content management system built on the Laravel PHP framework. In versions up to and including 1.2.12, authenticated backend users can disclose arbitrary files readable by the PHP process by injecting @import (inline) directives into LESS source that the backend compiles, because the LESS parser was instantiated without a safe import resolver and fell back to the raw attacker-supplied path when no allowed root matched. The flaw is reachable through four entry points that share the same root cause: the Brand Settings custom_css field, the Editor Settings html_custom_styles field, the Mail Brand Settings colour-picker fields whose values are concatenated into LESS source without escaping, and theme .less, .sass, and .scss assets compiled when served. Both absolute paths and .. traversal outside the asset's own tree were accepted, so an attacker could read any file the web process can access, most significantly the application .env file and the APP_KEY and database credentials it contains. Exploitation requires a backend account holding one of the associated permissions, which are assigned by default to the built-in Developer role. This issue is fixed in version 1.2.13.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| winterNiche | < 1.2.13 | 1.2.13 |
What to do
Update to a fixed version: 1.2.13.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 31), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.200
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.2 × threat 0.851.360
- Rounded to one decimal between 0.1 and 101.4
Exploitation and evidence timeline
- 26 Aug 2026 Published
- 3 Dec 2026 Risk 1.4 (cvss fallback)
Weakness
CWE-22
References
- https://github.com/wintercms/winter/security/advisories/GHSA-58fp-mcx6-7qf9vendor-advisory
- https://github.com/wintercms/storm/commit/af770331c683e628533a6ec2991285d6e10a4d6cmisc
- https://github.com/wintercms/winter/commit/130f0ea43e9228bf0d129b481da1cdfbcc4b4456misc
- https://github.com/wintercms/winter/releases/tag/v1.2.13misc
- CVE-2026-63179 on CVE.org