CVE-2019-11325Sensiolabs Symfony
Critical 9.8 No auth needed
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Nov 21, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-116
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. The VarExport component incorrectly escapes strings, allowing some specially crafted ones to escalate to execution of arbitrary PHP code. This is related to symfony/var-exporter.
What to do
- Apply the vendor's security update for Symfony.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/symfony |
≥ 4.2.0 < 4.2.12 |
4.2.12 |
composer require "symfony/symfony:^4.2.12" |
| Packagist | symfony/symfony |
≥ 4.3.0 < 4.3.8 |
4.3.8 |
composer require "symfony/symfony:^4.3.8" |
| Packagist | symfony/var-exporter |
≥ 4.2.0 < 4.2.12 |
4.2.12 |
composer require "symfony/var-exporter:^4.2.12" |
| Packagist | symfony/var-exporter |
≥ 4.3.0 < 4.3.8 |
4.3.8 |
composer require "symfony/var-exporter:^4.3.8" |
Per OSV / GitHub Advisories (GHSA-w4rc-rx25-8m86). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | ≥ 4.2.0 < 4.2.12 |
| sensiolabs | symfony | ≥ 4.3.0 < 4.3.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- symfony.com Vendor Advisory
- symfony.com Release Notes Vendor Advisory