Feb 7, 2026·4 min read·34 visits
Sending a garbage string inside a `LookupResources` pagination cursor crashes SpiceDB. The server used `MustParse` on client-provided data, causing a panic instead of an error return. Patch to v1.39.1 immediately.
SpiceDB, the open-source Google Zanzibar implementation, suffered from a classic Go anti-pattern: using a 'Must' function on untrusted input. By submitting a malformed pagination cursor in a `LookupResources` request, an attacker could trigger a `tuple.MustParse` panic. This unhandled exception crashes the entire SpiceDB process, allowing for a trivial, unauthenticated Denial of Service (DoS) attack against the authorization infrastructure.
In the Go programming ecosystem, there is an unwritten rule—or rather, a very explicitly written convention—about function naming. If a function starts with Must (e.g., MustCompile, MustParse), it is a loaded gun. It tells the runtime: "If this fails, don't bother returning an error. Just panic and crash the program." These functions are great for initialization logic where hardcoded strings must be correct for the program to start. They are absolutely catastrophic when used on dynamic input.
SpiceDB, the authorization database designed to handle permissions at massive scale (think Google Docs sharing), forgot this rule. In a specific workflow for looking up resources, the server accepted a pagination cursor from the user, unwrapped it, and shoved the contents directly into tuple.MustParse. This is the digital equivalent of accepting a package from a stranger and immediately juggling it without checking if it's a bomb.
Pagination cursors are a standard mechanism in APIs. You ask for a list of resources, the server gives you the first 50 and a "cursor"—a bookmark—to get the next 50. In SpiceDB, these cursors are Protobuf messages (authzed.api.v1.Cursor) that contain a list of strings called sections. When a client asks for the next page, they send this cursor back to the server.
Deep in internal/graph/cursors.go, the LookupResources logic tries to pick up where it left off. It extracts a string from the cursor's sections field—data that is ostensibly controlled by the server but physically routed through the untrusted client. The code treated this string as a trusted internal tuple representation. It passed this string to tuple.MustParse, assuming it would always be valid. It didn't account for a malicious client modifying the cursor or hand-crafting a garbage one.
The vulnerability lived in internal/graph/cursors.go. The code took a string directly from the input and assumed it was safe.
Vulnerable Code:
// The code retrieves the string from the cursor
datastoreCursorString, _ := ci.headSectionValue()
if datastoreCursorString != "" {
// FATAL FLAW: MustParse panics on error
datastoreCursor = options.ToCursor(tuple.MustParse(datastoreCursorString))
}If datastoreCursorString is "invalid:garbage", MustParse throws a panic. Since this isn't recovered, the Go runtime kills the process.
The Fix (v1.39.1):
The patch is the standard "don't panic" fix. It switches to the safe Parse variant and checks the error.
datastoreCursorString, _ := ci.headSectionValue()
if datastoreCursorString != "" {
// FIX: Use Parse and handle the error gracefully
parsedCursor, err := tuple.Parse(datastoreCursorString)
if err != nil {
return fmt.Errorf("could not parse '%s' as tuple: %w", datastoreCursorString, err)
}
datastoreCursor = options.ToCursor(parsedCursor)
}Exploiting this is trivially easy. You don't need authentication if the endpoint is public, and you don't need complex memory corruption techniques. You just need to speak gRPC.
authzed buf definition, or just capture a valid one from a normal request.sections field in the Protobuf to contain a string that violates the tuple syntax (e.g., ":::bad_tuple").LookupResources request with your poisoned optional_cursor.Because SpiceDB is often deployed as a central authorization service, a single malformed request can crash the pod. If an attacker puts this in a loop, they can keep the authorization service perpetually down. In a microservices architecture, when Authz goes down, everything usually fails closed. The app becomes a brick.
The remediation is straightforward: upgrade to v1.39.1. This version replaces the panic-inducing call with proper error handling. If you cannot upgrade immediately, you are in a tight spot because WAFs generally struggle to inspect the internal fields of gRPC Protobuf messages to validate tuple syntax. Rate limiting might slow down an attacker, but it won't stop them from crashing the service eventually. The only real fix is the patch.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H| Product | Affected Versions | Fixed Version |
|---|---|---|
SpiceDB AuthZed | < 1.39.1 | 1.39.1 |
| Attribute | Detail |
|---|---|
| CWE | CWE-248 (Uncaught Exception) |
| Attack Vector | Network (gRPC) |
| CVSS v3.1 | 7.5 (High) |
| Impact | Denial of Service (Process Crash) |
| Component | internal/graph/cursors.go |
| Exploit Status | Trivial / PoC Available |
CVE-2026-115895 is a high-severity code injection vulnerability (CWE-94) in the happy-dom npm package prior to version 21.0.4. The vulnerability exists within the ECMAScriptModuleCompiler component, which transforms ECMAScript module syntax into executable Node.js functions when JavaScript evaluation is enabled. Due to an incomplete fix for CVE-2026-33943, the compiler failed to validate local named import aliases against legal JavaScript identifier rules. Attackers supplying crafted module imports—specifically utilizing destructuring default initializers alongside JSON module attributes—can inject arbitrary JavaScript expressions directly into the host Node.js runtime context.
An improper input validation and authorization bypass vulnerability exists in the LangGraph storage layer affecting langgraph, langgraph-checkpoint-postgres, and langgraph-checkpoint-sqlite. Because relational store implementations serialize namespace tuples into dot-delimited strings without validating labels on read, search, delete, and batch operations, an attacker who controls a namespace label can inject periods (.) to traverse namespace boundaries and access, modify, or delete data belonging to other namespaces.
CVE-2026-115886 (GHSA-2wqp-q3c6-ccj5) is a Server-Side Request Forgery (SSRF) and Unsafe Reflection vulnerability in MLflow versions 3.12.0rc0 prior to 3.17.0. Unauthenticated REST API endpoints accept serialized third-party scorer JSON payloads that are dynamically deserialized and reflectively instantiated without sanitizing constructor keyword arguments. When optional dependencies such as trulens and trulens-providers-litellm are installed, attackers can inject egress-steering arguments into the scorer payload, forcing the MLflow server to dispatch outbound HTTP requests to arbitrary internal destinations or cloud metadata services.
CVE-2026-113872 (GHSA-q7qp-rjg7-q26m) is a high-severity denial-of-service vulnerability affecting the multer multipart/form-data upload middleware for Node.js and Express in versions 2.0.0 through 2.4.0. When an endpoint is configured to accept multiple files using an asynchronous fileFilter callback, a crafted, truncated multipart HTTP request can trigger an unhandled error event on the underlying busboy stream parser after request teardown has already completed. Because all error listeners are stripped during teardown, Node.js treats the resulting error event as an uncaught exception and immediately terminates the server process.
CVE-2026-115897 (also tracked as GHSA-m5mm-p8h7-m29v and aliased as CVE-2026-115754) is a Cross-Site Scripting (XSS) vulnerability in the Yahoo serialize-javascript npm package prior to version 7.1.3. The flaw exists in the regular expression used by escapeFunctionBody() to neutralize HTML script closing tags within serialized JavaScript functions. Because function bodies are sanitized in isolation before structural formatting is applied, a function whose string representation terminates directly with the sequence '</script' bypasses the positive lookahead check. When combined with serialization formatting options that introduce whitespace delimiters and a subsequent property that supplies a closing bracket, an attacker can prematurely terminate an enclosing HTML <script> block and inject arbitrary HTML or JavaScript into the rendered document.
CVE-2026-109841 is a Subresource Integrity (SRI) verification bypass vulnerability in undici, the official HTTP/1.1 and HTTP/2 client library for Node.js that powers the global fetch() implementation. The flaw stems from improper handling of case sensitivity (CWE-178) when validating cryptographic hash algorithm tokens within SRI metadata. Because undici compared incoming algorithm identifiers against a strictly lowercase set without prior ASCII-lowercase normalization, valid uppercase or mixed-case tokens such as SHA256- or Sha384- were treated as unrecognized algorithms and discarded. Under SRI forward-compatibility rules, discarding all provided tokens results in an empty integrity list, causing undici to fail open and accept tampered HTTP response bodies without cryptographic verification.