Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.3
Flare File Sharing Platform: Authenticated File Access Risk
CVE-2026-30942
Summary
A previously fixed issue in Flare's file sharing platform allowed logged-in users to access any file on the server, even if they shouldn't be able to. This issue has been fixed, but it's essential to update to the latest version (1.7.3) to prevent exploitation. If you have open registration enabled, update immediately to prevent unauthorized access.
Original title
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 ...
Original description
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.
nvd CVSS4.0
8.3
Vulnerability type
CWE-22
Path Traversal
Published: 10 Mar 2026 · Updated: 13 Mar 2026 · First seen: 11 Mar 2026