Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 78%

CVE-2026-41246: CWE-94: Improper Control of Generation of Code ('Code Injection') in projectcontour contour

0
High
VulnerabilityCVE-2026-41246cvecve-2026-41246cwe-94
Published: Thu Apr 23 2026 (04/23/2026, 18:44:39 UTC)
Source: CVE Database V5
Vendor/Project: projectcontour
Product: contour

Description

CVE-2026-41246 is a high-severity vulnerability in projectcontour's contour Kubernetes ingress controller affecting versions from 1. 19. 0 up to but not including 1. 31. 6, 1. 32. 5, and 1. 33. 4. The issue arises from improper sanitization in the Cookie Rewriting feature, allowing an attacker with RBAC permissions to inject Lua code via HTTPProxy resource configurations.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/01/2026, 20:44:16 UTC

Technical Analysis

Contour, a Kubernetes ingress controller using Envoy proxy, contains a code injection vulnerability (CWE-94) in its Cookie Rewriting feature in versions >=1.19.0 and <1.31.6, >=1.32.0 and <1.32.5, and >=1.33.0 and <1.33.4. The vulnerability occurs because user-controlled values in HTTPProxy resources are interpolated into Lua code without sufficient sanitization, enabling an attacker with RBAC permissions to inject arbitrary Lua code executed by Envoy's HTTP Lua filter. This can lead to arbitrary code execution within the Envoy proxy process, including reading xDS client credentials or causing denial of service for other tenants. The vulnerability is fixed in versions 1.31.6, 1.32.5, and 1.33.4.

Potential Impact

An attacker with RBAC permissions to create or modify HTTPProxy resources can exploit this vulnerability to execute arbitrary Lua code within the Envoy proxy process. This can compromise the confidentiality of Envoy's xDS client credentials and disrupt service availability for other tenants sharing the Envoy instance. The vulnerability does not allow code execution outside the Envoy process or on routes not controlled by the attacker.

Mitigation Recommendations

This vulnerability is fixed in contour versions 1.31.6, 1.32.5, and 1.33.4. Users should upgrade to one of these fixed versions to remediate the issue. Patch status is not explicitly stated beyond these fixed versions, so verify with the vendor advisory for the latest remediation guidance. No alternative mitigations are provided in the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-18T03:47:03.135Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69ea9e7887115cfb686fc39e

Added to database: 4/23/2026, 10:34:32 PM

Last enriched: 5/1/2026, 8:44:16 PM

Last updated: 6/7/2026, 8:04:39 AM

Views: 67

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses