Read the docs
TI-2018-14012 Aliases CVE-2018-19789GHSA-x3cf-w64x-4cp2

An issue was discovered in Symfony 2.7.x before 2.7.50, 2.8.x before 2.8.49, 3.x before…

Priority LOW 30CWE-434Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-434.

Summary

An issue was discovered in Symfony 2.7.x before 2.7.50, 2.8.x before 2.8.49, 3.x before 3.4.20, 4.0.x before 4.0.15, 4.1.x before 4.1.9, and 4.2.x before 4.2.1. When using the scalar type hint `string` in a setter method (e.g. `setName(string $name)`) of a class that's the `data_class` of a form, and when a file upload is submitted to the corresponding field instead of a normal text input, then `UploadedFile::__toString()` is called which will then return and disclose the path of the uploaded file. If combined with a local file inclusion issue in certain circumstances this could escalate it to a Remote Code Execution.

Why it matters now

EPSS 0.03589 89th percentileScored 2026-11-07
Fix Fixed symfony/symfony (Packagist): 2.7.50, 2.8.49, 3.4.20 +3symfony/form (Packagist): 2.7.50, 2.8.49, 3.4.20 +3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—symfony/symfony (Packagist)2.7.0 to before 2.7.502.7.50Patch availableGHSA-x3cf-w64x-4cp2
—symfony/symfony (Packagist)2.8.0 to before 2.8.492.8.49Patch availableGHSA-x3cf-w64x-4cp2
—symfony/symfony (Packagist)3.0.0 to before 3.4.203.4.20Patch availableGHSA-x3cf-w64x-4cp2
—symfony/symfony (Packagist)4.0.0 to before 4.0.154.0.15Patch availableGHSA-x3cf-w64x-4cp2
—symfony/symfony (Packagist)4.1.0 to before 4.1.94.1.9Patch availableGHSA-x3cf-w64x-4cp2
—symfony/symfony (Packagist)4.2.0 to before 4.2.14.2.1Patch availableGHSA-x3cf-w64x-4cp2
—symfony/form (Packagist)2.7.0 to before 2.7.502.7.50Patch availableGHSA-x3cf-w64x-4cp2
—symfony/form (Packagist)2.8.0 to before 2.8.492.8.49Patch availableGHSA-x3cf-w64x-4cp2
—symfony/form (Packagist)3.0.0 to before 3.4.203.4.20Patch availableGHSA-x3cf-w64x-4cp2
—symfony/form (Packagist)4.0.0 to before 4.0.154.0.15Patch availableGHSA-x3cf-w64x-4cp2
—symfony/form (Packagist)4.1.0 to before 4.1.94.1.9Patch availableGHSA-x3cf-w64x-4cp2
—symfony/form (Packagist)4.2.0 to before 4.2.14.2.1Patch availableGHSA-x3cf-w64x-4cp2
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • symfony/symfony (Packagist) Vendor— Affected 2.7.0 to before 2.7.50 Fixed in 2.7.50 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/symfony (Packagist) Vendor— Affected 2.8.0 to before 2.8.49 Fixed in 2.8.49 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/symfony (Packagist) Vendor— Affected 3.0.0 to before 3.4.20 Fixed in 3.4.20 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/symfony (Packagist) Vendor— Affected 4.0.0 to before 4.0.15 Fixed in 4.0.15 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/symfony (Packagist) Vendor— Affected 4.1.0 to before 4.1.9 Fixed in 4.1.9 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/symfony (Packagist) Vendor— Affected 4.2.0 to before 4.2.1 Fixed in 4.2.1 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/form (Packagist) Vendor— Affected 2.7.0 to before 2.7.50 Fixed in 2.7.50 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/form (Packagist) Vendor— Affected 2.8.0 to before 2.8.49 Fixed in 2.8.49 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/form (Packagist) Vendor— Affected 3.0.0 to before 3.4.20 Fixed in 3.4.20 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/form (Packagist) Vendor— Affected 4.0.0 to before 4.0.15 Fixed in 4.0.15 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/form (Packagist) Vendor— Affected 4.1.0 to before 4.1.9 Fixed in 4.1.9 Patch available GHSA-x3cf-w64x-4cp2
  • symfony/form (Packagist) Vendor— Affected 4.2.0 to before 4.2.1 Fixed in 4.2.1 Patch available GHSA-x3cf-w64x-4cp2

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*2.7.0 to before 2.7.50; 2.8.0 to before 2.8.49; 3.0.0 to before 3.4.20; 4.0.0 to before 4.0.15; 4.1.0 to before 4.1.9; 4.2.0 to before 4.2.1Vulnerablesensiolabs
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
  • cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* Versions 2.7.0 to before 2.7.50; 2.8.0 to before 2.8.49; 3.0.0 to before 3.4.20; 4.0.0 to before 4.0.15; 4.1.0 to before 4.1.9; 4.2.0 to before 4.2.1 Vulnerable ·sensiolabs
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-x3cf-w64x-4cp2 symfony/symfony (Packagist) Fixed in 2.7.50 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/symfony (Packagist) Fixed in 2.8.49 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/symfony (Packagist) Fixed in 3.4.20 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/symfony (Packagist) Fixed in 4.0.15 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/symfony (Packagist) Fixed in 4.1.9 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/symfony (Packagist) Fixed in 4.2.1 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/form (Packagist) Fixed in 2.7.50 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/form (Packagist) Fixed in 2.8.49 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/form (Packagist) Fixed in 3.4.20 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/form (Packagist) Fixed in 4.0.15 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/form (Packagist) Fixed in 4.1.9 Advisory →
  • Fix · GHSA-x3cf-w64x-4cp2 symfony/form (Packagist) Fixed in 4.2.1 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-19789
  2. 2026-10-03 Alias added: GHSA-x3cf-w64x-4cp2

References

Sources