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.
Published: 2026-12-04
Score: 4.3 Medium
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

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

History

Fri, 04 Dec 2026 19:15:00 +0000

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.

cve-icon MITRE

Status: PUBLISHED

Assigner: Akrites

Published:

Updated: 2026-12-04T19:04:38.412Z

Reserved: 2026-12-04T18:42:49.847Z

Link: CVE-2026-145313

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)