{"id":"CVE-2026-145313","summary":"agentgateway: Dynamic backend loopback and link-local restriction bypassed through CONNECT in route mode","details":"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.","aliases":["GHSA-8qfj-9cv9-8898"],"modified":"2026-12-04T21:02:48.761962918Z","published":"2026-12-04T19:04:38.412Z","database_specific":{"cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145313.json","cna_assigner":"Akrites"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145313.json"},{"type":"PACKAGE","url":"https://github.com/agentgateway/agentgateway"},{"type":"FIX","url":"https://github.com/agentgateway/agentgateway/pull/4528"},{"type":"WEB","url":"https://github.com/agentgateway/agentgateway/releases/tag/v1.8.0"},{"type":"ADVISORY","url":"https://github.com/agentgateway/agentgateway/security/advisories/GHSA-8qfj-9cv9-8898"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145313"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/agentgateway/agentgateway","events":[{"introduced":"aa826b42df36dae4432e686b96f989e7f10accf8"},{"fixed":"131238ca603537775c76456586825f280f00a32f"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.7.0-alpha.1"},{"fixed":"1.8.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"131238ca603537775c76456586825f280f00a32f"}],"source":"REFERENCES_TAG","original_tag":"v1.8.0"}]}}],"versions":["v1.7.0","v1.7.0-rc.1","v1.7.0-alpha.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145313.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}