agentgateway: Dynamic backend loopback and link-local restriction bypassed through CONNECT in route mode

Summary

CVECVE-2026-145313
StatePUBLISHED
AssignerAkrites
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-04 20:19:38 UTC
Updated2026-12-04 20:19:38 UTC
DescriptionIn 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)


VersionSourceTypeScoreSeverityVector
3.17fefd608-56a6-419f-a002-fd8543c0710aSecondary4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
3.1CNACVSS4.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Agentgateway Agentgateway affected 1.7.0-alpha.1 1.8.0 semver Not specified

References

ReferenceSourceLinkTags
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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report