Coder versions from 2.0.0 up to but not including 2.34.8 have an authorization vulnerability in the acl_allow rule of coderd/rbac/policy.rego. This flaw allows authenticated users who have been removed from an organization to retain access to organization-scoped resources such as templates and workspaces via the API. The vulnerability arises because the acl_allow rule does not verify organization membership for per-user ACL entries, and removal from the organization does not clear those entries.