PT-2026-24251 · Flare · Flare
Ropshade
·
Publicado
2026-03-10
·
Atualizado
2026-03-18
·
CVE-2026-30942
CVSS v4.0
8.3
Alta
| Vetor | AV: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
Correção
Path traversal
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Flare