OSGeo GeoServer JAI-EXT Code Injection Vulnerability
geosolutions-it — jai-ext
JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API. Programs allowing Jiffle script to be provided via network request can lead to a Remote Code Execution as the Jiffle script is compiled into Java code via Janino, and executed. In particular, this affects the downstream GeoServer project. Version 1.2.22 will contain a patch that disables the ability to inject malicious code into the resulting script. Users unable to upgrade may negate the ability to compile Jiffle scripts from the final application, by removing janino-x.y.z.jar from the classpath.
10.0
98.7%
Vector breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Published
- Apr 13, 2022
- Modified
- Oct 21, 2025
- Added to KEV
- Jun 26, 2024
- Federal patch due
- Jul 17, 2024
CISA required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Weakness classification
Proof-of-concept & exploitation references
Weaponization
Public repositories whose name or description references CVE-2022-24816, found via a live GitHub search at request time. These are community-sourced signals, not a verified working exploit - cross-check each one before relying on it, and treat higher star counts and recent activity as (weak) corroboration, not proof.
No public GitHub repositories referencing CVE-2022-24816 were found at last check. Absence here is not proof no exploit exists - see the references below for vendor advisories and write-ups.
References
Frequently asked questions
What is CVE-2022-24816?
JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API. Programs allowing Jiffle script to be provided via network request can lead to a Remote Code Execution as the Jiffle script is compiled into Java code via Janino, and executed. In particular, this affects the downstream GeoServer project. Version 1.2.22 will contain a patch that disables the ability to inject malicious code into the resulting script. Users unable to upgrade may negate the ability to compile Jiffle scripts from the final application, by removing janino-x.y.z.jar from the classpath.
How severe is CVE-2022-24816?
CVE-2022-24816 has a CVSS base score of 10.0 out of 10 (CVSS 3.1).
Is CVE-2022-24816 actively exploited in the wild?
Yes. CVE-2022-24816 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added Jun 26, 2024, meaning CISA has confirmed evidence of active exploitation.
What is the EPSS score for CVE-2022-24816?
98.7% - meaning FIRST.org's EPSS model estimates a 98.7% probability this vulnerability will be exploited in the wild within 30 days (100% percentile among all scored CVEs).
Is there exploit tooling available for CVE-2022-24816?
Yes - a public Nuclei template referencing CVE-2022-24816 exist in public repositories we checked.
What type of vulnerability is CVE-2022-24816?
CVE-2022-24816 is classified under CWE-94 (CWE-94: Improper Control of Generation of Code ('Code Injection')).
Cross-checked against
Impactr finds and proves whether CVE-2022-24816 - or flaws like it - are actually reachable in your own web apps and APIs, with a reproducible exploit as evidence.
Join the waitlist