Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-41234

CVE-2025-41234: Spring Framework RFD Vulnerability

CVE-2025-41234 is a reflected file download (RFD) vulnerability in Spring Framework affecting versions 6.0.5 through 6.2.7 when using non-ASCII charsets with unsanitized user input. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-41234 Overview

A Reflected File Download (RFD) vulnerability exists in VMware Spring Framework affecting versions 6.0.5 through 6.2.7. The vulnerability resides in the Content-Disposition header handling when applications use org.springframework.http.ContentDisposition with a non-ASCII charset in the ContentDisposition.Builder#filename(String, Charset) method. When the filename attribute is derived from unsanitized user-supplied input, attackers can exploit this flaw to deliver malicious files to unsuspecting users, potentially leading to code execution on the victim's system.

Critical Impact

Attackers can leverage this RFD vulnerability to trick users into downloading and executing malicious files disguised as legitimate content, potentially compromising confidentiality and integrity of affected systems.

Affected Products

  • Spring Framework 6.2.0 - 6.2.7
  • Spring Framework 6.1.0 - 6.1.20
  • Spring Framework 6.0.5 - 6.0.28

Discovery Timeline

  • June 12, 2025 - CVE-2025-41234 published to NVD
  • June 16, 2025 - Last updated in NVD database

Technical Details for CVE-2025-41234

Vulnerability Analysis

This vulnerability is classified under CWE-113 (HTTP Response Splitting), manifesting specifically in how Spring Framework handles Content-Disposition headers with non-ASCII character sets. The flaw enables Reflected File Download attacks, a technique where attackers manipulate server responses to deliver malicious payloads to users.

The vulnerability requires a specific set of conditions to be exploitable: the application must use org.springframework.http.ContentDisposition to prepare headers, utilize the ContentDisposition.Builder#filename(String, Charset) method with a non-ASCII charset, derive the filename from user input without proper sanitization, and the attacker must be able to inject malicious commands into the downloaded response content.

The network-based attack vector requires low privileges and user interaction, with the scope extending beyond the vulnerable component to potentially impact other systems. Successful exploitation can result in high confidentiality impact and low integrity impact, enabling attackers to exfiltrate sensitive data or execute arbitrary commands on victim machines.

Root Cause

The root cause stems from improper input validation in the ContentDisposition.Builder#filename(String, Charset) method when handling non-ASCII character sets. The framework fails to adequately sanitize user-controlled input that flows into the filename attribute of the Content-Disposition header. This allows attackers to inject specially crafted characters that, when combined with malicious response content, can be interpreted as executable files by the victim's browser or operating system.

Attack Vector

The attack exploits the trust relationship between users and the vulnerable application. An attacker crafts a malicious URL containing a specially formatted filename parameter that includes executable extensions (such as .bat, .cmd, or .ps1 on Windows). When a victim clicks the link, the application reflects this attacker-controlled filename in the Content-Disposition header with the non-ASCII charset encoding. The browser then prompts the user to download the file with the malicious extension, and the response body contains attacker-injected commands. If the user executes the downloaded file, the malicious commands run with the user's privileges.

The vulnerability is particularly dangerous because the downloaded file appears to originate from a trusted source—the vulnerable application itself—making users more likely to execute it without suspicion.

Detection Methods for CVE-2025-41234

Indicators of Compromise

  • Unusual Content-Disposition headers in HTTP responses containing executable file extensions like .bat, .cmd, .ps1, or .vbs derived from request parameters
  • Web server logs showing requests with URL-encoded or specially crafted filename parameters targeting download endpoints
  • User reports of unexpected file downloads with suspicious extensions from trusted application URLs

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing executable file extensions in filename parameters
  • Monitor application logs for anomalous patterns in Content-Disposition header generation, particularly those using non-ASCII charsets with user-controlled values
  • Deploy intrusion detection signatures that identify RFD attack patterns in HTTP request/response pairs

Monitoring Recommendations

  • Enable detailed logging for all endpoints that generate Content-Disposition headers to capture filename parameter sources
  • Configure security information and event management (SIEM) alerts for unusual download activity patterns across your Spring Framework applications
  • Establish baseline metrics for file download endpoints and alert on deviations that may indicate exploitation attempts

How to Mitigate CVE-2025-41234

Immediate Actions Required

  • Upgrade Spring Framework to the fixed versions: 6.2.8 (OSS), 6.1.21 (OSS), or 6.0.29 (Commercial) immediately
  • Review all application code that uses ContentDisposition.Builder#filename(String, Charset) with non-ASCII charsets to identify potentially vulnerable endpoints
  • Implement input validation and sanitization for any user-supplied values used in filename generation

Patch Information

VMware has released patched versions addressing this vulnerability. Users should upgrade to the following fixed versions based on their current Spring Framework branch:

Affected VersionFixed VersionAvailability
6.2.x6.2.8OSS
6.1.x6.1.21OSS
6.0.x6.0.29Commercial

For detailed patch information, refer to the Spring Security Advisory CVE-2025-41234.

Workarounds

  • Avoid using ContentDisposition.Builder#filename(String, Charset) with non-ASCII charsets; instead use ContentDisposition.Builder#filename(String) or ContentDisposition.Builder#filename(String, ASCII) which are not affected
  • Implement strict input validation to sanitize all user-supplied values before using them in filename attributes, filtering out dangerous characters and file extensions
  • Ensure user-controlled input never directly flows into Content-Disposition header filename values without proper encoding and validation
java
// Secure filename handling example
// Use ASCII charset instead of non-ASCII to avoid vulnerability
ContentDisposition disposition = ContentDisposition.builder("attachment")
    .filename(sanitizeFilename(userInput))  // Always sanitize user input
    .build();

// Or use the safe method without charset parameter
ContentDisposition safeDis = ContentDisposition.builder("attachment")
    .filename(sanitizedFilename)
    .build();

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechSpring Framework

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-113
  • Technical References
  • NVD CVSS v3 Calculator

  • NVD CVE-2025-41234 Details

  • Spring Security Advisory CVE-2025-41234
  • Related CVEs
  • CVE-2026-22737: Spring Framework Info Disclosure Bug

  • CVE-2025-41254: Spring Framework Auth Bypass Vulnerability

  • CVE-2025-41249: Spring Framework Auth Bypass Vulnerability

  • CVE-2025-41242: Spring Framework Path Traversal Flaw
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