CVE-2026-41887 — Server-Side Request Forgery
CVE-2026-41887 — 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 var
What This Means For You
- If your environment is affected by CWE-22, CWE-918, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-41887 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-41887 - Flarum LESS Config Var SSRF/LFI via @import
title: CVE-2026-41887 - Flarum LESS Config Var SSRF/LFI via @import
id: scw-2026-05-08-ai-1
status: experimental
level: critical
description: |
Detects an authenticated administrator attempting to exploit CVE-2026-41887 in Flarum by injecting an @import directive into the theme_primary_color setting. This can lead to Local File Inclusion (LFI) or Server-Side Request Forgery (SSRF) by causing the server to compile LESS code that includes arbitrary files or makes outbound requests.
author: SCW Feed Engine (AI-generated)
date: 2026-05-08
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-41887/
tags:
- attack.lateral_movement
- attack.t1071.001
logsource:
category: webserver
detection:
selection:
cs-uri|contains:
- '/admin/settings/theme'
cs-method:
- 'POST'
cs-uri-query|contains:
- 'theme_primary_color'
cs-uri-query|contains:
- '@import'
selection_base:
cs-uri|contains:
- '/admin/settings/theme'
cs-method:
- 'POST'
selection_indicators:
cs-uri-query|contains:
- 'theme_primary_color'
cs-uri-query|contains:
- '@import'
condition: selection_base AND selection_indicators
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-41887 | vulnerability | CVE-2026-41887 |
| CWE-22 | weakness | CWE-22 |
| CWE-918 | weakness | CWE-918 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 08, 2026 at 20:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.