CVE-2024-48909: SpiceDB LookupResources2 Context Misreporting Vulnerability

github.com/authzed/spicedb Updated 02 Oct 2025

Summary

14/10/2024
Yes i
Low
2.0

CVE-2024-48909: Impact Clients that have enabled LookupResources2 and have caveats in the evaluation path for their requests can return a permissionship of CONDITIONAL with context marked as missing, even then the context was supplied. Affects github.com/authzed/spicedb versions >= 1.35.0, < 1.37.1. Fixed in 1.37.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

SpiceDB is an open-source database designed for managing permissions and roles in applications. It provides a flexible and scalable way to enforce access control policies. The package has gained popularity for its ability to handle complex permission scenarios efficiently. However, with the introduction of the LookupResources2 feature in version 1.37.0, a vulnerability has emerged that affects how context is reported during resource lookups when caveats are applied.

Vulnerability Detail

The vulnerability arises from the implementation of the LookupResources2 function in SpiceDB, which may incorrectly report that the context is missing when it has actually been provided by the client. This issue can lead to a permissionship status of 'CONDITIONAL', causing confusion and potential security risks as users may believe they have permissions that are not accurately reflected. The problem is particularly relevant for clients utilizing caveats in their requests, as it undermines the reliability of the permission checks.

How To Fix

Latest published version: v1.57.0 as of 23 Oct 2026

go get github.com/authzed/spicedb@v1.57.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.37.1

This is the first release that contains the fix.

go get github.com/authzed/spicedb@v1.37.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable the LookupResources2 feature by setting the following flag to false: '--enable-experimental-lookup-resources=false'. This can be done in the command line when starting the SpiceDB server.

Conclusion

The SpiceDB LookupResources2 vulnerability (CVE-2024-48909) presents a significant risk by misreporting context during permission checks. Users are encouraged to update to the patched version 1.37.1 to mitigate this issue. For those unable to update immediately, disabling the LookupResources2 feature serves as a temporary workaround. Utilizing tools like Vulert can further enhance your security posture by monitoring for vulnerabilities.

See every vulnerability recorded for github.com/authzed/spicedb →

Share this vulnerability

FAQ

The vulnerability can lead to incorrect permissions being reported, which may allow unauthorized access or deny legitimate access.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability affects SpiceDB versions from 1.35.0 to 1.37.0. The fixed version is 1.37.1.

Yes, updating to SpiceDB version 1.37.1 or later resolves the issue.

Vulert monitors open-source vulnerabilities in your software using just the Gopkg.lock file. It provides real-time alerts for vulnerabilities, helping you maintain secure applications.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/authzed/spicedb.

How To Fix

Latest published version: v1.57.0 as of 23 Oct 2026

go get github.com/authzed/spicedb@v1.57.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.37.1

This is the first release that contains the fix.

go get github.com/authzed/spicedb@v1.37.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback