Description
A flaw was found in Contour. When an HTTPProxy is configured with both a fallback certificate and JWT (JSON Web Token) providers, Contour does not properly enforce JWT verification. This allows remote attackers to bypass security checks by sending requests without a valid token, specifically when clients do not provide a TLS Server Name Indication (SNI) or provide an unrecognized SNI. The consequence is unauthorized access to upstream services and potential information disclosure.
Published: n/a
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A weakness in Contour prevents correct enforcement of JSON Web Token verification when an HTTPProxy is configured with both a fallback certificate and a JWT provider. As a result, remote attackers can send requests without a valid token when they do not supply a TLS Server Name Indication (SNI) or provide an unrecognized SNI, leading to unauthorized access to upstream services and possible disclosure of sensitive information. The flaw reflects the failure of Contour to correctly combine certificate handling with authentication validation (CWE‑295).

Affected Systems

The vulnerability applies to any Contour installation that uses an HTTPProxy resource configured with both a fallback certificate and a JWT provider. No specific Contour version numbers are listed in the advisory, so any deployment matching this configuration is potentially affected regardless of software version.

Risk and Exploitability

The CVSS base score of 6.5 indicates a moderate risk level. EPSS is not available, so the likelihood of exploitation cannot be quantified, and the issue is not listed in CISA’s KEV catalog. Attackers can exploit the flaw remotely by establishing TLS connections that omit a valid SNI or use an unrecognized SNI, allowing them to send unauthenticated HTTP requests that Contour accepts as valid due to the bypassed JWT verification. No privileged access or user interaction beyond the crafted request is required, and the scope of impact remains the services exposed through the affected HTTPProxy configuration.

Generated by OpenCVE AI on August 3, 2026 at 08:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Contour to the latest released version that includes the fix for the JWT verification bypass.
  • In all HTTPProxy resources, configure either a fallback certificate or a JWT provider, but not both together; ensure that each resource enforces JWT verification independently.
  • Require that client TLS connections supply a valid Server Name Indication and use certificates trusted by Contour, and consider configuring TLS verification policies to reject connections lacking proper SNI.

Generated by OpenCVE AI on August 3, 2026 at 08:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-g3xr-5w5j-w4q4 Contour has Improper JWT Verification for Non-SNI Requests on Virtual Hosts with Fallback Certificate Enabled
History

Wed, 15 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Projectcontour
Projectcontour contour
Vendors & Products Projectcontour
Projectcontour contour

Wed, 15 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in Contour. When an HTTPProxy is configured with both a fallback certificate and JWT (JSON Web Token) providers, Contour does not properly enforce JWT verification. This allows remote attackers to bypass security checks by sending requests without a valid token, specifically when clients do not provide a TLS Server Name Indication (SNI) or provide an unrecognized SNI. The consequence is unauthorized access to upstream services and potential information disclosure.
Title contour: Contour: JWT verification bypass allows unauthorized access via HTTPProxy misconfiguration
Weaknesses CWE-295
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N'}

threat_severity

Moderate


Subscriptions

Projectcontour Contour
cve-icon MITRE

No data.

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-02T17:15:20Z

Links: CVE-2026-50149 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T08:45:03Z

Weaknesses
  • CWE-295

    Improper Certificate Validation