Code Injection in Contour - CVE-2026-41246

 

Code Injection in Contour - CVE-2026-41246

Published: November 25, 2026


Vulnerability identifier: #VU170088
CSH Severity: Medium
CVSS v4: 7.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-41246
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary Lua code in the shared Envoy proxy, potentially exposing other tenants’ TLS private keys or disrupting their traffic.

The vulnerability exists due to improper neutralization of user-controlled values in Contour’s cookie path rewrite policy when generating Lua source for Envoy’s HTTP Lua filter. A remote user can abuse route-level or service-level cookie path rewrite settings in an HTTPProxy resource they are authorized to create or modify to execute code when Envoy processes traffic on their own route.


Affected software

Contour

How to mitigate CVE-2026-41246

Install security update from vendor's website.

Contour - addressed in versions 1.31.6, 1.32.5, 1.33.4

External References

Related Security Bulletins