CVE-2026-41246 — Vulnerability in...
Contour has Lua code injection via Cookie Path Rewrite Policy
Summary
Advisory Timeline
- First published April 24, 2026 (171 days ago).
- Last revised September 10, 2026 — 139 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/projectcontour/contour@v1.32.5
go get github.com/projectcontour/contour@v1.33.4
go get github.com/projectcontour/contour@v1.31.6
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: go (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/projectcontour/contour | go | All versions | 1.32.5 |
| github.com/projectcontour/contour | go | All versions | 1.33.4 |
| github.com/projectcontour/contour | go | All versions | 1.31.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
References
- https://github.com/projectcontour/contour/security/advisories/GHSA-x4mj-7f9g-29h4WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41246ADVISORY
- https://access.redhat.com/security/cve/CVE-2026-41246WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2461257WEB
- https://github.com/projectcontour/contourPACKAGE
- https://github.com/projectcontour/contour/releases/tag/v1.31.6WEB
- https://github.com/projectcontour/contour/releases/tag/v1.32.5WEB
- https://github.com/projectcontour/contour/releases/tag/v1.33.4WEB
- https://projectcontour.io/docs/1.33/config/cookie-rewritingWEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41246.jsonWEB
- https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/lua_filterWEB
Frequently Asked Questions
- What is CVE-2026-41246?
- Contour has Lua code injection via Cookie Path Rewrite Policy This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-41246?
- CVE-2026-41246 affects github.com/projectcontour/contour. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41246 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-107809HIGH
Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs
- CVE-2026-107813HIGH
Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies