PT-2026-24251 · Flare · Flare

Ropshade

·

Published

2026-03-10

·

Updated

2026-03-18

·

CVE-2026-30942

CVSS v4.0

8.3

High

VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Flare versions prior to 1.7.3
Description Flare is a Next.js-based, self-hostable file sharing platform. A path traversal issue exists in the /api/avatars/[filename] endpoint, allowing authenticated users to read arbitrary files within the application container. The filename URL parameter is passed to path.join() without proper sanitization, and the getFileStream() function does not validate the path. This enables the use of encoded ../ sequences to escape the uploads/avatars/ directory and access any file accessible to the Next.js process under /app/. Authentication is enforced by Next.js middleware, but open registration (the default setting) allows attackers to self-register and exploit the issue. The vulnerable parameter is filename.
Recommendations Update Flare to version 1.7.3 or later.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2026-30942
GHSA-H639-P7M9-MPGP

Affected Products

Flare