{"id":"CVE-2025-31135","published":"2025-04-01T22:03:09Z","modified":"2026-01-28T22:27:22Z","title":"Go-Guerrilla SMTP Daemon allows the PROXY command to be sent multiple times","vendor":"phires","product":"go-guerrilla","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00528,"percentile":0.38092,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/phires/go-guerrilla/security/advisories/GHSA-c2c3-pqw5-5p7c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/phires/go-guerrilla/commit/d08fe22f8022d2bdedc136f9e4ba96f2fbbebf18","tags":["x_refsource_MISC"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":7.62},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"phires","affectedVersions":[{"vendor":"phires","product":"go-guerrilla","versions":["< 1.6.7"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-02T13:47:44.251072Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/phires/go-guerrilla","vulnerableRanges":["<1.6.7"],"patched":["1.6.7"],"from":["GHSA-c2c3-pqw5-5p7c","GO-2025-3588"],"provenance":"source"}],"summary":{"text":"The Go-Guerrilla SMTP Daemon, a lightweight SMTP server written in Go from phires, accepts the PROXY command multiple times when ProxyOn is enabled, with later invocations overriding earlier ones. An attacker with network access to the server can send further PROXY commands during the SMTP exchange, without authentication or user interaction, to make connections appear to come from a spoofed IP address, provided the server is configured with ProxyOn enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:37Z"},"euvd":{"id":"EUVD-2025-9432","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-phires-go-guerrilla-cve-2025-31135","children":[{"from":"CVE-2025-31135","to":"CVE-2026-115578","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/phires/go-guerrilla","fromFixed":"1.6.7","toFixed":"1.6.7-1","daysApart":597},{"kind":"same-code","provenance":"machine","files":["server.go"],"commits":["https://github.com/phires/go-guerrilla/commit/d08fe22f8022d2bdedc136f9e4ba96f2fbbebf18","https://github.com/phires/go-guerrilla/commit/7673947f2d5204a135d7ae0b7f80759e548abee6","https://github.com/phires/go-guerrilla/commit/b6deed97ff70f52bf34c386d33967694e7330d33","https://github.com/phires/go-guerrilla/commit/f0d0f2c40dcacf212e3a6a055ae67f7b412affc4"],"basis":"shared function","functions":["handleClient"]}]}],"packageHistory":[{"cve":"CVE-2025-31135","published":"2025-04-01","fixed":"1.6.7","kev":false},{"cve":"CVE-2026-115578","published":"2026-11-19","fixed":"1.6.7-1","kev":false}],"package":"Go:github.com/phires/go-guerrilla"}}