Local File Inclusion in Flarum Forum Software due to Insecure LESS Configuration
CVE-2026-41887
4.9MEDIUM
What is CVE-2026-41887?
Flarum, an open-source forum software, has a vulnerability that arises from insufficient restrictions on LESS configuration settings. Specifically, the limitations intended for the custom_less setting were not universally applied, allowing authenticated administrators to exploit theme color values. By injecting an arbitrary @import directive into compiled CSS, an attacker could leverage this to execute local file inclusions or trigger unauthorized outbound HTTP requests. This vulnerability has been addressed in Flarum versions 1.8.16 and 2.0.0-rc.1, underscoring the importance of keeping software updated to mitigate exploitation risks.
Affected Version(s)
framework < 1.8.16 < 1.8.16
framework >= 2.0.0-beta.1, < 2.0.0-rc.1 < 2.0.0-beta.1, 2.0.0-rc.1
