{"id":"CVE-2025-49011","aliases":["CVE-2025-49011","GHSA-cwwm-hr97-qfxm","GO-2025-3744"],"related":[],"kind":"vulnerability","state":"published","title":"SpiceDB checks involving relations with caveats can result in no permission when permission is expected","summary":"SpiceDB is an open source database for storing and querying fine-grained authorization data. Prior to version 1.44.2, on schemas involving arrows with caveats on the arrow’ed relation, when the path to resolve a CheckPermission request involves the evaluation of multiple caveated branches, requests may return a negative response when a positive response is expected. Version 1.44.2 fixes the issue. As a workaround, do not use caveats in the schema over an arrow’ed relation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SpiceDB is an open source database for storing and querying fine-grained authorization data. Prior to version 1.44.2, on schemas involving arrows with caveats on the arrow’ed relation, when the path to resolve a CheckPermission request involves the evaluation of multiple caveated branches, requests may return a negative response when a positive response is expected. Version 1.44.2 fixes the issue. As a workaround, do not use caveats in the schema over an arrow’ed relation.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nOn schemas involving arrows with caveats on the arrow’ed relation, when the path to resolve a CheckPermission request involves the evaluation of multiple caveated branches, requests may return a negative response when a positive response is expected.\n\nFor example, given this schema:\n\n```\ndefinition user {}\n\ndefinition office {\n\trelation parent: office\n\trelation manager: user\n\tpermission read = manager + parent->read\n}\n\ndefinition group {\n\trelation parent: office\n\tpermission read = parent->read\n}\n\ndefinition document {\n\trelation owner: group with equals\n\tpermission read = owner->read\n}\n\ncaveat equals(actual string, required string) {\n\tactual == required\n}\n```\n\nand these relationships:\n\n```\noffice:headoffice#manager@user:maria\noffice:branch1#parent@office:headoffice\ngroup:admins#parent@office:branch1\ngroup:managers#parent@office:headoffice\ndocument:budget#owner@group:admins[equals:{\"required\":\"admin\"}]\ndocument:budget#owner@group:managers[equals:{\"required\":\"manager\"}]\n```\n\nPermission for `'document:budget#read@user:maria with {\"actual\" : \"admin\"}'` is returned as NO_PERMISSION when HAS_PERMISSION is the correct answer.\n\n### Patches\nUpgrade to v1.44.2.\n\n### Workarounds\nDo not use caveats in your schema over an arrow’ed relation.","format":"markdown","source":"ghsa"},{"lang":"en","text":"SpiceDB checks involving relations with caveats can result in no permission when permission is expected in github.com/authzed/spicedb","format":"markdown","source":"go"},{"lang":"es","text":"SpiceDB es una base de datos de código abierto para almacenar y consultar datos de autorización detallados. Antes de la versión 1.44.2, en esquemas con flechas y advertencias en la relación con flechas, cuando la ruta para resolver una solicitud CheckPermission implica la evaluación de varias ramas con advertencias, las solicitudes podían devolver una respuesta negativa cuando se esperaba una positiva. La versión 1.44.2 soluciona este problema. Como solución alternativa, no utilice advertencias en el esquema sobre una relación con flechas.","source":"nvd"}],"published":"2025-06-06T17:36:21.747Z","modified":"2026-06-17T09:30:40.123Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-358"],"affected":[{"ranges":[{"version":"< 1.44.2","status":"affected"}],"vendor":"authzed","product":"spicedb","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.44.2"}],"ecosystem":"Go","package":"github.com/authzed/spicedb","purl":"pkg:golang/github.com/authzed/spicedb","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.44.2"}],"ecosystem":"Go","package":"github.com/authzed/spicedb","purl":"pkg:golang/github.com/authzed/spicedb","source":"go"},{"ranges":[{"status":"affected","fixed":"1.44.2"}],"vendor":"authzed","product":"spicedb","cpe":"cpe:2.3:a:authzed:spicedb:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-cwwm-hr97-qfxm","tags":["advisory","patch","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/authzed/spicedb/commit/fe8dd9f491f6975b3408c401e413a530eb181a67","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/authzed/spicedb/releases/tag/v1.44.2","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49011","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/authzed/spicedb","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-06-06T18:38:07.236Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-49011","url":"https://www.cve.org/CVERecord?id=CVE-2025-49011","licence":"CVE Terms of Use","modified":"2025-06-06T21:33:23.317Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cwwm-hr97-qfxm","url":"https://github.com/advisories/GHSA-cwwm-hr97-qfxm","licence":"CC-BY-4.0","modified":"2025-06-10T19:58:49.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3744","url":"https://pkg.go.dev/vuln/GO-2025-3744","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:40.080Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-49011","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49011","licence":"Public domain","modified":"2026-06-17T09:30:40.123Z"}],"updatedAt":"2026-11-25T22:58:58.898Z","epss":{"score":0.00329,"percentile":0.28063,"date":"2026-12-01T12:00:22.000Z"}}