{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-30942","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-03-07T17:34:39.978Z","datePublished":"2026-03-10T16:44:10.305Z","dateUpdated":"2026-03-10T17:40:03.168Z"},"containers":{"cna":{"title":"Flare has a Path Traversal in /api/avatars/[filename]","problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.3,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","version":"4.0"}}],"references":[{"name":"https://github.com/FlintSH/Flare/security/advisories/GHSA-h639-p7m9-mpgp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/FlintSH/Flare/security/advisories/GHSA-h639-p7m9-mpgp"},{"name":"https://github.com/FlintSH/Flare/commit/cd894cc480619aef958be5de72b1445222fd8d36","tags":["x_refsource_MISC"],"url":"https://github.com/FlintSH/Flare/commit/cd894cc480619aef958be5de72b1445222fd8d36"},{"name":"https://github.com/FlintSH/Flare/releases/tag/v1.7.3","tags":["x_refsource_MISC"],"url":"https://github.com/FlintSH/Flare/releases/tag/v1.7.3"}],"affected":[{"vendor":"FlintSH","product":"Flare","versions":[{"version":"< 1.7.3","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-03-10T16:44:10.305Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-h639-p7m9-mpgp","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-10T17:39:47.598213Z","id":"CVE-2026-30942","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-03-10T17:40:03.168Z"}}]}}