{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30942 exists.","fix":"No fix has been published for CVE-2026-30942 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-30942 is a high-severity path traversal vulnerability in FlintSH Flare, published on 10 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-30942 and fix it if it is affected.\n\nWhat it is: CVE-2026-30942 is a high-severity path traversal vulnerability in FlintSH Flare, published on 10 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30942 exists.\n\nAffected product: FlintSH Flare. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-30942/ (Markdown: https://insights.sbomify.com/CVE-2026-30942/index.md)","id":"CVE-2026-30942","markdown":"https://insights.sbomify.com/CVE-2026-30942/index.md","name":"CVE-2026-30942","record":{"aliases":["GHSA-h639-p7m9-mpgp"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Flare file sharing","requires_auth":"low_privilege","summary":"An authenticated path traversal in Flare allows attackers to read arbitrary files from the server, requiring only a logged-in account which can be self-registered by default.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"flare","vendor":"flintsh"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"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"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Flare has a Path Traversal in /api/avatars/[filename]","id":"CVE-2026-30942","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Gokapi has Privilege Escalation in File Replace","id":"CVE-2026-30943"},"packages":[],"prev":{"headline":"Parse Server has a NoSQL injection via token type in password reset and email verification endpoints","id":"CVE-2026-30941"},"products":["Flare"],"published":"2026-03-10","related":[{"cvss_score":8.2,"headline":"Flare: Password‑Protected Thumbnail Bypass","id":"CVE-2026-30230","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":6,"headline":"Flare: Private File IDOR via raw/direct endpoints","id":"CVE-2026-30231","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":4.6,"headline":"Flare has XSS vulnerability in Raw File Preview","id":"CVE-2026-26993","kev_date_added":null,"published":"2026-02-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-10","vendors":["FlintSH"]},"summary":"An authenticated path traversal in Flare allows attackers to read arbitrary files from the server, requiring only a logged-in account which can be self-registered by default.","url":"https://insights.sbomify.com/CVE-2026-30942/"}