{"answers":{"affected":"2 open source packages ship an affected version, including @agenticmail/mcp.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50287 exists.","fix":"Upgrade @agenticmail/mcp to 0.9.27 or later.","what":"CVE-2026-50287 is a high-severity missing authorization vulnerability in agenticmail, published on 12 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50287 and fix it if it is affected.\n\nWhat it is: CVE-2026-50287 is a high-severity missing authorization vulnerability in agenticmail, published on 12 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50287 exists.\n\nAffected packages and fixed versions:\n- @agenticmail/mcp (npm): affected all versions; fixed in 0.9.27\n- @agenticmail/mcp (npm): affected all versions; fixed in 0.9.27\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-50287/ (Markdown: https://insights.sbomify.com/CVE-2026-50287/index.md)","id":"CVE-2026-50287","markdown":"https://insights.sbomify.com/CVE-2026-50287/index.md","name":"CVE-2026-50287","record":{"aliases":["GHSA-63gr-g7jc-v8rg"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"AgenticMail MCP library","requires_auth":"none","summary":"Remote attackers can execute tools and access data via the unauthenticated /mcp endpoint when HTTP transport is enabled.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"AgenticMail gives AI agents real email addresses and phone numbers. Prior to version 0.9.27, @agenticmail/mcp exposes a Streamable HTTP transport when started with --http or MCP_HTTP=1. In that mode, the /mcp endpoint accepts requests without any HTTP authentication layer. A remote client can initialize a session and call tools directly. This issue has been patched in version 0.9.27.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Missing Authentication for Critical Function in @agenticmail/mcp","id":"CVE-2026-50287","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"@asymmetric-effort/specifyjs: URL parse failure silently allows request","id":"CVE-2026-50288"},"packages":[{"ecosystem":"npm","fixed":["0.9.27"],"introduced":["0"],"last_affected":[],"package":"@agenticmail/mcp","purl":null,"source":"GHSA-63gr-g7jc-v8rg"},{"ecosystem":"npm","fixed":["0.9.27"],"introduced":["0"],"last_affected":[],"package":"@agenticmail/mcp","purl":"pkg:npm/%40agenticmail/mcp","source":"GHSA-63gr-g7jc-v8rg"}],"prev":{"headline":"Pomerium: Pre-Auth Memory Exhaustion via Unbounded zstd Decompression in HPKE Callback","id":"CVE-2026-50285"},"products":["agenticmail"],"published":"2026-06-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-15","vendors":["agenticmail"]},"summary":"Remote attackers can execute tools and access data via the unauthenticated /mcp endpoint when HTTP transport is enabled.","url":"https://insights.sbomify.com/CVE-2026-50287/"}