agentgateway: Dynamic backend loopback and link-local restriction bypassed through CONNECT in route mode
Summary
| CVE | CVE-2026-145313 |
|---|---|
| State | PUBLISHED |
| Assigner | Akrites |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-04 20:19:38 UTC |
| Updated | 2026-12-04 20:19:38 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 4.3 MEDIUM from 7fefd608-56a6-419f-a002-fd8543c0710a
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Problem Types: CWE-918 | CWE-918 CWE-918 Server-Side Request Forgery (SSRF)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 7fefd608-56a6-419f-a002-fd8543c0710a | Secondary | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | CNA | CVSS | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Agentgateway | Agentgateway | affected 1.7.0-alpha.1 1.8.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/agentgateway/agentgateway/security/advisories/GHSA-8qfj-9cv9-... | 7fefd608-56a6-419f-a002-fd8543c0710a | github.com | |
| github.com/agentgateway/agentgateway/pull/4528 | 7fefd608-56a6-419f-a002-fd8543c0710a | github.com | |
| github.com/agentgateway/agentgateway/releases/tag/v1.8.0 | 7fefd608-56a6-419f-a002-fd8543c0710a | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Zachariah Mithani (AploSec) (en)
CNA: fwittreverce (en)
CNA: Leo Ruocco, Agentic Thinking (agenticbench.org) (en)
CNA: John Howard (en)
Additional Advisory Data
Solutions
CNA: Upgrade to agentgateway 1.8.0 or later.
Workarounds
CNA: 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.
There are currently no legacy QID mappings associated with this CVE.