# CVE-2023-36820: micronaut security has invalid IdTokenClaimsValidator logic on aud

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/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)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-05T20:55:14.000Z
- Modified: 2026-09-10T03:49:25.100Z
- Also known as: GHSA-qw22-8w9r-864h
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Micronaut Security is a security solution for applications. Prior to versions 3.1.2, 3.2.4, 3.3.2, 3.4.3, 3.5.3, 3.6.6, 3.7.4, 3.8.4, 3.9.6, 3.10.2, and 3.11.1, IdTokenClaimsValidator skips `aud` claim validation if token is issued by same identity issuer/provider. Any OIDC setup using Micronaut where multiple OIDC applications exists for the same issuer but token auth are not meant to be shared. This issue has been patched in versions 3.1.2, 3.2.4, 3.3.2, 3.4.3, 3.5.3, 3.6.6, 3.7.4, 3.8.4, 3.9.6, 3.10.2, and 3.11.1.

(As written by CVE List.)

## Affected

- micronaut-projects micronaut-security: >= 3.11.0, < 3.11.1; >= 3.10.0, < 3.10.2; >= 3.9.0, < 3.9.6; >= 3.8.0, < 3.8.4; >= 3.7.0, < 3.7.4; >= 3.6.0, < 3.6.6; >= 3.5.0, < 3.5.3; >= 3.4.0, < 3.4.3; >= 3.3.0, < 3.3.2; >= 3.2.0, < 3.2.4; >= 3.1.0, < 3.1.2
- io.micronaut.security:micronaut-security-oauth2 (Maven): from 3.11.0 before 3.11.1; from 3.10.0 before 3.10.2; from 3.9.0 before 3.9.6; from 3.8.0 before 3.8.4; from 3.7.0 before 3.7.4; from 3.6.0 before 3.6.6; from 3.5.0 before 3.5.3; from 3.4.0 before 3.4.3; from 3.3.0 before 3.3.2; from 3.2.0 before 3.2.4; from 3.1.0 before 3.1.2
- objectcomputing micronaut_security: before 3.1.2; from 3.2.0 before 3.2.4; from 3.3.0 before 3.3.2; from 3.4.0 before 3.4.3; from 3.5.0 before 3.5.3; from 3.6.0 before 3.6.6; from 3.7.0 before 3.7.4; from 3.8.0 before 3.8.4; from 3.9.0 before 3.9.6; from 3.10.0 before 3.10.2; 3.11.0

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/micronaut-projects/micronaut-security/security/advisories/GHSA-qw22-8w9r-864h> (exploit, mitigation, third-party-advisory, web)
- <https://github.com/micronaut-projects/micronaut-security/commit/9728b925221a0d87798ccf250657a3c214b7e980> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-36820> (advisory)
- <https://github.com/micronaut-projects/micronaut-security> (package)
- <https://github.com/micronaut-projects/micronaut-security/blob/master/security-oauth2/src/main/java/io/micronaut/security/oauth2/client/IdTokenClaimsValidator.java#L202> (web)

## Sources

- CVE List: [CVE-2023-36820](https://www.cve.org/CVERecord?id=CVE-2023-36820), CVE Terms of Use, modified 2024-09-19
- GitHub Advisory Database: [GHSA-qw22-8w9r-864h](https://github.com/advisories/GHSA-qw22-8w9r-864h), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-36820](https://nvd.nist.gov/vuln/detail/CVE-2023-36820), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-36820 · Whole record: https://cve.day/CVE-2023-36820.json · Rebuilt by cve.day 2026-11-25T22:58:28.536Z
