Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
PHPMailer versions 6.1.8 up to but not including 6.4.1 are vulnerable to object injection through attachment file paths, which reintroduces CVE-2018-19296. An attacker who can supply an unfiltered attachment path, or trick calling code into generating one, can cause an external file to be executed as a PHP .phar archive. Upgrade to PHPMailer 6.4.1, which fixes the issue and rejects attachment paths that look like any kind of URL. If upgrading is not possible, validate attachment paths in calling code before passing them to file functions.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.8 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.031, the 87th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:25 UTC First seen by agentprime
- 31 Oct 2026, 14:25 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-m298-fh5c-jc66
- OSV: GHSA-m298-fh5c-jc66
- github.com/PHPMailer/PHPMailer/security/advisories/GHSA-m298-fh5c-jc66
- nvd.nist.gov/vuln/detail/CVE-2020-36326
- github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9
- github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2020-36326.yaml
- github.com/PHPMailer/PHPMailer
- github.com/PHPMailer/PHPMailer/releases/tag/v6.4.1
- lists.fedoraproject.org/archives/list/[email protected]/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B
- lists.fedoraproject.org/archives/list/[email protected]/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT