CVE-2026-145313

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

Published Dec 4, 2026 CVSS 3.1 · 4.3 Medium EPSS n/a KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to agentgateway 1.8.0 or later.


Vendor Workaround

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title agentgateway: Dynamic backend loopback and link-local restriction bypassed through CONNECT in route mode
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Akrites
Published
Updated
Dec 4, 2026, 7:04 PM
Reserved
Dec 4, 2026, 6:42 PM
Status
Received
Published
Dec 4, 2026, 8:19 PM
Modified
Dec 4, 2026, 8:19 PM