# CVE-2024-12369: Elytron-oidc-client: oidc authorization code injection

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.2
- **CVSS:** 4.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-345
- **Aliases:** GHSA-5565-3c98-g6jc
- **Published:** 2024-12-09T20:53:09.260Z
- **Modified:** 2026-09-10T03:50:22.936Z

## Who should check

- Projects that depend on Maven package org.wildfly.security:wildfly-elytron (\>= 1.17.0.Final, \< 2.2.9.Final)
- Projects that depend on Maven package org.wildfly.security:wildfly-elytron-http-oidc (\>= 1.17.0.Final, \< 2.2.9.Final)
- Anyone running wildfly \<= 34.0.1.Final
- Anyone running Red Hat JBoss Enterprise Application Platform 8 (versions: see the vendor advisory)
- Anyone running Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 all versions
- Anyone running Red Hat Build of Keycloak (versions: see the vendor advisory)
- Anyone running Red Hat JBoss Enterprise Application Platform 7 all versions

## Description

A vulnerability was found in OIDC-Client. When using the RH SSO OIDC adapter with EAP 7.x or when using the elytron-oidc-client subsystem with EAP 8.x, authorization code injection attacks can occur, allowing an attacker to inject a stolen authorization code into the attacker's own session with the client with a victim's identity. This is usually done with a Man-in-the-Middle (MitM) or phishing attack.

## Affected and fixed versions

- Maven `org.wildfly.security:wildfly-elytron`: affected \>= 1.17.0.Final, \< 2.2.9.Final; fixed 2.2.9.Final, 2.6.2.Final (osv)
- Maven `org.wildfly.security:wildfly-elytron-http-oidc`: affected \>= 1.17.0.Final, \< 2.2.9.Final; fixed 2.2.9.Final, 2.6.2.Final (osv)
- wildfly: \<= 34.0.1.Final (cvelist)
- Red Hat JBoss Enterprise Application Platform 8: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8: all versions (cvelist)
- Red Hat Build of Keycloak: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform 7: all versions (cvelist)

## Mitigation

- Upgrade org.wildfly.security:wildfly-elytron to one of 2.2.9.Final, 2.6.2.Final (or later in the same release line).
- Upgrade org.wildfly.security:wildfly-elytron-http-oidc to one of 2.2.9.Final, 2.6.2.Final (or later in the same release line).
- Vendor workaround: Currently, no mitigation is currently available for this vulnerability.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-12369. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-12369.md
Affected: org.wildfly.security:wildfly-elytron >= 1.17.0.Final, < 2.2.9.Final; org.wildfly.security:wildfly-elytron-http-oidc >= 1.17.0.Final, < 2.2.9.Final
Fixed in: 2.2.9.Final, 2.6.2.Final

Steps:
1. Search this machine and project for org.wildfly.security:wildfly-elytron (Maven), org.wildfly.security:wildfly-elytron-http-oidc (Maven), wildfly, Red Hat JBoss Enterprise Application Platform 8, Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Build of Keycloak: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-12369 being exploited?

There is no confirmed exploitation: CVE-2024-12369 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-12369?

Medium: CVSS 4.2 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-12369?

org.wildfly.security:wildfly-elytron \>= 1.17.0.Final, \< 2.2.9.Final; org.wildfly.security:wildfly-elytron-http-oidc \>= 1.17.0.Final, \< 2.2.9.Final.

### Is there a fix for CVE-2024-12369?

Yes. Fixed in 2.2.9.Final, 2.6.2.Final. Upgrade org.wildfly.security:wildfly-elytron to one of 2.2.9.Final, 2.6.2.Final (or later in the same release line). Upgrade org.wildfly.security:wildfly-elytron-http-oidc to one of 2.2.9.Final, 2.6.2.Final (or later in the same release line). Vendor workaround: Currently, no mitigation is currently available for this vulnerability.

### How do I check if I'm affected by CVE-2024-12369?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2025:3989>
- vendor: <https://access.redhat.com/errata/RHSA-2025:3990>
- vendor: <https://access.redhat.com/errata/RHSA-2025:3992>
- vendor: <https://github.com/wildfly-security/wildfly-elytron/security/advisories/GHSA-5565-3c98-g6jc>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-12369>
- patch: <https://github.com/wildfly-security/wildfly-elytron/commit/5ac5e6bbcba58883b3cebb2ddbcec4de140c5ceb>
- patch: <https://github.com/wildfly-security/wildfly-elytron/commit/d7754f5a6a91ceb0f4dbbbfe301991f6a55404cb>
- patch: <https://github.com/wildfly-security/wildfly-elytron/pull/2253>
- patch: <https://github.com/wildfly-security/wildfly-elytron/pull/2261>
- other: <https://access.redhat.com/security/cve/CVE-2024-12369>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2331178>
- other: <https://github.com/wildfly-security/wildfly-elytron>
- other: <https://issues.redhat.com/browse/ELY-2887>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-12369>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5565-3c98-g6jc> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-12369> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-12369>
