Flare is a Next.js-based, self-hostable file sharing platform that integrates with screenshot tools. Prior to 1.7.3, an authenticated path traversal vulnerability in /api/avatars/[filename] allows any logged-in user to read arbitrary files from within the application container. The filename URL parameter is passed to path.join() without sanitization, and getFileStream() performs no path validation, enabling %2F-encoded ../ sequences to escape the uploads/avatars/ directory and read any file accessible to the nextjs process under /app/. Authentication is enforced by Next.js middleware. However, on instances with open registration enabled (the default), any attacker can self-register and immediately exploit this. This vulnerability is fixed in 1.7.3.
Conclusion & alert: CVE-2026-30942 is rated High Exploit Risk (62/100): CVSS High severity, with low exploitation likelihood (EPSS 0.18%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-19 | 0.13% | 0.18% | +0.05% |
| 2 | 2026-03-11 | — | 0.13% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.3 | 4.0 | HIGH |
|
— | — | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-30942: 1 source package rows (flare); 15 state rows across 2 repos (3.23-community, edge-community); fixed 0, open 15. | https://security.alpinelinux.org/vuln/CVE-2026-30942 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-30942 |
| URL | Tags |
|---|---|
| https://github.com/FlintSH/Flare/commit/cd894cc480619aef958be5de72b1445222fd8d36 | Patch |
| https://github.com/FlintSH/Flare/releases/tag/v1.7.3 | Product Release Notes |
| https://github.com/FlintSH/Flare/security/advisories/GHSA-h639-p7m9-mpgp | Exploit Mitigation Vendor Advisory |