{"id":"GHSA-wfrj-qqc2-83cm","aliases":[],"status":"published","title":"Remote command injection when using sendmail email transport","description":"### Impact\n\nSites using the `sendmail` transport as part of their `mail` config are vulnerable to remote command injection due to a [vulnerability](https://github.com/advisories/GHSA-48ww-j4fc-435p) in the `nodemailer` dependency.\n\nGhost defaults to the `direct` transport so this is only exploitable if the `sendmail` transport is explicitly used.\n\n### Patches\n\nFixed in 4.15.0, all sites should upgrade as soon as possible.\n\n### Workarounds\n\n* Use an alternative email transport as described in the [docs](https://ghost.org/docs/config/#mail). \n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* email us at security@ghost.org","severity":{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-88"],"published":"2021-09-20T19:52:41Z","modified":"2023-04-21T19:35:16Z","fixes":[{"ecosystem":"npm","package":"ghost","fixed_in":["4.15.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"ghost","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0"}]}]},{"source":"osv","ecosystem":"npm","package":"ghost","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.15.0"}]}]}],"references":[{"url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-wfrj-qqc2-83cm","tags":["web"]},{"url":"https://github.com/advisories/GHSA-48ww-j4fc-435p","tags":["advisory"]},{"url":"https://github.com/TryGhost/Ghost/commit/93e4b2eafd18bc8e4c17924e0824e73617e7940c","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wfrj-qqc2-83cm"},{"url":"https://github.com/TryGhost/Ghost","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-wfrj-qqc2-83cm","title":"Remote command injection when using sendmail email transport","description":"### Impact\n\nSites using the `sendmail` transport as part of their `mail` config are vulnerable to remote command injection due to a [vulnerability](https://github.com/advisories/GHSA-48ww-j4fc-435p) in the `nodemailer` dependency.\n\nGhost defaults to the `direct` transport so this is only exploitable if the `sendmail` transport is explicitly used.\n\n### Patches\n\nFixed in 4.15.0, all sites should upgrade as soon as possible.\n\n### Workarounds\n\n* Use an alternative email transport as described in the [docs](https://ghost.org/docs/config/#mail). \n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* email us at security@ghost.org\n","status":"published","published":"2021-09-20T19:52:41Z","modified":"2023-04-21T19:35:16Z","cvss":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:36:51.39133Z"}],"osv":[{"id":"GHSA-wfrj-qqc2-83cm","title":"Remote command injection when using sendmail email transport","description":"### Impact\n\nSites using the `sendmail` transport as part of their `mail` config are vulnerable to remote command injection due to a [vulnerability](https://github.com/advisories/GHSA-48ww-j4fc-435p) in the `nodemailer` dependency.\n\nGhost defaults to the `direct` transport so this is only exploitable if the `sendmail` transport is explicitly used.\n\n### Patches\n\nFixed in 4.15.0, all sites should upgrade as soon as possible.\n\n### Workarounds\n\n* Use an alternative email transport as described in the [docs](https://ghost.org/docs/config/#mail). \n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* email us at security@ghost.org\n","status":"published","published":"2021-09-20T19:52:41Z","modified":"2021-09-17T17:48:56Z","cvss":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T15:46:58.767335Z"}]}}
