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
Published Dec 18, 2018
5.3
MEDIUMCVSS 3.0
EPSS 3.59%
Description
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.
Affected products
No data.
Configuration 1
- ≥ 2.7.0 · < 2.7.50
- ≥ 2.8.0 · < 2.8.49
- ≥ 3.0.0 · < 3.4.20
- ≥ 4.0.0 · < 4.0.15
- ≥ 4.1.0 · < 4.1.9
- ≥ 4.2.0 · < 4.2.1
Configuration 2
- 8.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 3.59% (0.03589) | 89.07th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.59% (0.03589) | 87.90th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.92% (0.00921) | 73.87th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.27% (0.02265) | 74.35th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.92% (0.00921) | 74.36th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.77% (0.00772) | 81.97th | v3 (v2023.03.01) |
| Jul 13, 2024 | 0.99% (0.00992) | 83.73th | v3 (v2023.03.01) |
| Jun 19, 2024 | 1.08% (0.01085) | 84.39th | v3 (v2023.03.01) |
| May 10, 2024 | 1.59% (0.01591) | 87.29th | v3 (v2023.03.01) |
| Nov 8, 2023 | 2.61% (0.02614) | 89.16th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.27% (0.01271) | 83.53th | v3 (v2023.03.01) |
| Mar 6, 2023 | 7.15% (0.07154) | 92.28th | v2 (v2022.01.01) |
| Apr 1, 2022 | 7.15% (0.07154) | 91.53th | v2 (v2022.01.01) |
| Feb 4, 2022 | 7.15% (0.07154) | 80.03th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.19% (0.02188) | 50.60th | v1 |
| Jan 6, 2022 | 2.19% (0.02188) | 50.09th | v1 |
| Sep 1, 2021 | 2.19% (0.02188) | 77.45th | v1 |
| Apr 14, 2021 | 2.19% (0.02188) | 0.00th | v1 |
References (18)
- http://www.securityfocus.com/bid/106249 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/form/CVE-2018-19789.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2018-19789.yaml
- https://github.com/advisories/GHSA-x3cf-w64x-4cp2 Advisory
- https://github.com/symfony/symfony/commit/b65e6f1a47b68f2713b60cdac9cc3a4af62a2d1c
- https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TD3E7FZIXLVFG3SMFJPDEKPZ26TJOW7/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZMRJ7VTHCY5AZK24G4QGX36RLUDTDKE/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OA4WVFN5FYPIXAPLWZI6N425JHHDSWAZ/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4TD3E7FZIXLVFG3SMFJPDEKPZ26TJOW7/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JZMRJ7VTHCY5AZK24G4QGX36RLUDTDKE/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OA4WVFN5FYPIXAPLWZI6N425JHHDSWAZ/
- https://nvd.nist.gov/vuln/detail/CVE-2018-19789
- https://seclists.org/bugtraq/2019/May/21 mailing-listx_refsource_BUGTRAQ
- https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path x_refsource_CONFIRMPatchVendor Advisory
- https://symfony.com/cve-2018-19789
- https://web.archive.org/web/20210124224817/http://www.securityfocus.com/bid/106249
- https://www.debian.org/security/2019/dsa-4441 vendor-advisoryx_refsource_DEBIAN
Change history (0)
No recorded changes yet.