Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/authzed/spicedb
  4. ›
  5. CVE-2025-65111

CVE-2025-65111: SpiceDB: LookupResources with Multiple Entrypoints across Different Definitions Can Return Incomplete Results

November 21, 2025

If a schema includes the following characteristics:

  1. Permission defined in terms of a union (+)
  2. That union references the same relation on both sides, but one side arrows to a different permission

Then you might have missing LookupResources results when checking the permission. This only affects LookupResources; other APIs calculate permissionship correctly.

A small concrete example:

relation doer_of_things: user | group#member
permission do_the_thing = doer_of_things + doer_of_things->admin

A CheckPermission on do_the_thing will return the correct permissionship, but a LookupResources on do_the_thing may miss resources.

References

  • github.com/advisories/GHSA-9m7r-g8hg-x3vr
  • github.com/authzed/spicedb
  • github.com/authzed/spicedb/commit/8c2edbe1e7bd3851fa2138f4cc344bfde986dcf2
  • github.com/authzed/spicedb/security/advisories/GHSA-9m7r-g8hg-x3vr
  • nvd.nist.gov/vuln/detail/CVE-2025-65111

Code Behaviors & Features

Detect and mitigate CVE-2025-65111 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.47.1

Fixed versions

  • 1.47.1

Solution

Upgrade to version 1.47.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-277: Insecure Inherited Permissions

Source file

go/github.com/authzed/spicedb/CVE-2025-65111.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 23 Nov 2025 12:18:20 +0000.