Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-31135
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 04:43 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 1 Apr 2025, 22:03 UTC

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.

osv:CVE-2025-31135
Complete source record
{
  "id": "0a5741ffc97be1cff2782d887a206ceff6de8228fbb5c2782b8d42af00cd8f5b",
  "url": "https://osv.dev/vulnerability/CVE-2025-31135",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Go-Guerrilla SMTP Daemon allows the PROXY command to be sent multiple times",
    "summary": "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.",
    "evidence": "osv:CVE-2025-31135",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-31135",
      "aliases": [
        "CVE-2025-31135",
        "GHSA-c2c3-pqw5-5p7c",
        "GO-2025-3588"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/phires/go-guerrilla",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b41860cc9b279deadd93a5db53cf4e7f81866d85"
                },
                {
                  "fixed": "d08fe22f8022d2bdedc136f9e4ba96f2fbbebf18"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.6.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d08fe22f8022d2bdedc136f9e4ba96f2fbbebf18"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.6.6",
            "v1.6.5",
            "v1.6.1",
            "v1.6.0",
            "1.5.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31135.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.497661555Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31135.json",
        "https://github.com/phires/go-guerrilla/security/advisories/GHSA-c2c3-pqw5-5p7c",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-31135",
        "https://github.com/phires/go-guerrilla/commit/d08fe22f8022d2bdedc136f9e4ba96f2fbbebf18"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31135.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-31135",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514634,
  "published_at": "2025-04-01T22:03:09.405+00:00"
}