{"id":"GHSA-4qpj-gxxg-jqg4","aliases":["GHSA-4qpj-gxxg-jqg4"],"related":[],"kind":"vulnerability","state":"published","title":"Swiftmailer Sendmail transport arbitrary shell execution","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2024-05-29T13:13:16.000Z","modified":"2024-12-04T05:24:49.427Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"5.2.1"}],"ecosystem":"Packagist","package":"swiftmailer/swiftmailer","purl":"pkg:composer/swiftmailer/swiftmailer","source":"ghsa"}],"references":[{"url":"https://github.com/swiftmailer/swiftmailer/commit/b4b78af55e5e87f5ff07c06c6be7963c44562f80","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/swiftmailer/swiftmailer/commit/efc430606a5faed864b969adfbdc5363ce2115a2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/swiftmailer/swiftmailer/2014-06-13.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/swiftmailer/swiftmailer","tags":["package"],"sources":["ghsa"]},{"url":"https://web.archive.org/web/20150219063146/http://blog.swiftmailer.org/post/88660759928/security-fix-swiftmailer-5-2-1-released","tags":["web"],"sources":["ghsa"]},{"url":"http://blog.swiftmailer.org/post/88660759928/security-fix-swiftmailer-5-2-1-released","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4qpj-gxxg-jqg4","url":"https://github.com/advisories/GHSA-4qpj-gxxg-jqg4","licence":"CC-BY-4.0","modified":"2024-12-04T05:24:49.427Z"}],"updatedAt":"2026-11-25T22:56:31.071Z"}