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-2020-15094

CVE-2020-15094: Symfony HttpClient RCE Vulnerability

CVE-2020-15094 is a remote code execution vulnerability in Symfony's HttpClient component that allows attackers to execute arbitrary code. This article covers the technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-15094 Overview

CVE-2020-15094 is a Remote Code Execution (RCE) vulnerability affecting the Symfony PHP framework's CachingHttpClient class. The vulnerability exists in the HttpClient component, where the HttpCache class uses internal headers (X-Body-Eval and X-Body-File) to control cached response restoration. Originally designed for surrogate caching and ESI (Edge Side Includes) support scenarios where all HTTP calls originate from trusted backends, these internal headers become a critical attack surface when used with CachingHttpClient in untrusted contexts.

Critical Impact

Attackers who can control the response for a request made by CachingHttpClient can achieve remote code execution on the server by manipulating internal cache headers.

Affected Products

  • SensioLabs Symfony versions before 4.4.13 and 5.1.5
  • SensioLabs HttpClient component
  • Fedora Project Fedora 32 and 33

Discovery Timeline

  • September 2, 2020 - CVE-2020-15094 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-15094

Vulnerability Analysis

This vulnerability stems from improper encapsulation of information (CWE-212) in Symfony's HTTP caching implementation. The HttpCache class was designed with an implicit trust model where internal control headers would only be set by trusted backend systems. However, when the CachingHttpClient class leverages HttpCache to cache HTTP responses from external sources, this trust assumption breaks down.

The X-Body-Eval header allows specifying PHP code for execution during cache restoration, while X-Body-File can specify arbitrary file paths. If an attacker can influence the response returned to a CachingHttpClient request—such as through a compromised upstream server or man-in-the-middle attack—they can inject these internal headers and achieve code execution when the cached response is subsequently restored.

Root Cause

The root cause is the improper separation between internal control mechanisms and externally-controllable data. The HttpCache class was initially written for ESI/surrogate caching scenarios where all responses come from trusted backend infrastructure. The introduction of CachingHttpClient created a new attack surface where external, potentially malicious responses could include internal control headers that would be processed as trusted directives.

Attack Vector

The attack requires the ability to control or influence HTTP responses received by an application using CachingHttpClient. This could occur through:

  1. Compromising an upstream server that the application makes requests to
  2. Man-in-the-middle attacks between the application and remote services
  3. DNS hijacking to redirect requests to attacker-controlled servers
  4. Cache poisoning in intermediate proxies

Once the attacker can inject responses containing X-Body-Eval or X-Body-File headers, the malicious content is cached and executed when the cache entry is restored.

php
// Security patch in src/Symfony/Component/HttpKernel/HttpClientKernel.php
// Removes internal headers from HttpClient responses to prevent RCE

 
         $response = new Response($response->getContent(!$catch), $response->getStatusCode(), $response->getHeaders(!$catch));
 
+        $response->headers->remove('X-Body-File');
+        $response->headers->remove('X-Body-Eval');
+        $response->headers->remove('X-Content-Digest');
+
         $response->headers = new class($response->headers->all()) extends ResponseHeaderBag {
             protected function computeCacheControlValue(): string
             {

Source: GitHub Security Commit

Detection Methods for CVE-2020-15094

Indicators of Compromise

  • Unexpected presence of X-Body-Eval, X-Body-File, or X-Content-Digest headers in HTTP responses from external services
  • Anomalous PHP code execution patterns originating from the HTTP caching subsystem
  • Unusual file access patterns related to cache restoration operations

Detection Strategies

  • Monitor web application firewall (WAF) logs for responses containing X-Body-Eval or X-Body-File headers
  • Implement application-level logging to detect when internal Symfony headers are present in external HTTP responses
  • Review cache directories for unexpected or suspicious cached content

Monitoring Recommendations

  • Deploy SentinelOne Singularity to detect anomalous process execution patterns indicative of RCE exploitation
  • Configure alerting for any PHP process executing code from unexpected contexts or cache-related paths
  • Establish baseline monitoring for outbound HTTP connections from Symfony applications to detect communication with potentially compromised upstream servers

How to Mitigate CVE-2020-15094

Immediate Actions Required

  • Upgrade Symfony to version 4.4.13 or later for the 4.x branch
  • Upgrade Symfony to version 5.1.5 or later for the 5.x branch
  • Audit all applications using CachingHttpClient to identify potential exposure
  • Review upstream services and network security to minimize response manipulation risks

Patch Information

The vulnerability has been fixed in Symfony versions 4.4.13 and 5.1.5. The fix removes the internal control headers (X-Body-File, X-Body-Eval, X-Content-Digest) from responses processed by HttpClientKernel before they can be cached. This ensures that even if an attacker injects these headers into a response, they are stripped before reaching the caching layer.

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

Workarounds

  • If immediate patching is not possible, consider disabling HTTP response caching in applications using CachingHttpClient until the upgrade can be performed
  • Implement strict TLS verification and certificate pinning for upstream services to reduce MITM attack risks
  • Deploy network-level filtering to strip X-Body-Eval and X-Body-File headers from incoming responses at the reverse proxy layer
bash
# Composer command to update Symfony to patched versions
composer require symfony/http-kernel:^4.4.13 symfony/http-client:^4.4.13
# Or for Symfony 5.x
composer require symfony/http-kernel:^5.1.5 symfony/http-client:^5.1.5

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSensiolabs Httpclient

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability2.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-212
  • Technical References
  • GitHub Security Advisory

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Packagist Symfony HttpKernel

  • Packagist Symfony Package
  • Vendor Resources
  • GitHub Commit Update
  • 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
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