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-2026-22738

CVE-2026-22738: Spring AI SpEL Injection RCE Vulnerability

CVE-2026-22738 is a SpEL injection vulnerability in Spring AI's SimpleVectorStore that enables remote code execution when user input is used as a filter expression key. This article covers technical details, affected versions, and mitigation.

Published: April 3, 2026

CVE-2026-22738 Overview

A critical SpEL (Spring Expression Language) injection vulnerability has been identified in Spring AI's SimpleVectorStore component. This vulnerability allows remote attackers to execute arbitrary code when user-supplied values are used as filter expression keys without proper sanitization. Applications leveraging Spring AI's vector storage capabilities that accept user input for filter expressions are at risk of complete system compromise.

Critical Impact

Remote attackers can achieve arbitrary code execution on affected systems by exploiting improper handling of user-supplied filter expression keys in SimpleVectorStore, potentially leading to complete system compromise.

Affected Products

  • Spring AI versions 1.0.0 through 1.0.4
  • Spring AI versions 1.1.0 through 1.1.3

Discovery Timeline

  • 2026-03-27 - CVE CVE-2026-22738 published to NVD
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2026-22738

Vulnerability Analysis

This vulnerability stems from insufficient input validation in Spring AI's SimpleVectorStore component when processing filter expressions. The SimpleVectorStore is used for vector similarity searches in AI applications, commonly employed in retrieval-augmented generation (RAG) architectures and semantic search implementations.

When an application passes user-controlled data as a filter expression key, the SpEL expression evaluator processes this input without adequate sanitization. Spring Expression Language is a powerful expression language that supports querying and manipulating object graphs at runtime. If an attacker can inject malicious SpEL expressions, they can leverage SpEL's runtime execution capabilities to invoke arbitrary methods, access class loaders, and execute system commands.

The attack surface is significant because Spring AI is increasingly adopted for building AI-powered applications, and vector stores are central to many modern AI architectures. Applications that implement search filtering based on user preferences or dynamic query parameters are particularly vulnerable.

Root Cause

The root cause of this vulnerability is the improper handling of user-supplied input when constructing SpEL filter expressions in SimpleVectorStore. The filter expression key parameter is directly incorporated into SpEL evaluation without proper validation or escaping, allowing attackers to break out of the intended expression context and inject arbitrary SpEL code.

SpEL injection vulnerabilities typically occur when:

  • User input is concatenated directly into expression strings
  • No allowlist validation is performed on expression components
  • The expression evaluator has access to dangerous runtime capabilities

Attack Vector

This vulnerability is exploitable remotely over the network. An attacker can craft malicious HTTP requests containing SpEL payloads within filter expression keys. When the application processes these requests through the vulnerable SimpleVectorStore methods, the malicious expressions are evaluated, granting the attacker code execution capabilities.

The attack requires no authentication and no user interaction, making it highly exploitable. A successful exploit could allow an attacker to:

  • Execute arbitrary system commands on the server
  • Read or modify sensitive data
  • Establish persistence mechanisms
  • Pivot to other internal systems
  • Exfiltrate data from the application and connected databases

Typical SpEL injection payloads leverage Java's Runtime.getRuntime().exec() method or similar reflection-based techniques to execute arbitrary commands. For detailed technical information on the exploitation mechanism, refer to the Spring Security Advisory CVE-2026-22738.

Detection Methods for CVE-2026-22738

Indicators of Compromise

  • Unusual process spawning from Java application processes, particularly shell invocations (/bin/sh, cmd.exe, powershell)
  • Unexpected outbound network connections from application servers
  • Web application logs containing SpEL syntax patterns such as T(java.lang.Runtime), #rt.exec(), or class instantiation expressions
  • Error logs indicating SpEL parsing exceptions with user-controlled data

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block common SpEL injection patterns in request parameters
  • Deploy runtime application self-protection (RASP) solutions to monitor for expression language injection attacks
  • Configure SentinelOne agents to detect anomalous process execution chains originating from Java processes
  • Enable application-level logging for all filter expression evaluations in Spring AI components

Monitoring Recommendations

  • Monitor application logs for failed SpEL expression parsing errors that may indicate reconnaissance attempts
  • Set up alerts for Java processes spawning child processes or establishing unexpected network connections
  • Track changes to system files and configurations that may indicate successful exploitation
  • Implement centralized log aggregation to correlate potential exploitation attempts across application instances

How to Mitigate CVE-2026-22738

Immediate Actions Required

  • Immediately upgrade Spring AI to version 1.0.5 or later for 1.0.x users, or version 1.1.4 or later for 1.1.x users
  • Review application code to identify all instances where user input is passed to SimpleVectorStore filter expressions
  • Implement strict input validation on all user-supplied filter expression keys
  • Consider temporarily disabling user-controlled filter functionality until patches can be applied

Patch Information

VMware/Pivotal has released patched versions of Spring AI addressing this vulnerability. Users should upgrade to:

  • Spring AI 1.0.5 for users on the 1.0.x branch
  • Spring AI 1.1.4 for users on the 1.1.x branch

For complete details on the security fix, refer to the Spring Security Advisory CVE-2026-22738.

Workarounds

  • Implement allowlist validation for filter expression keys, rejecting any input containing SpEL metacharacters such as #, T(, $, and curly braces
  • Use parameterized queries or pre-defined filter templates instead of accepting arbitrary user input for expression keys
  • Deploy network segmentation to limit the impact of potential code execution by restricting outbound connections from application servers
  • Consider implementing a custom SimpleVectorStore wrapper that sanitizes all filter expression inputs before processing
bash
# Maven dependency update example
# Update your pom.xml to use the patched version:
# For 1.0.x branch:
#   <spring-ai.version>1.0.5</spring-ai.version>
# For 1.1.x branch:
#   <spring-ai.version>1.1.4</spring-ai.version>

# Verify your Spring AI version after update
mvn dependency:tree | grep spring-ai

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSpring Ai

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • Technical References
  • Spring Security Advisory CVE-2026-22738
  • Related CVEs
  • CVE-2026-22744: Spring AI Redis Store XSS Vulnerability

  • CVE-2026-22743: Spring AI Neo4j Cypher Injection Vulnerability

  • CVE-2026-22742: Spring AI Bedrock Converse SSRF Vulnerability

  • CVE-2026-22730: Spring AI MariaDB SQLi Vulnerability
Default Legacy - Prefooter | 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