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-2025-41253

CVE-2025-41253: Spring Cloud Gateway Info Disclosure Bug

CVE-2025-41253 is an information disclosure vulnerability in Spring Cloud Gateway Server Webflux that exposes environment variables and system properties. This article covers technical details, affected configurations, and mitigation.

Published: April 1, 2026

CVE-2025-41253 Overview

CVE-2025-41253 is an Expression Language Injection vulnerability affecting Spring Cloud Gateway Server Webflux that enables attackers to expose sensitive environment variables and system properties. This vulnerability leverages Spring Expression Language (SpEL) through improperly secured actuator endpoints, allowing unauthorized access to critical application configuration data.

An application is considered vulnerable when all of the following conditions are met:

  • The application uses Spring Cloud Gateway Server Webflux (Spring Cloud Gateway Server WebMVC is not affected)
  • An admin or untrusted third party uses SpEL to access environment variables or system properties via routes
  • The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway and management.endpoint.gateway.enabled=true or management.endpoint.gateway.access=unrestricted
  • The actuator endpoints are accessible to attackers and remain unsecured

Critical Impact

Unauthorized disclosure of sensitive environment variables and system properties, including potential exposure of credentials, API keys, and internal configuration details through SpEL injection.

Affected Products

  • Spring Cloud Gateway Server Webflux (vulnerable versions with exposed actuator endpoints)

Discovery Timeline

  • 2025-10-16 - CVE-2025-41253 published to NVD
  • 2025-10-16 - Last updated in NVD database

Technical Details for CVE-2025-41253

Vulnerability Analysis

This vulnerability is classified under CWE-917 (Improper Neutralization of Special Elements used in an Expression Language Statement), commonly known as Expression Language Injection. The flaw exists in how Spring Cloud Gateway Server Webflux processes route configurations that contain SpEL expressions.

When actuator endpoints are enabled and left unsecured, attackers can craft malicious routes that leverage SpEL expressions to extract sensitive information from the application's runtime environment. This information disclosure can reveal database credentials, API secrets, internal service URLs, and other confidential configuration parameters that could facilitate further attacks.

The network-accessible nature of this vulnerability means that any attacker who can reach the actuator endpoints can potentially exploit this flaw without requiring authentication. The impact is primarily confidentiality-focused, as the vulnerability enables information extraction rather than direct modification or disruption.

Root Cause

The root cause lies in improper access controls on Spring Cloud Gateway's actuator endpoints combined with the powerful capabilities of SpEL. When administrators expose the gateway actuator endpoint without proper authentication and authorization, the SpEL evaluation engine can be abused to access system properties and environment variables. The application fails to adequately restrict which expressions can be evaluated and what data they can access.

Attack Vector

This vulnerability is exploitable over the network without requiring user interaction or authentication. An attacker can exploit this vulnerability by:

  1. Identifying exposed Spring Cloud Gateway actuator endpoints
  2. Creating or modifying routes through the gateway actuator API
  3. Injecting SpEL expressions within route configurations that reference environment variables or system properties
  4. Extracting sensitive data returned from the SpEL evaluation

The attack targets the /actuator/gateway endpoint when it is improperly secured, allowing route manipulation that includes malicious SpEL expressions designed to leak sensitive information.

Detection Methods for CVE-2025-41253

Indicators of Compromise

  • Unusual HTTP requests targeting /actuator/gateway or related actuator endpoints from external IP addresses
  • Route configurations containing SpEL expressions referencing systemProperties or systemEnvironment
  • Unexpected modifications to gateway routes via the actuator API
  • Access logs showing attempts to enumerate or access actuator endpoints

Detection Strategies

  • Monitor web application logs for requests to actuator endpoints, particularly /actuator/gateway/routes and /actuator/gateway/refresh
  • Implement application-level logging to capture route creation and modification events
  • Deploy web application firewalls (WAF) with rules to detect SpEL injection patterns in request payloads
  • Use SentinelOne Singularity to monitor for anomalous process behavior and unexpected environment variable access patterns

Monitoring Recommendations

  • Enable audit logging for all actuator endpoint access attempts
  • Configure alerting for any route modifications through the gateway actuator
  • Implement network monitoring to detect reconnaissance activity against management endpoints
  • Review application configurations periodically to ensure actuator endpoints maintain proper security controls

How to Mitigate CVE-2025-41253

Immediate Actions Required

  • Disable the gateway actuator endpoint if not required by setting management.endpoint.gateway.enabled=false
  • Remove gateway from management.endpoints.web.exposure.include to prevent external access
  • Implement Spring Security to require authentication and authorization for all actuator endpoints
  • Restrict network access to actuator endpoints using firewall rules or network segmentation
  • Review existing route configurations for potentially malicious SpEL expressions

Patch Information

Consult the Spring Security Advisory for CVE-2025-41253 for official patch information and recommended upgrade paths. Apply vendor-provided security updates as soon as they become available.

Workarounds

  • Set management.endpoint.gateway.enabled=false to completely disable the gateway actuator endpoint
  • Configure actuator endpoint access to require authentication: management.endpoints.web.exposure.include= (empty value to disable all web exposure)
  • Implement IP-based access controls to restrict actuator access to trusted management networks only
  • Use Spring Security's @PreAuthorize or similar mechanisms to enforce role-based access to sensitive endpoints
bash
# Configuration example - securing actuator endpoints in application.properties
management.endpoint.gateway.enabled=false
management.endpoints.web.exposure.include=health,info
management.endpoints.web.exposure.exclude=gateway,env,configprops

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSpring Cloud Gateway

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-917
  • Technical References
  • NIST CVSS v3 Calculator

  • Spring Vulnerability CVE-2025-41253
  • Related CVEs
  • CVE-2025-41243: Spring Cloud Gateway Property Vulnerability

  • CVE-2025-41235: Spring Cloud Gateway SSRF 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