← Vulnerability feed

Vulnerability record · CVE-2021-34551 · published 16 June 2021

CVE-2021-34551: Phpmailer project phpmailer unrestricted file upload vulnerability

Phpmailer Project · Phpmailer

PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and has a UNC pathname.

8.1 CVSS 3.1 High EPSS 2.8% · top 12.8% CWE-434 · Unrestricted file upload
8.1CVSS 3.1 base score, v2 5.1
2.8%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

Description

PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and has a UNC pathname.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-34551 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2016-10033PHPMailer isMail mailSend argument injection enables remote code executionPHPMailer before 5.2.18 fails to properly sanitize the Sender property in the mailSend function of the isMail transport, allowing a crafted backslash…KEVEPSS 100%analysed10.0CVE-2009-0846Mit kerberos 5 vulnerabilityThe asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c in the ASN.1 GeneralizedTime decoder in MIT Kerberos 5 (aka krb5) before 1.6.4 a…EPSS 8.9%9.8CVE-2020-36326Phpmailer project phpmailer deserialization of untrusted data vulnerabilityPHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname. NOTE: this is similar to CV…EPSS 3.1%9.8CVE-2016-10045PHPMailer isMail transport argument injection enables remote code executionPHPMailer before 5.2.20 fails to properly neutralize shell metacharacters in the isMail transport, because escapeshellarg interacts incorrectly with …EPSS 98%analysed9.8CVE-2008-2374Bluez-libs vulnerabilitysrc/sdp.c in bluez-libs 3.30 in BlueZ, and other bluez-libs before 3.34 and bluez-utils before 3.34 versions, does not validate string length fields …EPSS 4.3%9.8CVE-2008-2108Php vulnerabilityThe GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 64-bit systems, performs a multiplication that generates a port…EPSS 4.3%9.8CVE-2008-0599Php vulnerabilityThe init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length …EPSS 11%9.8CVE-2008-0062Mit kerberos 5 vulnerabilityKDC in MIT Kerberos 5 (krb5kdc) does not set a global variable for some krb4 message types, which allows remote attackers to cause a denial of servic…EPSS 10%

Source: NIST National Vulnerability Database (record CVE-2021-34551), CISA KEV, FIRST EPSS (scores of 2026-11-26). This page is refreshed as NVD updates the record.