HOMEVULNERABILITIESCVE-2018-19789
MEDIUM

CVE-2018-19789

CWE-434Published: December 18, 2018· Updated: Jun 17, 2026

5.3
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2018-19789 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityLow
IntegrityNone
AvailabilityNone
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected Vendors & Products

Debian1 product(s)
debian linux
sensiolabs1 product(s)
symfony
Source: NVD CPE · 2 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (16)

http://www.securityfocus.com/bid/106249Third Party Advisory · VDB Entry
http://www.securityfocus.com/bid/106249Third Party Advisory · VDB Entry

Quick Facts

CVE IDCVE-2018-19789
CVSS Score5.3 / 10
SeverityMEDIUM
WeaknessCWE-434
CISA KEVNo
Affected2 vendor(s)
PublishedDec 18, 2018

Related CVEs (CWE-434)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2018-19789 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.