CVE-2024-12369 is a medium-severity (CVSS 4.2) CWE-345 vulnerability in org.wildfly.security:wildfly-elytron. A fix is available for org.wildfly.security:wildfly-elytron — see the affected versions and patch details below.
Elytron-oidc-client: oidc authorization code injection
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-12369.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.wildfly.security:wildfly-elytron☕org.wildfly.security:wildfly-elytron☕org.wildfly.security:wildfly-elytron-http-oidc☕org.wildfly.security:wildfly-elytron-http-oidcReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
A vulnerability was found in OIDC-Client. When using the elytron-oidc-client subsystem with WildFly, 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.
Patches
Workarounds
Currently, no mitigation is currently available for this vulnerability.
References
https://nvd.nist.gov/vuln/detail/CVE-2024-12369 https://access.redhat.com/security/cve/CVE-2024-12369 https://bugzilla.redhat.com/show_bug.cgi?id=2331178 https://issues.redhat.com/browse/ELY-2887
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.wildfly.security:wildfly-elytron | ≥ 1.17.0.Final&&< 2.2.9.Final | 2.2.9.Finalorg.wildfly.security:wildfly-elytron:2.2.9.Final |
| ☕Maven | org.wildfly.security:wildfly-elytron | ≥ 2.3.0.Final&&< 2.6.2.Final | 2.6.2.Finalorg.wildfly.security:wildfly-elytron:2.6.2.Final |
| ☕Maven | org.wildfly.security:wildfly-elytron-http-oidc | ≥ 1.17.0.Final&&< 2.2.9.Final | 2.2.9.Finalorg.wildfly.security:wildfly-elytron-http-oidc:2.2.9.Final |
| ☕Maven | org.wildfly.security:wildfly-elytron-http-oidc | ≥ 2.3.0.Final&&< 2.6.2.Final | 2.6.2.Finalorg.wildfly.security:wildfly-elytron-http-oidc:2.6.2.Final |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.wildfly.security:wildfly-elytron, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.wildfly.security:wildfly-elytron to 2.2.9.Final or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-12369 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat has evaluated this vulnerability. This affects the OIDC Client when using RHSSO OIDC Adapter with EAP 7.x or elytron-oidc-client with EAP 8.x.
Currently, no mitigation is currently available for this vulnerability.Source: Red Hat security advisory for CVE-2024-12369 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat JBoss Enterprise Application Platform 8 | org.wildfly/wildfly-elytron-oidc-client-subsystem | RHSA-2025:3992 |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | eap8-apache-commons-io-0:2.16.1-1.redhat_00001.1.el8eap | RHSA-2025:3989 |
Frequently Asked Questions
Is CVE-2024-12369 in your dependencies?
Find it across Maven, including transitive dependencies.