Every CVESearch/Get API key

GHSA-4qpj-gxxg-jqg4

Swiftmailer Sendmail transport arbitrary shell execution

No scoreFix available

GHSA-4qpj-gxxg-jqg4 is a vulnerability with no CVSS score yet in swiftmailer/swiftmailer, published May 29, 2024. No source lists public exploit code. Fixed in swiftmailer/swiftmailer 5.2.1.

What does this mean?
Severity
UnratedNo CVSS score yet
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists

Description

Prior to 5.2.1, the sendmail transport (Swift_Transport_SendmailTransport) was vulnerable to an arbitrary shell execution if the "From" header came from a non-trusted source and no "Return-Path" is configured. This has been fixed in 5.2.1. If you are using sendmail as a transport, you are encouraged to upgrade as soon as possible.

Affected packages

Affected packages
PackageAffectedFixed
swiftmailer/swiftmailer
Packagist
4.0.0 up to 5.2.1
5.2.1
swiftmailer/swiftmailer
Packagist
4.0.0 up to 5.2.1, plus listed versions
4.1.34.1.44.1.54.1.64.1.7
Show 12 moreShow less
v4.1.8v4.2.0v4.2.1v4.2.2v4.3.0v4.3.1v5.0.0v5.0.1v5.0.2v5.0.3v5.1.0v5.2.0
5.2.1

What each source reports

GitHub AdvisoriesNo score

Swiftmailer Sendmail transport arbitrary shell execution

Prior to 5.2.1, the sendmail transport (Swift_Transport_SendmailTransport) was vulnerable to an arbitrary shell execution if the "From" header came from a non-trusted source and no "Return-Path" is configured. This has been fixed in 5.2.1. If you are using sendmail as a transport, you are encouraged to upgrade as soon as possible.

Record
GHSA-4qpj-gxxg-jqg4
Updated
2026-11-02
OSVNo score

Swiftmailer Sendmail transport arbitrary shell execution

Prior to 5.2.1, the sendmail transport (Swift_Transport_SendmailTransport) was vulnerable to an arbitrary shell execution if the "From" header came from a non-trusted source and no "Return-Path" is configured. This has been fixed in 5.2.1. If you are using sendmail as a transport, you are encouraged to upgrade as soon as possible.

Record
GHSA-4qpj-gxxg-jqg4
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open