{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-145313",
    "assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
    "state": "PUBLISHED",
    "assignerShortName": "Akrites",
    "dateReserved": "2026-12-04T18:42:49.847Z",
    "datePublished": "2026-12-04T19:04:38.412Z",
    "dateUpdated": "2026-12-04T19:04:38.412Z"
  },
  "containers": {
    "cna": {
      "title": "agentgateway: Dynamic backend loopback and link-local restriction bypassed through CONNECT in route mode",
      "datePublic": "2026-12-01T00:03:58.000Z",
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "cweId": "CWE-918",
              "description": "CWE-918 Server-Side Request Forgery (SSRF)",
              "type": "CWE"
            }
          ]
        }
      ],
      "affected": [
        {
          "vendor": "agentgateway",
          "product": "agentgateway",
          "repo": "https://github.com/agentgateway/agentgateway",
          "versions": [
            {
              "status": "affected",
              "version": "1.7.0-alpha.1",
              "lessThan": "1.8.0",
              "versionType": "semver"
            }
          ],
          "defaultStatus": "unaffected"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In agentgateway 1.7.0, including its 1.7.0 pre-releases, the config.backend.allowDynamicLoopback setting was not enforced for CONNECT requests on listeners that set frontendPolicies.connect.mode to route. When this setting is false, dynamic backends must not connect to loopback or link-local addresses, but a CONNECT request routed to a dynamic backend skipped the check. A client that can send CONNECT requests through such a route can open a tunnel to services listening on the gateway host's loopback interface, or to link-local addresses, for example with CONNECT 127.0.0.1:1234. Deployments are affected only if a listener enables CONNECT in route mode, a route that accepts CONNECT uses a dynamic backend, and untrusted clients can send CONNECT requests through that route. Versions before 1.7.0 do not have the allowDynamicLoopback restriction."
        }
      ],
      "references": [
        {
          "url": "https://github.com/agentgateway/agentgateway/security/advisories/GHSA-8qfj-9cv9-8898"
        },
        {
          "url": "https://github.com/agentgateway/agentgateway/pull/4528"
        },
        {
          "url": "https://github.com/agentgateway/agentgateway/releases/tag/v1.8.0"
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "LOW",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "availabilityImpact": "NONE",
            "baseSeverity": "MEDIUM",
            "baseScore": 4.3,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
          }
        }
      ],
      "workarounds": [
        {
          "lang": "en",
          "value": "Do not enable CONNECT in route mode (frontendPolicies.connect.mode: route) on listeners that untrusted clients can reach, or do not use a dynamic backend on routes that accept CONNECT requests. This workaround is an AI-generated suggestion and has not been verified."
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "Upgrade to agentgateway 1.8.0 or later."
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Zachariah Mithani (AploSec)",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "fwittreverce",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "Leo Ruocco, Agentic Thinking (agenticbench.org)",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "John Howard",
          "type": "remediation developer"
        }
      ],
      "providerMetadata": {
        "orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
        "shortName": "Akrites",
        "dateUpdated": "2026-12-04T19:04:38.412Z"
      },
      "x_generator": {
        "engine": "cvelib 1.8.0"
      }
    }
  }
}
