Skip to content

CVE-2025-31135 Go-Guerrilla SMTP Daemon allows the PROXY command to be sent multiple times

MediumCVSS 5.3 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

Go-Guerrilla SMTP Daemon is a lightweight SMTP server written in Go. Prior to 1.6.7, when ProxyOn is enabled, the PROXY command will be accepted multiple times, with later invocations overriding earlier ones. The proxy protocol only supports one initial PROXY header; anything after that is considered part of the exchange between client and server, so the client is free to send further PROXY commands with whatever data it pleases. go-guerrilla will treat these as coming from the reverse proxy, allowing a client to spoof its IP address. This vulnerability is fixed in 1.6.7.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
phires github.com/phires/go-guerrilla(Go) < 1.6.7 1.6.7 Fixed
phires github.com/phires/go-guerrilla = < 1.6.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
phires github.com/phires/go-guerrilla(Go) < 1.6.7 1.6.7
phires github.com/phires/go-guerrilla = < 1.6.7 No fix listed

References