The Linux Foundation Projects

Security Advisories

CVE-2026-145313

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

Medium 4.3

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.

Affected

  • agentgateway/agentgateway: >= 1.7.0-alpha.1, < 1.8.0

References

Credits

  • Zachariah Mithani (AploSec) (finder)
  • fwittreverce (finder)
  • Leo Ruocco, Agentic Thinking (agenticbench.org) (finder)
  • John Howard (remediation developer)