The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-24816

CVE-2022-24816: Geosolutionsgroup JAI-EXT RCE Vulnerability

CVE-2022-24816 is a remote code execution vulnerability in JAI-EXT that allows attackers to execute malicious code through Jiffle scripts compiled via Janino. This post covers technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-24816 Overview

CVE-2022-24816 is a critical Remote Code Execution (RCE) vulnerability affecting JAI-EXT, an open-source project designed to extend the Java Advanced Imaging (JAI) API. The vulnerability exists in the handling of Jiffle scripts, which are compiled into Java code via the Janino compiler and subsequently executed. Attackers can exploit this flaw by providing malicious Jiffle scripts via network requests, enabling arbitrary code execution on vulnerable systems. Notably, this vulnerability impacts the downstream GeoServer project, significantly expanding the attack surface.

Critical Impact

This vulnerability allows unauthenticated remote attackers to execute arbitrary code on affected systems by injecting malicious code through Jiffle scripts. CISA has added this vulnerability to the Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Affected Products

  • geosolutionsgroup jai-ext (versions prior to 1.2.22)
  • GeoServer (downstream project utilizing JAI-EXT)
  • Applications accepting Jiffle scripts via network requests

Discovery Timeline

  • 2022-04-13 - CVE-2022-24816 published to NVD
  • 2025-10-24 - Last updated in NVD database

Technical Details for CVE-2022-24816

Vulnerability Analysis

This Code Injection vulnerability (CWE-94) stems from insufficient input validation in the Jiffle scripting engine. When applications allow Jiffle scripts to be submitted via network requests, the scripts are compiled into Java bytecode using the Janino compiler and executed directly on the server. The lack of proper sanitization allows attackers to inject malicious Java code into the compilation process, resulting in arbitrary code execution with the privileges of the running application.

The vulnerability is particularly dangerous because it requires no authentication and can be exploited remotely over the network. The scope is changed, meaning a successful exploit can affect resources beyond the vulnerable component's security scope, potentially compromising the entire system or other connected resources.

Root Cause

The root cause of this vulnerability is inadequate validation of Jiffle script input variable names and improper handling of user-supplied content during the script-to-Java compilation process. The original implementation lacked proper grammar validation for identifiers and failed to properly escape potentially dangerous content like javadoc comments, allowing attackers to break out of the intended script context and inject arbitrary Java code.

Attack Vector

The attack vector is network-based, requiring no privileges or user interaction. An attacker can craft a malicious Jiffle script containing injected Java code and submit it to an application that processes Jiffle scripts via HTTP requests. When the application compiles and executes the script, the malicious payload is executed on the server.

The attack flow typically involves:

  1. Identifying an exposed endpoint that accepts Jiffle scripts (commonly in GeoServer deployments)
  2. Crafting a malicious Jiffle script with embedded Java code injection
  3. Submitting the payload via network request
  4. Achieving code execution when the script is compiled and run
java
// Security patch excerpt from Jiffle.java
// Source: https://github.com/geosolutions-it/jai-ext/commit/cb1d6565d38954676b0a366da4f965fef38da1cb
     
     public static final Logger LOGGER = Logger.getLogger(Jiffle.class.getName());
     
-    private static Pattern BLOCK_COMMENT_STRIPPER = Pattern.compile("(?:/\\*(?:[^*]|(?:\\*+[^*/]))*\\*+/)");
+    boolean includeScript;

     /** 
      * Constants for runtime model. Jiffle supports two runtime models:
java
// Security patch excerpt from Script.java - Adding identifier validation
// Source: https://github.com/geosolutions-it/jai-ext/commit/cb1d6565d38954676b0a366da4f965fef38da1cb
 import it.geosolutions.jaiext.jiffle.parser.UndefinedOptionException;

 import java.util.Collections;
-import java.util.List;
 import java.util.Map;
 import java.util.Objects;
 import java.util.Set;
+import java.util.regex.Pattern;

 /** @author michael */
 public class Script implements Node {
+
+    /** <pre>ID      : (Letter) (Letter | UNDERSCORE | Digit | Dot)*</pre> */
+    private static final Pattern VALID_IDENTIFIER = Pattern.compile("^[a-zA-Z][_a-zA-Z0-9\\.]*$");
+
     private final StatementList stmts;
     private final RepeatedReadOptimizer readOptimizer;
     private Map<String, String> options;

Detection Methods for CVE-2022-24816

Indicators of Compromise

  • Unusual Java process activity spawning child processes or making unexpected network connections
  • Presence of suspicious Jiffle scripts in application logs containing encoded or obfuscated content
  • Web server logs showing requests to endpoints accepting Jiffle scripts with abnormally large or complex payloads
  • Unexpected file creation or modification in GeoServer deployment directories

Detection Strategies

  • Monitor network traffic for HTTP requests containing Jiffle script submissions to GeoServer or JAI-EXT endpoints
  • Implement web application firewall (WAF) rules to inspect and block suspicious script content in request bodies
  • Deploy endpoint detection and response (EDR) solutions to identify anomalous Java process behavior indicative of code injection
  • Review application logs for Jiffle compilation errors that may indicate attempted exploitation

Monitoring Recommendations

  • Enable verbose logging for applications utilizing JAI-EXT Jiffle script processing
  • Configure alerting for any Java process spawning unexpected child processes or establishing outbound connections
  • Monitor for modifications to JAI-EXT configuration files or classpath entries
  • Track authentication and access patterns to GeoServer administrative interfaces

How to Mitigate CVE-2022-24816

Immediate Actions Required

  • Upgrade JAI-EXT to version 1.2.22 or later immediately, as this version contains the security patch
  • If using GeoServer, apply the corresponding security updates that address this vulnerability
  • Restrict network access to endpoints that accept Jiffle scripts to trusted sources only
  • Review and audit any applications that may be accepting Jiffle scripts from untrusted sources

Patch Information

The security patch has been released in JAI-EXT version 1.2.22. The fix implements proper validation of Jiffle input variable names according to the grammar specification using a strict regex pattern (^[a-zA-Z][_a-zA-Z0-9\\.]*$) and properly escapes javadoc content to prevent code injection. Organizations should upgrade to this version or later to address the vulnerability.

For detailed patch information, refer to the GitHub Security Advisory and the GitHub Commit.

Workarounds

  • Remove janino-x.y.z.jar from the application classpath to disable Jiffle script compilation entirely
  • Implement network-level controls to block external access to endpoints that process Jiffle scripts
  • Deploy a reverse proxy or WAF with rules to filter potentially malicious Jiffle script content
  • Disable or remove any unnecessary Jiffle script processing functionality from production deployments
bash
# Configuration example - Remove Janino from classpath to disable Jiffle compilation
# Navigate to your application's lib directory
cd /path/to/application/lib/

# Backup and remove Janino JAR files
mkdir -p /path/to/backup/
mv janino-*.jar /path/to/backup/

# Restart the application to apply changes
systemctl restart geoserver
# or
./shutdown.sh && ./startup.sh

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGeosolutionsgroup

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability94.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-94
  • Technical References
  • CISA Known Exploited Vulnerability
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English