{"id":"CVE-2026-31863","aliases":["CVE-2026-31863","GHSA-vv3h-7qwr-722v","GO-2026-4680"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Restriction of Excessive Authentication Attempts in github.com/anyproto/anytype-heart","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"#### Impact\nThe challenge-based authentication for the local gRPC client API can be bypassed, allowing an attacker to gain access without the 4-digit code.\n\nAffected components:\n- Anytype Desktop (all platforms) ≤ v0.48.2\n- Anytype-CLI (headless deployments) ≤ v0.1.9\n\nNot affected:\n- Anytype mobile apps (iOS, Android) - do not expose a local gRPC server\n\nWho is impacted:\nThis vulnerability is scoped to localhost. The gRPC and gRPC-Web ports bind to 127.0.0.1 only and are not exposed to the local network or internet.\n\n### Exploitation requires:\n- Local user-level access to the machine running Anytype\n- Discovery of the randomized listening port\n- A running Anytype instance\n\nAnytype-CLI headless deployments may be at higher risk only if an administrator has chosen to set up their own reverse proxy and configured it in a way that\nexposes gRPC or gRPC-Web ports to an external network. **By default, these ports are not externally accessible and there is no built-in mechanism to expose them.**\n\n#### Patches\n- anytype-heart library: v0.48.4\n- [Anytype Desktop](https://github.com/anyproto/anytype-ts): v0.54.5\n- [Anytype-CLI](https://github.com/anyproto/anytype-cli): v0.1.11\n\n#### Workarounds\n- Desktop users: No immediate action required. The vulnerability requires existing local access to the machine.\n- Anytype-CLI administrators: If using a custom reverse proxy, ensure it does not expose gRPC or gRPC-Web ports to external networks.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Anytype Heart's gRPC API client challenge verification can be bypassed on localhost in github.com/anyproto/anytype-cli","format":"markdown","source":"go"},{"lang":"es","text":"Anytype Heart es la biblioteca de middleware para Anytype. La autenticación basada en desafíos para la API de cliente gRPC local puede ser eludida, permitiendo a un atacante obtener acceso sin el código de 4 dígitos. Esta vulnerabilidad está corregida en anytype-heart 0.48.4, anytype-cli 0.1.11 y Anytype Desktop 0.54.5.","source":"nvd"}],"published":"2026-03-11T15:33:29.000Z","modified":"2026-06-17T10:34:39.330Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":3.6,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":3.6,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":3.6,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-307"],"affected":[{"ranges":[{"version":"< 0.48.4","status":"affected"}],"vendor":"anyproto","product":"anytype-heart","source":"cvelist"},{"ranges":[{"version":"< 0.1.11","status":"affected"}],"vendor":"anyproto","product":"anytype-cli","source":"cvelist"},{"ranges":[{"version":"< 0.54.5","status":"affected"}],"vendor":"anyproto","product":"anytype-ts","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.48.4"}],"ecosystem":"Go","package":"github.com/anyproto/anytype-heart","purl":"pkg:golang/github.com/anyproto/anytype-heart","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.11"}],"ecosystem":"Go","package":"github.com/anyproto/anytype-cli","purl":"pkg:golang/github.com/anyproto/anytype-cli","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.11"}],"ecosystem":"Go","package":"github.com/anyproto/anytype-cli","purl":"pkg:golang/github.com/anyproto/anytype-cli","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.48.4"}],"ecosystem":"Go","package":"github.com/anyproto/anytype-heart","purl":"pkg:golang/github.com/anyproto/anytype-heart","source":"go"},{"ranges":[{"status":"affected","fixed":"0.1.11"}],"vendor":"anytype","product":"anytype_cli","cpe":"cpe:2.3:a:anytype:anytype_cli:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"0.54.5"}],"vendor":"anytype","product":"anytype_desktop","cpe":"cpe:2.3:a:anytype:anytype_desktop:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"0.48.4"}],"vendor":"anytype","product":"anytype_heart","cpe":"cpe:2.3:a:anytype:anytype_heart:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/anyproto/anytype-heart/security/advisories/GHSA-vv3h-7qwr-722v","tags":["advisory","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31863","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/anyproto/anytype-cli","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/anyproto/anytype-heart","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/anyproto/anytype-ts","tags":["web"],"sources":["ghsa","go"]},{"url":"https://pkg.go.dev/vuln/GO-2026-4680","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-12T13:52:02.447Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31863","url":"https://www.cve.org/CVERecord?id=CVE-2026-31863","licence":"CVE Terms of Use","modified":"2026-03-12T13:52:12.763Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vv3h-7qwr-722v","url":"https://github.com/advisories/GHSA-vv3h-7qwr-722v","licence":"CC-BY-4.0","modified":"2026-03-24T21:16:25.446Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4680","url":"https://pkg.go.dev/vuln/GO-2026-4680","licence":"CC-BY-4.0","modified":"2026-03-23T04:52:54.109Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31863","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31863","licence":"Public domain","modified":"2026-06-17T10:34:39.330Z"}],"updatedAt":"2026-11-25T22:59:15.759Z","epss":{"score":0.00122,"percentile":0.02145,"date":"2026-12-01T12:00:22.000Z"}}