Command injection in Ghost - #VU128202
Published: September 17, 2021 / Updated: April 27, 2026
Ghost
Ghost
Description
The vulnerability allows a remote attacker to inject commands.
The vulnerability exists due to command injection in the sendmail email transport configuration when using the sendmail transport for mail delivery. A remote attacker can trigger the vulnerable nodemailer sendmail handling to inject commands.
Only sites explicitly configured to use the sendmail transport are vulnerable.