GoSeverity: LowStatus: Fixed
Non-deterministic result from role policies due to cache collision
Public issue opened by the maintainer and labelled as a bug (kind/bug), crediting ucsurf for the report. When a role policy had two resource entries that both matched the requested kind, their first rules got the same cache key, so the second entry’s condition reused the first entry’s cached result and was never evaluated. Fixed by the maintainers in PR #3410 (https://github.com/cerbos/cerbos/pull/3410, merged 2026-10-12T10:48:51+03:00); the issue was closed on 2026-10-14T10:47:47+03:00. Tracked as a bug, not a security advisory.
Timeline
- Found
- Reported via public issue
- Disclosed publicly
- Entry last updated
Machine-readable: JSON · Markdown · ID bugs/go/cerbos__cerbos/2026-10-09-role-policy-cache-collision
If this work is useful to you, you can support it on Buy Me a Coffee.