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-2024-50345

CVE-2024-50345: Symfony HTTP Foundation URI Vulnerability

CVE-2024-50345 is a URI parsing flaw in Symfony HTTP Foundation that allows attackers to bypass validators and redirect users to malicious domains. This article covers technical details, affected versions, and patches.

Updated: January 22, 2026

CVE-2024-50345 Overview

CVE-2024-50345 is an Open Redirect vulnerability (CWE-601) in the symfony/http-foundation module of the Symfony PHP framework. The Request class fails to parse URIs with special characters in the same manner as web browsers, creating a discrepancy that attackers can exploit. This parsing inconsistency allows malicious actors to trick validators relying on the Request class to redirect users to attacker-controlled domains.

Critical Impact

Attackers can exploit this URI parsing discrepancy to redirect users to malicious websites, potentially facilitating phishing attacks, credential theft, or malware distribution through trusted Symfony applications.

Affected Products

  • Symfony versions prior to 5.4.46
  • Symfony versions 6.x prior to 6.4.14
  • Symfony versions 7.x prior to 7.1.7

Discovery Timeline

  • November 6, 2024 - CVE-2024-50345 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2024-50345

Vulnerability Analysis

This vulnerability stems from a fundamental inconsistency in how the Symfony Request class processes URIs compared to how web browsers interpret the same URIs. When special characters are present in a URI, browsers apply specific parsing rules defined by the WHATWG URL Specification. However, the Request class did not adhere to these same parsing standards, creating a security gap.

The attack exploits this parsing differential to bypass URL validation mechanisms. When an application uses Symfony's Request class to validate redirect destinations, an attacker can craft a URI that appears safe to the validator but actually redirects users to a malicious domain when processed by the browser. This is a classic Open Redirect scenario that can undermine user trust and enable secondary attacks such as credential harvesting.

Root Cause

The root cause lies in the Request::create method's URI parsing logic, which did not properly validate or reject URIs containing invalid characters as defined by the WHATWG URL specification. This permissive behavior allowed specially crafted URIs to pass validation while being interpreted differently by web browsers.

Attack Vector

The attack is network-based and requires user interaction. An attacker constructs a malicious URL containing special characters that exploit the parsing discrepancy. When a victim clicks the link to a trusted Symfony application, the application's redirect validation passes the malicious URL, and the user is redirected to an attacker-controlled site.

The vulnerability can be exploited through:

  • Phishing campaigns using links to legitimate Symfony applications
  • OAuth/SAML redirect parameter manipulation
  • Any feature that accepts user-supplied redirect URLs and validates them using the Request class

Detection Methods for CVE-2024-50345

Indicators of Compromise

  • Unusual redirect URLs containing special characters in application logs
  • User complaints about unexpected redirections from your application
  • Detection of outbound requests to unexpected external domains following user sessions
  • Presence of encoded or special characters in redirect parameters that deviate from expected patterns

Detection Strategies

  • Review web server and application logs for redirect requests containing unusual character sequences
  • Implement monitoring for redirect chains that terminate at external domains
  • Audit code paths using Request::create method with user-supplied URI data
  • Use static analysis tools to identify redirect handling code that relies on Symfony's Request class validation

Monitoring Recommendations

  • Set up alerts for redirect responses (HTTP 301, 302, 303, 307, 308) to external domains
  • Monitor for increased traffic patterns to redirect endpoints
  • Implement logging for all URL validation operations involving user-supplied data
  • Track browser-reported security warnings that may indicate redirect abuse

How to Mitigate CVE-2024-50345

Immediate Actions Required

  • Upgrade Symfony to patched versions: 5.4.46, 6.4.14, or 7.1.7 or later
  • Review all application code that uses Request::create with user-supplied URIs
  • Implement additional server-side validation for redirect URLs using allowlists
  • Consider implementing Content Security Policy headers to restrict redirect destinations

Patch Information

Symfony has released security patches that update the Request::create method to properly validate URIs against the WHATWG URL specification, rejecting any URIs containing invalid characters. The fix ensures that the framework's URI parsing behavior aligns with browser behavior, eliminating the parsing discrepancy.

For detailed patch information, refer to the GitHub Security Advisory GHSA-mrqx-rp3w-jpjp.

Workarounds

  • There are no known workarounds for this vulnerability according to the vendor advisory
  • Upgrading to the patched versions is the only recommended remediation
  • As a defense-in-depth measure, implement strict allowlisting for redirect destinations
  • Consider using a separate URL validation library that adheres to WHATWG standards until upgrading is possible
bash
# Update Symfony to patched versions using Composer
composer require symfony/http-foundation:^5.4.46
# Or for version 6.x
composer require symfony/http-foundation:^6.4.14
# Or for version 7.x
composer require symfony/http-foundation:^7.1.7

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechSymfony

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-601
  • Technical References
  • WHATWG URL Specification

  • Debian LTS Announcement
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-24739: Symfony Path Traversal Vulnerability

  • CVE-2022-23614: Symfony Twig Sandbox RCE Vulnerability

  • CVE-2024-50340: Symfony Runtime RCE 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