BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2018-19789 in Debian Linux and 1 more product

Medium 5.3

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

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.05.3
EPSS3.6%
EPSS percentile90th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 8.0
Sensiolabs Symfony ≥ 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

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2018-19789
BreachSpider IDBS-2018-GLOBAL-215695-M
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published2018-12-18
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-434: Unrestricted Upload of File with Dangerous Type

Application allows file uploads without validating type, enabling upload of executable code or web shells.

Related attack patterns (CAPEC)

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2018. A medium severity vulnerability affects Debian systems (CVE-2018-19789). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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 fi CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Questions

What is CVE-2018-19789?

This vulnerability was disclosed in 2018. A medium severity vulnerability affects Debian systems (CVE-2018-19789). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2018-19789?

CVE-2018-19789 has CVSS 5.3 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 3.6%.

Is CVE-2018-19789 actively exploited?

No confirmed active exploitation of CVE-2018-19789 as of 2026-09-25.

How do I remediate CVE-2018-19789?

Priority: MONITOR. PSIRT: [email protected]

What systems are affected by CVE-2018-19789?

CVE-2018-19789 affects Debian Debian Linux; Sensiolabs Symfony.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.