Flare has a Path Traversal in /api/avatars/[filename]
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Flare (FlintSH) Fixed in 1.7.3
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-30942
- 2026-10-27 EPSS moved to the 50th–90th percentile
References
More FlintSH Flare vulnerabilities
- TI-2026-23463 Flare: Password‑Protected Thumbnail Bypass CVSS 4.0HIGH 8.2
- TI-2026-23464 Flare: Private File IDOR via raw/direct endpoints CVSS 4.0MEDIUM 6.0
- TI-2026-21472 Flare has XSS vulnerability in Raw File Preview CVSS 3.1MEDIUM 5.4
Sources
- CVE-2026-30942 · CVE Program
- CVE-2026-30942 · NVD
- FIRST EPSS
- CVE-2026-30942 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences