{"answers":{"affected":"6 open source packages ship an affected version, including github.com/anyproto/anytype-cli and github.com/anyproto/anytype-heart. It affects 3 products.","exploited":"There is no known exploitation of CVE-2026-31863 in the wild and no public exploit code.","fix":"Upgrade github.com/anyproto/anytype-cli to 0.1.11 or later.","what":"CVE-2026-31863 is a low-severity authentication bypass vulnerability in anyproto anytype-cli, published on 11 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-31863 and fix it if it is affected.\n\nWhat it is: CVE-2026-31863 is a low-severity authentication bypass vulnerability in anyproto anytype-cli, published on 11 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-31863 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/anyproto/anytype-cli (Go): affected all versions; fixed in 0.1.11\n- github.com/anyproto/anytype-cli (Go): affected all versions; fixed in 0.1.11\n- github.com/anyproto/anytype-cli (Go): affected all versions; fixed in 0.1.11\n- github.com/anyproto/anytype-heart (Go): affected all versions; fixed in 0.48.4\n- github.com/anyproto/anytype-heart (Go): affected all versions; fixed in 0.48.4\n- github.com/anyproto/anytype-heart (Go): affected all versions; fixed in 0.48.4\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-31863/ (Markdown: https://insights.sbomify.com/CVE-2026-31863/index.md)","id":"CVE-2026-31863","markdown":"https://insights.sbomify.com/CVE-2026-31863/index.md","name":"CVE-2026-31863","record":{"aliases":["GHSA-vv3h-7qwr-722v","GO-2026-4680"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Anytype middleware library","requires_auth":"low_privilege","summary":"Attackers can bypass challenge-based authentication in the local gRPC API to access Anytype without the required 4-digit code.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"anytype_cli","vendor":"anytype"},{"product":"anytype_desktop","vendor":"anytype"},{"product":"anytype_heart","vendor":"anytype"}],"cvss":{"score":3.6,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts"}],"description":"Anytype Heart is the middleware library for Anytype. The challenge-based authentication for the local gRPC client API can be bypassed, allowing an attacker to gain access without the 4-digit code. This vulnerability is fixed in anytype-heart 0.48.4, anytype-cli 0.1.11, and Anytype Desktop 0.54.5.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper Restriction of Excessive Authentication Attempts in github.com/anyproto/anytype-heart","id":"CVE-2026-31863","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"JumpServer has a Server-Side Template Injection Leading to RCE via YAML Rendering","id":"CVE-2026-31864"},"packages":[{"ecosystem":"Go","fixed":["0.1.11"],"introduced":["0"],"last_affected":[],"package":"github.com/anyproto/anytype-cli","purl":null,"source":"GHSA-vv3h-7qwr-722v"},{"ecosystem":"Go","fixed":["0.1.11"],"introduced":["0"],"last_affected":[],"package":"github.com/anyproto/anytype-cli","purl":"pkg:golang/github.com/anyproto/anytype-cli","source":"GHSA-vv3h-7qwr-722v"},{"ecosystem":"Go","fixed":["0.1.11"],"introduced":["0"],"last_affected":[],"package":"github.com/anyproto/anytype-cli","purl":"pkg:golang/github.com/anyproto/anytype-cli","source":"GO-2026-4680"},{"ecosystem":"Go","fixed":["0.48.4"],"introduced":["0"],"last_affected":[],"package":"github.com/anyproto/anytype-heart","purl":null,"source":"GHSA-vv3h-7qwr-722v"},{"ecosystem":"Go","fixed":["0.48.4"],"introduced":["0"],"last_affected":[],"package":"github.com/anyproto/anytype-heart","purl":"pkg:golang/github.com/anyproto/anytype-heart","source":"GHSA-vv3h-7qwr-722v"},{"ecosystem":"Go","fixed":["0.48.4"],"introduced":["0"],"last_affected":[],"package":"github.com/anyproto/anytype-heart","purl":"pkg:golang/github.com/anyproto/anytype-heart","source":"GO-2026-4680"}],"prev":{"headline":"Cloud CLI has Command Injection via Multiple Parameters","id":"CVE-2026-31862"},"products":["anytype-cli","anytype-heart","anytype-ts"],"published":"2026-03-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":"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-12","vendors":["anyproto"]},"summary":"Attackers can bypass challenge-based authentication in the local gRPC API to access Anytype without the required 4-digit code.","url":"https://insights.sbomify.com/CVE-2026-31863/"}