Technical impact
The flaw is a weak access control (CWE-266) that allows a token with key-creation rights to generate new API keys without any scope, allowlist, or expiry restrictions. This results in the ability to create persistent full-privilege keys that grant the attacker the full user’s privileges, leading to complete system compromise.
Affected Systems
Affected are all releases from coder 2.28.0 up to but not including 2.38.4, including 2.28.x, 2.30.x, 2.34.x, 2.36.x, 2.37.x and 2.38.x. The product is the coder application identified by the vendor coder.
Risk and Exploitability
The CVSS score of 7.6 classifies the flaw as high severity. The EPSS score is below 1%, suggesting exploitation is currently rare; it is not listed in the CISA KEV catalog. Nevertheless, once an attacker obtains a key-creation token, the attack path is simple: call the key-creation endpoint and receive a fully privileged key. This bypasses intended scope limits and can be performed without additional privileges beyond key-creation rights.