Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-41246

30
FAUCET Score

Contour is a Kubernetes ingress controller using Envoy proxy. From v1.19.0 to before v1.33.4, v1.32.5, and v1.31.6, Contour's Cookie Rewriting feature is vulnerable to Lua code injection. An attacker with RBAC permissions to create or modify HTTPProxy resources can craft a malicious value in spec.routes[].cookieRewritePolicies[].pathRewrite.value or spec.routes[].services[].cookieRewritePolicies[].pathRewrite.value that results in arbitrary code execution in the Envoy proxy. The cookie rewriting feature is internally implemented using Envoy's HTTP Lua filter. User-controlled values are interpolated into Lua source code using Go text/template without sufficient sanitization. The injected code only executes when processing traffic on the attacker's own route, which they already control. However, since Envoy runs as shared infrastructure, the injected code can also read Envoy's xDS client credentials from the filesystem or cause denial of service for other tenants sharing the Envoy instance. This vulnerability is fixed in v1.33.4, v1.32.5, and v1.31.6.

First published: Apr 23, 2026Last modified: Apr 24, 2026

Impacted Technologies

VendorProductVersion(s)CPE
>= 1.19.0, < 1.31.6CPE matchmatch criteria
cpe:2.3:a:projectcontour:contour:*:*:*:*:*:kubernetes:*:*
>= 1.32.0, < 1.32.5CPE matchmatch criteria
cpe:2.3:a:projectcontour:contour:*:*:*:*:*:kubernetes:*:*
>= 1.33.0, < 1.33.4CPE matchmatch criteria
cpe:2.3:a:projectcontour:contour:*:*:*:*:*:kubernetes:*:*

CVSS Data

CVSS version used by this source: 3.1

8.1HIGH

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

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
5.2
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.48%
Probability of exploitation in next 30 days
EPSS Percentile
38.8%
Percentile rank of EPSS score among Peer Group
As of 2026-07-26
Model: v2026.06.15
This CVE's current EPSS score of 0.0048 is in the 28th percentile among its peer group of 17,823 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (4)

github_advisorypatch availablevia nvd_reference
View patch
gopatch availablevia ghsa
Product: github.com/projectcontour/contourFixed in: 1.31.6
gopatch availablevia ghsa
Product: github.com/projectcontour/contourFixed in: 1.32.5
gopatch availablevia ghsa
Product: github.com/projectcontour/contourFixed in: 1.33.4

Vendor Advisories (1)

goGHSA-x4mj-7f9g-29h4high

Contour has Lua code injection via Cookie Path Rewrite Policy

Apr 24, 2026

References

access.redhat.com / security/cve/CVE-2026-41246
bugzilla.redhat.com / show_bug.cgi
security.access.redhat.com / data/csaf/v2/vex/2026/cve-2026-41246.json
github.com / projectcontour/contour/releases/tag/v1.31.6
Release Notes
github.com / projectcontour/contour/releases/tag/v1.32.5
Release Notes
github.com / projectcontour/contour/releases/tag/v1.33.4
Release Notes
github.com / projectcontour/contour/security/advisories/GHSA-x4mj-7f9g-29h4
PatchVendor Advisory