# CVE-2026-75866: Punk::OAuth2::Server versions through 0.03 for Perl issue access tokens outside a client's registered scopes and grant types because no authorization path reads them

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-08-22T13:52:49.922Z
- Modified: 2026-10-15T19:10:00.173Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## Description

Punk::OAuth2::Server versions through 0.03 for Perl issue access tokens outside a client's registered scopes and grant types because no authorization path reads them.

Punk::OAuth2::Server::Store registers scopes and grant_types per client and documents both as client registration. token dispatches on the grant_type in the request body, so a client registered for authorization_code alone can ask for client_credentials, and that arm passes the requested scope straight to the minter, which signs it into the at+jwt access token. authorize copies the query scope into the authorization code record without comparing it against the registration, leaving the optional consent hook as the only check between an arbitrary scope and the issued code. redirect_uris on the same client row is read and enforced.

A registered client can obtain a correctly signed token carrying any scope it names, and a resource server running Punk::OAuth2::Checker accepts that token and honours the scope. A client registered without a secret authenticates on its client_id alone, so anyone who knows that identifier can request one.

(As written by CVE List.)

## Affected

- Punk-OAuth2: up to 0.03

## References

- <https://metacpan.org/release/LNATION/Punk-OAuth2-0.04/changes> (release-notes)
- <https://metacpan.org/release/LNATION/Punk-OAuth2-0.03/view/lib/Punk/OAuth2/Server/Store.pm> (technical-description)
- <https://datatracker.ietf.org/doc/html/rfc6749#section-3.3> (technical-description)
- <https://datatracker.ietf.org/doc/html/rfc6749#section-5.2> (technical-description)
- <http://www.openwall.com/lists/oss-security/2026/08/22/6>

## Sources

- CVE List: [CVE-2026-75866](https://www.cve.org/CVERecord?id=CVE-2026-75866), CVE Terms of Use, modified 2026-08-25
- NVD: [CVE-2026-75866](https://nvd.nist.gov/vuln/detail/CVE-2026-75866), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-75866 · Whole record: https://cve.day/CVE-2026-75866.json · Rebuilt by cve.day 2026-11-25T22:59:34.871Z
