CVE-2026-41887 json
Flarum: Path traversal in LESS parser via theme color settings (incomplete fix for CVE-2023-27577)
published 6mo ago modified 14d ago also EUVD-2026-28804 , GHSA-xjvc-pw2r-6878
- cvss
- 4.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
Flarum is open-source forum software. Prior to versions 1.8.16 and 2.0.0-rc.1, Flarum's patch for CVE-2023-27577 restricted the @import and data-uri() LESS features in the custom_less setting, but the same restriction was never applied to other settings registered as LESS config variables (for example theme_primary_color and theme_secondary_color, as well as any key registered via Extend\Settings::registerLessConfigVar()). Those values are interpolated verbatim into the LESS source at compile time, allowing an authenticated administrator to craft a theme-color value that injects an arbitrary @import directive into the compiled forum.css. Because the underlying LESS parser honours @import (inline) '<path>', an attacker can read arbitrary files reachable by the PHP process (local file inclusion) or trigger outbound HTTP(S) requests (server-side request forgery). This issue has been patched in versions 1.8.16 and 2.0.0-rc.1.
Patch / fix
- packagist flarum/core 1.8.16, 2.0.0-rc.1
- flarum flarum 1.8.16, 2.0.0-rc.1
Is CVE-2026-41887 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/flarum/framework/security/advisories/GHSA-xjvc-pw2r-6878 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | flarum/core | <1.8.16 >=2.0.0-beta.1, <2.0.0-rc.1 |
1.8.16 2.0.0-rc.1 |
Affected products
- flarum framework
Classification
References
-
github.com
/flarum/framework/commit/2d90a1f19f0e46f8c7e1b07c48ba74b5e38f8410
web
-
github.com
/flarum/framework/security/advisories/GHSA-xjvc-pw2r-6878
exploit, web
-
github.com
/flarum/framework/releases/tag/v1.8.16
web
-
github.com
/flarum/framework/releases/tag/v2.0.0-rc.1
web
-
github.com
/flarum/framework/security/advisories/GHSA-vhm8-wwrf-3gcw
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-27577
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-41887
advisory
-
github.com
/flarum/framework
package
Sources
- CVE List CVE-2026-41887
- GitHub Advisory GHSA-xjvc-pw2r-6878
- NVD CVE-2026-41887
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.