CVE-2025-31135phires go-guerrilla
Medium 5.3 No auth needed
Follow: this CVE · phires · phires go-guerrilla We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Apr 1, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for go-guerrilla.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/phires/go-guerrilla |
< 1.6.7 |
1.6.7 |
go get github.com/phires/go-guerrilla@v1.6.7 |
| Go | github.com/phires/go-guerrilla |
< 1.6.7 |
1.6.7 |
go get github.com/phires/go-guerrilla@v1.6.7 |
Per OSV / GitHub Advisories (GHSA-c2c3-pqw5-5p7c, GO-2025-3588). Check the version in your lockfile before upgrading.
Affected products
- phires · go-guerrilla
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.