Home / flarum / framework / CVE-2026-41887
CVE-2026-41887: is it exploited, and which versions of flarum framework are affected and fixed?
CVE-2026-41887 is a path traversal (reading or writing files outside the intended folder) vulnerability in flarum framework. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: flarum/core before 1.8.16 and flarum/core from 2.0.0-beta.1 before 2.0.0-rc.1 (GitHub advisory GHSA-xjvc-pw2r-6878). Fixed in 1.8.16 and 2.0.0-rc.1 (GitHub advisory GHSA-xjvc-pw2r-6878). Severity: Medium (4.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-41887?
Flarum: Path traversal in LESS parser via theme color settings (incomplete fix for CVE-2023-27577)
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.
From the CVE record by GitHub_M, last updated May 8, 2026, 19:26 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| flarum | framework | < 1.8.16 >= 2.0.0-beta.1, < 2.0.0-rc.1 |
As the CVE record by GitHub_M states it, last updated May 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | flarum/core | < 1.8.16 | 1.8.16 | GHSA-xjvc-pw2r-6878 |
| Packagist | flarum/core | >= 2.0.0-beta.1, < 2.0.0-rc.1 | 2.0.0-rc.1 | GHSA-xjvc-pw2r-6878 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 13, 2026. Summary: Flarum: Path traversal in LESS parser via theme color settings (incomplete fix for CVE-2023-27577).
How severe is CVE-2026-41887?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-41887 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, May 8, 2026)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- CWE-918 Server-Side Request Forgery
Where are the vendor advisories and references?
- https://github.com/flarum/framework/security/advisories/GHSA-xjvc-pw2r-6878 x_refsource_CONFIRM
- https://github.com/flarum/framework/commit/2d90a1f19f0e46f8c7e1b07c48ba74b5e38f8410 x_refsource_MISC
- https://github.com/flarum/framework/releases/tag/v1.8.16 x_refsource_MISC
- https://github.com/flarum/framework/releases/tag/v2.0.0-rc.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 22, 2026
- Published
- May 8, 2026, 15:50 UTC
- CVE record updated
- May 8, 2026, 19:26 UTC by GitHub_M
- NVD
- Deferred, last modified October 26, 2026, 18:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect framework?
- Mar 12, 2025CVE-2025-27794 flarum framework: injection
- Jan 5, 2024CVE-2024-21641 flarum framework: open redirect
- Aug 16, 2023CVE-2023-40033 flarum framework: server-side request forgery (SSRF)
- Mar 10, 2023CVE-2023-27577 flarum framework: path traversal (reading or writing files outside the intended folder)
- Jan 13, 2023CVE-2023-22489 flarum framework: missing authorization
- Jan 12, 2023CVE-2023-22488 flarum framework: missing authorization
- Jan 11, 2023CVE-2023-22487 flarum framework: improper access control
- Nov 19, 2022CVE-2022-41938 flarum framework: cross-site scripting (XSS)
Questions about CVE-2026-41887
Is CVE-2026-41887 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of flarum framework are affected by CVE-2026-41887?
flarum/core before 1.8.16 and flarum/core from 2.0.0-beta.1 before 2.0.0-rc.1, per the GitHub advisory GHSA-xjvc-pw2r-6878. The tables above give every range the sources list.
Which version fixes CVE-2026-41887?
1.8.16 and 2.0.0-rc.1, per the GitHub advisory GHSA-xjvc-pw2r-6878. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-41887?
Medium (4.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-41887?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.