{"answers":{"affected":"3 open source packages ship an affected version, including github.com/bettercap/bettercap/v2.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8276 exists.","fix":"Upgrade github.com/bettercap/bettercap/v2 to 2.41.7 or later.","what":"CVE-2026-8276 is a medium-severity vulnerability in bettercap, published on 11 May 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-8276 and fix it if it is affected.\n\nWhat it is: CVE-2026-8276 is a medium-severity vulnerability in bettercap, published on 11 May 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-8276 exists.\n\nAffected packages and fixed versions:\n- github.com/bettercap/bettercap/v2 (Go): affected all versions; fixed in 2.41.7\n- github.com/bettercap/bettercap/v2 (Go): affected all versions; fixed in 2.41.7\n- github.com/bettercap/bettercap/v2 (Go): affected all versions; fixed in 2.41.7\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-8276/ (Markdown: https://insights.sbomify.com/CVE-2026-8276/index.md)","id":"CVE-2026-8276","markdown":"https://insights.sbomify.com/CVE-2026-8276/index.md","name":"CVE-2026-8276","record":{"aliases":["DEBIAN-CVE-2026-8276","GHSA-jcqv-2g3v-gm88","GO-2026-5463","UBUNTU-CVE-2026-8276"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"bettercap network tool","requires_auth":"none","summary":"Remote attackers can trigger integer coercion errors in bettercap's MySQL server module, potentially causing unexpected behavior or crashes.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-192","name":"Integer Coercion Error"},{"id":"CWE-189","name":null}],"description":"A flaw has been found in bettercap up to 2.41.5. Affected by this issue is some unknown functionality of the file modules/mysql_server/mysql_server.go of the component MySQL Server. Executing a manipulation can lead to integer coercion error. The attack can be launched remotely. The attack requires a high level of complexity. The exploitation is known to be difficult. The exploit has been published and may be used. This patch is called 0eaa375c5e5446bfba94a290eff92967a5deac9e. It is advisable to implement a patch to correct this issue.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"bettercap MySQL Server mysql_server.go integer coercion","id":"CVE-2026-8276","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":3,"n_references":8,"next":{"headline":"** REJECT ** DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2026-8278"},"packages":[{"ecosystem":"Go","fixed":["2.41.7"],"introduced":["0"],"last_affected":[],"package":"github.com/bettercap/bettercap/v2","purl":null,"source":"GHSA-jcqv-2g3v-gm88"},{"ecosystem":"Go","fixed":["2.41.7"],"introduced":["0"],"last_affected":[],"package":"github.com/bettercap/bettercap/v2","purl":"pkg:golang/github.com/bettercap/bettercap/v2","source":"GHSA-jcqv-2g3v-gm88"},{"ecosystem":"Go","fixed":["2.41.7"],"introduced":["0"],"last_affected":[],"package":"github.com/bettercap/bettercap/v2","purl":"pkg:golang/github.com/bettercap/bettercap/v2","source":"GO-2026-5463"}],"prev":{"headline":"bettercap zerogod IPP Service zerogod_ipp_primitives.go ippReadChunkedBody integer coercion","id":"CVE-2026-8275"},"products":["bettercap"],"published":"2026-05-11","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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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-05-11","vendors":["n/a"]},"summary":"Remote attackers can trigger integer coercion errors in bettercap's MySQL server module, potentially causing unexpected behavior or crashes.","url":"https://insights.sbomify.com/CVE-2026-8276/"}