{"answers":{"affected":"2 open source packages ship an affected version, including io.moquette:moquette-broker.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85058 exists.","fix":"Upgrade io.moquette:moquette-broker to 0.18.1 or later.","what":"CVE-2026-85058 is a high-severity missing authorization vulnerability in moquette-io moquette, published on 18 Sep 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-85058 and fix it if it is affected.\n\nWhat it is: CVE-2026-85058 is a high-severity missing authorization vulnerability in moquette-io moquette, published on 18 Sep 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-85058 exists.\n\nAffected packages and fixed versions:\n- io.moquette:moquette-broker (Maven): affected all versions; fixed in 0.18.1\n- io.moquette:moquette-broker (Maven): affected all versions; fixed in 0.18.1\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-85058/ (Markdown: https://insights.sbomify.com/CVE-2026-85058/index.md)","id":"CVE-2026-85058","markdown":"https://insights.sbomify.com/CVE-2026-85058/index.md","name":"CVE-2026-85058","record":{"aliases":["GHSA-9jjc-fw8x-fmwx"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Java MQTT broker","requires_auth":"none","summary":"Remote attackers can inject messages into restricted topics via Last Will features when anonymous access is enabled, bypassing write permissions.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, PostOffice.publishWill publishes a client-controlled Last Will message through publish2Subscribers without invoking the authorizator.canWrite check used by normal PUBLISH paths. When anonymous access is enabled and topic ACLs restrict writes, a remote client can set an ACL-protected topic as the Last Will Topic during CONNECT and perform an abnormal client disconnect, causing the broker to inject attacker-controlled messages into a topic for which the client lacks write permission. This issue is fixed in version 0.18.1.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Moquette: Missing Authorization in io.moquette:moquette-broker","id":"CVE-2026-85058","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"MapLibre GL JS: XSS Sanitizer Bypass in DOM.sanitize() via Live NamedNodeMap Removal Skip","id":"CVE-2026-85061"},"packages":[{"ecosystem":"Maven","fixed":["0.18.1"],"introduced":["0"],"last_affected":[],"package":"io.moquette:moquette-broker","purl":null,"source":"GHSA-9jjc-fw8x-fmwx"},{"ecosystem":"Maven","fixed":["0.18.1"],"introduced":["0"],"last_affected":[],"package":"io.moquette:moquette-broker","purl":"pkg:maven/io.moquette/moquette-broker","source":"GHSA-9jjc-fw8x-fmwx"}],"prev":{"headline":"ZITADEL: Actions V1 sandbox escape: host file read via require()","id":"CVE-2026-85057"},"products":["moquette"],"published":"2026-09-18","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-09-22","vendors":["moquette-io"]},"summary":"Remote attackers can inject messages into restricted topics via Last Will features when anonymous access is enabled, bypassing write permissions.","url":"https://insights.sbomify.com/CVE-2026-85058/"}