CVE-2026-21621: Insecure Api Scope Mappingcve-2026-21621-insecure-api-scope-mapping
The codebase incorrectly grants the full over-privileged `["api"]` scope whenever a permission's domain is `"api"`, completely ignoring the resource qualifier (such as `"read"`). This can lead to privilege escalation where a read-only API key is granted full write access. Map permissions correctly by taking resource qualifiers into account, or delegate to a