Vulnerabilities in pkg:golang/github.com/anyproto/anytype-cli

PACKAGE
Advisory Identifier: GHSA-vv3h-7qwr-722v
Advisory Summary

CVE-2026-31863 is a LOW (CVSS 3.6) anytype heart's grpc api client vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Github.com/anyproto/anytype heart libraries in the Go ecosystem. The issue involves anytype heart's grpc api client challenge verification can be bypassed on localhost. Remediation is available by upgrading affected packages to version 0.48.4, 0.1.11.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/anyproto/anytype-cli

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/anyproto/anytype-cli. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vv3h-7qwr-722v CVE-2026-31863 LOW Anytype Heart's gRPC API client challenge verification can be bypassed on localhost

CVE-2026-31863 at a Glance

CVE Identifier CVE-2026-31863
GHSA Identifier GHSA-vv3h-7qwr-722v
Severity LOW
CVSS v3.1 Base Score 3.6
CWE Classification CWE-307: Improper Restriction of Excessive Authentication Attempts
Affected Product Github.com/anyproto/anytype heart
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 3.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-31863

To remediate this vulnerability, upgrade all affected Github.com/anyproto/anytype heart dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/anyproto/anytype-heart fixed: 0.48.4
Upgrade github.com/anyproto/anytype-heart to 0.48.4
github.com/anyproto/anytype-cli fixed: 0.1.11
Upgrade github.com/anyproto/anytype-cli to 0.1.11
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/anyproto/anytype-heart

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-31863, inspect your project dependencies for Github.com/anyproto/anytype heart:

inspect dependencies for github.com/anyproto/anytype-heart

Analyze the terminal output to locate any version of Github.com/anyproto/anytype heart in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.48.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In Github.com/anyproto/anytype heart, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

#### Impact The challenge-based authentication for the local gRPC client API can be bypassed, allowing an attacker to gain access without the 4-digit code. Affected components: - Anytype Desktop (all platforms) ≤ v0.48.2 - Anytype-CLI (headless deployments) ≤ v0.1.9 Not affected: - Anytype mobile apps (iOS, Android) - do not expose a local gRPC server Who is impacted: This 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. ### Exploitation requires: - Local user-level access to the machine running Anytype - Discovery of the randomized listening port - A running Anytype instance Anytype-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 exposes 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.** #### Patches - anytype-heart library: v0.48.4 - [Anytype Desktop](https://github.com/anyproto/anytype-ts): v0.54.5 - [Anytype-CLI](https://github.com/anyproto/anytype-cli): v0.1.11 #### Workarounds - Desktop users: No immediate action required. The vulnerability requires existing local access to the machine. - Anytype-CLI administrators: If using a custom reverse proxy, ensure it does not expose gRPC or gRPC-Web ports to external networks.

CVE-2026-31863 Affected Github.com/anyproto/anytype heart Versions

2 component(s)
Fixed Versions:
0.48.40.1.11
Product / Package Ecosystem Affected Versions Fixed Version
github.com/anyproto/anytype-heart
Go
< 0.48.4
0.48.4
github.com/anyproto/anytype-cli
Go
< 0.1.11
0.1.11

References

Frequently Asked Questions

What is CVE-2026-31863?
CVE-2026-31863 is a security vulnerability in Github.com/anyproto/anytype heart involving Anytype Heart's gRPC API client challenge verification can be bypassed on localhost under CWE-307: Improper Restriction of Excessive Authentication Attempts.
Which Github.com/anyproto/anytype heart versions are affected?
Affected versions include releases prior to 0.48.4, 0.1.11 across affected packages: github.com/anyproto/anytype-heart, github.com/anyproto/anytype-cli.
What version fixes CVE-2026-31863?
Upgrading to 0.48.4, 0.1.11 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/anyproto/anytype-heart affected?
Yes, github.com/anyproto/anytype-heart is affected in releases prior to 0.48.4. Upgrade your dependency to 0.48.4 or later.
Is github.com/anyproto/anytype-cli affected?
Yes, github.com/anyproto/anytype-cli is affected in releases prior to 0.1.11. Upgrade your dependency to 0.1.11 or later.
What is the CVSS score of CVE-2026-31863?
CVE-2026-31863 has a CVSS v3.1 base score of 3.6 (LOW) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-31863?
CVE-2026-31863 is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts (The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.).
How can I check Go dependencies for CVE-2026-31863?
Run the dependency tree command: 'inspect dependencies for github.com/anyproto/anytype-heart'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vv3h-7qwr-722v",
  "modified" : "2026-03-24T21:11:53Z",
  "published" : "2026-03-11T15:33:29Z",
  "aliases" : [ "CVE-2026-31863" ],
  "summary" : "Anytype Heart's gRPC API client challenge verification can be bypassed on localhost",
  "details" : "#### 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/anyproto/anytype-heart"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.48.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/anyproto/anytype-cli"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.1.11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/anyproto/anytype-heart/security/advisories/GHSA-vv3h-7qwr-722v"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-31863"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/anyproto/anytype-cli"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/anyproto/anytype-heart"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/anyproto/anytype-ts"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2026-4680"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-307" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-11T15:33:29Z",
    "nvd_published_at" : "2026-03-11T18:16:25Z"
  }
}