CVE-2026-45074: Symfony Security-HTTP Package Cross-Service Ticket Replay Vulnerability

symfony/security-http Updated 04 Jun 2026

Summary

27/05/2026
Yes i
Moderate
6.6

CVE-2026-45074: Symfony's Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service Ticket Replay. Affects symfony/security-http across 2 version ranges.

>= 7.1.0, < 7.4.12 >= 8.0.0, < 8.0.12

Fixed in 7.4.12 or 8.0.12, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Symfony is a popular PHP framework used for building web applications. The security-http component of Symfony provides tools for managing security features, including authentication and authorization. This component is crucial for ensuring that web applications are secure and that user sessions are properly managed. However, a vulnerability has been identified in the Cas2Handler class, which can lead to serious security issues if not addressed.

Vulnerability Detail

The vulnerability arises from the Cas2Handler's method of constructing the 'service' parameter using the Request::getSchemeAndHttpHost() function. This function reflects the HTTP Host header, which can be manipulated by an attacker if the framework's trusted_hosts setting is not configured. As a result, an attacker controlling another application registered with the same CAS server can replay a victim's ticket against the Symfony application, effectively impersonating the victim and gaining unauthorized access.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 7.1.0, < 7.4.12 7.4.12
    composer require symfony/security-http:7.4.12
  • >= 8.0.0, < 8.0.12 8.0.12
    composer require symfony/security-http:8.0.12

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, you can configure the 'framework.trusted_hosts' setting in your Symfony application to restrict the accepted Host headers. This can help mitigate the risk of this vulnerability until you can apply the patch. Example configuration in your Symfony config file: 'framework: trusted_hosts: ['^localhost$', '^yourdomain.com$']'.

Conclusion

The CVE-2026-45074 vulnerability in Symfony's security-http package poses a significant risk due to its potential for cross-service ticket replay attacks. It is crucial for developers to update their packages to the latest patched versions and configure their applications properly to mitigate this risk. Utilizing tools like Vulert can help maintain awareness of vulnerabilities in your software.

See every vulnerability recorded for symfony/security-http →

Share this vulnerability

FAQ

CVE-2026-45074 is a vulnerability in the Symfony security-http package that allows attackers to replay authentication tickets by manipulating the Host header.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your composer.lock file.

If exploited, this vulnerability can allow attackers to impersonate legitimate users, leading to unauthorized access to sensitive information and functionalities within the application.

To apply the patch, update your Symfony security-http package to version 7.4.12 or 8.0.12 by running 'composer update symfony/security-http' in your project directory.

Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the composer.lock file, providing real-time insights without requiring code access.

Related vulnerabilities

Recent vulnerabilities recorded for symfony/security-http.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 7.1.0, < 7.4.12 7.4.12
    composer require symfony/security-http:7.4.12
  • >= 8.0.0, < 8.0.12 8.0.12
    composer require symfony/security-http:8.0.12

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback