CVE-2026-41887: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in flarum framework
CVE-2026-41887 is a path traversal vulnerability in the Flarum forum framework affecting versions prior to 1. 8. 16 and certain pre-release 2. 0. 0 versions. The issue arises because some LESS configuration variables are not properly restricted, allowing an authenticated administrator to inject arbitrary @import directives into the compiled CSS. This can lead to local file inclusion or server-side request forgery by reading files accessible to the PHP process or triggering outbound HTTP(S) requests. The vulnerability has a medium severity with a CVSS score of 4. 9. It has been patched in versions 1.
AI Analysis
Technical Summary
Flarum's patch for a previous vulnerability (CVE-2023-27577) restricted the use of @import and data-uri() in the custom_less setting but failed to apply the same restrictions to other LESS config variables such as theme_primary_color and theme_secondary_color. These variables are interpolated directly into the LESS source at compile time, allowing an authenticated administrator to inject arbitrary @import directives. Because the LESS parser processes these imports, an attacker can perform local file inclusion or server-side request forgery. The vulnerability affects Flarum framework versions before 1.8.16 and certain 2.0.0 pre-release versions and was fixed in 1.8.16 and 2.0.0-rc.1.
Potential Impact
An authenticated administrator can exploit this vulnerability to read arbitrary files accessible to the PHP process or cause the server to make outbound HTTP(S) requests. This can lead to disclosure of sensitive information from the server's file system or interaction with external systems via server-side request forgery. The vulnerability does not impact integrity or availability directly but has a high confidentiality impact.
Mitigation Recommendations
This vulnerability has been patched in Flarum versions 1.8.16 and 2.0.0-rc.1. Users should upgrade to these or later versions to remediate the issue. No vendor advisory was provided to indicate alternative mitigations or temporary fixes. Patch status is confirmed by the version information in the description.
CVE-2026-41887: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in flarum framework
Description
CVE-2026-41887 is a path traversal vulnerability in the Flarum forum framework affecting versions prior to 1. 8. 16 and certain pre-release 2. 0. 0 versions. The issue arises because some LESS configuration variables are not properly restricted, allowing an authenticated administrator to inject arbitrary @import directives into the compiled CSS. This can lead to local file inclusion or server-side request forgery by reading files accessible to the PHP process or triggering outbound HTTP(S) requests. The vulnerability has a medium severity with a CVSS score of 4. 9. It has been patched in versions 1.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Flarum's patch for a previous vulnerability (CVE-2023-27577) restricted the use of @import and data-uri() in the custom_less setting but failed to apply the same restrictions to other LESS config variables such as theme_primary_color and theme_secondary_color. These variables are interpolated directly into the LESS source at compile time, allowing an authenticated administrator to inject arbitrary @import directives. Because the LESS parser processes these imports, an attacker can perform local file inclusion or server-side request forgery. The vulnerability affects Flarum framework versions before 1.8.16 and certain 2.0.0 pre-release versions and was fixed in 1.8.16 and 2.0.0-rc.1.
Potential Impact
An authenticated administrator can exploit this vulnerability to read arbitrary files accessible to the PHP process or cause the server to make outbound HTTP(S) requests. This can lead to disclosure of sensitive information from the server's file system or interaction with external systems via server-side request forgery. The vulnerability does not impact integrity or availability directly but has a high confidentiality impact.
Mitigation Recommendations
This vulnerability has been patched in Flarum versions 1.8.16 and 2.0.0-rc.1. Users should upgrade to these or later versions to remediate the issue. No vendor advisory was provided to indicate alternative mitigations or temporary fixes. Patch status is confirmed by the version information in the description.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-22T15:11:54.671Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fe0d85cbff5d8610fb9954
Added to database: 5/8/2026, 4:21:25 PM
Last enriched: 5/8/2026, 4:36:37 PM
Last updated: 5/8/2026, 5:27:15 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.