CVE-2025-31135
Go-Guerrilla SMTP Daemon allows the PROXY command to be sent multiple times
Reported by github_m · Published April 1, 2025
github.com/phires/go-guerrilla is fixed in 1.6.7 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/phires/go-guerrilla | Go Modules | 1.6.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| phires | go-guerrilla | < 1.6.7 |
| phires | go-guerrilla | 0 |
| github.com | phires/go-guerrilla | 0 |
Timeline
- Apr 1, 2025 CVE Published
- Apr 1, 2025 PoC Published (2 in total, the first dated here)
- Apr 2, 2025 EPSS Score (30 in total, the first dated here)
- Jun 21, 2025 Coalition ESS Score (11 in total, the first dated here)
- Dec 17, 2025 Security Advisory (2 in total, the first dated here)
- Jan 28, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-31135
vulnetix vdb fixes CVE-2025-31135
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-31135/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/phires/go-guerrilla/security/advisories/GHSA-c2c3-pqw5-5p7c x_refsource_CONFIRM
- https://github.com/phires/go-guerrilla/commit/d08fe22f8022d2bdedc136f9e4ba96f2fbbebf18 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-31135 advisory
- https://github.com/advisories/GHSA-c2c3-pqw5-5p7c advisory
- https://github.com/phires/go-guerrilla/commit/7673947f2d5204a135d7ae0b7f80759e548abee6 patch
- https://pkg.go.dev/vuln/GO-2025-3588 url
- https://github.com/phires/go-guerrilla url