{"id":"GHSA-g3xr-5w5j-w4q4","revision":"933a46a35e8148898acae66bb56d59c0","records":[{"revision":"933a46a35e8148898acae66bb56d59c0","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-g3xr-5w5j-w4q4","aliases":["BIT-contour-2026-50149","CVE-2026-50149","GO-2026-5889"],"title":"Contour has Improper JWT Verification for Non-SNI Requests on Virtual Hosts with Fallback Certificate Enabled","description":"### Impact\n\nWhen an `HTTPProxy` is configured with incompatible combination of both `.spec.virtualhost.tls.enableFallbackCertificate: true` and `.spec.virtualhost.jwtProviders`, Contour does not reject the configuration. Consequently, requests from clients that do not send TLS SNI or send an unrecognized SNI (one that does not match any `HTTPProxy` FQDN) bypass configured JWT verification and are proxied to upstream services without a valid token.\n\nTo list all `HTTPProxies` with this invalid configuration, run\n\n```bash\nkubectl get httpproxies -A -o json | jq -r '\n  .items[]\n  | select(.spec.virtualhost | .tls.enableFallbackCertificate and .jwtProviders)\n  | \"Invalid HTTPProxy found: \\(.metadata.namespace)/\\(.metadata.name)\"\n'\n```\n\n### Patches\n\nThis issue is fixed in Contour v1.33.5. Contour now rejects and marks invalid any `HTTPProxy` resources that combine `.spec.virtualhost.tls.enableFallbackCertificate: true` with `.spec.virtualhost.jwtProviders`. Affected resources will receive a status  condition with the error reason `TLSIncompatibleFeatures`.\n\n### Workarounds\n\nDo not enable `.spec.virtualhost.tls.enableFallbackCertificate` on `HTTPProxy` resources that also define `.spec.virtualhost.jwtProviders`. Remove one of the two settings to avoid the invalid configuration.\n\n### References\n\n- Contour fallback certificate documentation: https://projectcontour.io/docs/main/config/tls-termination/#fallback-certificate\n- Contour JWT verification documentation: https://projectcontour.io/docs/main/config/jwt-verification/","state":0,"publishedAt":"2026-07-02T17:15:20+00:00","modifiedAt":"2026-09-10T03:50:51.9154595+00:00","affected":[{"ecosystem":"Go","name":"github.com/projectcontour/contour","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.23.0"},{"kind":"fixed","version":"1.33.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/projectcontour/contour/security/advisories/GHSA-g3xr-5w5j-w4q4","https://github.com/projectcontour/contour"],"sourceUrl":"https://github.com/advisories/GHSA-g3xr-5w5j-w4q4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-g3xr-5w5j-w4q4","identifiers":["GHSA-g3xr-5w5j-w4q4","BIT-contour-2026-50149","CVE-2026-50149","GO-2026-5889"]},"retained":false,"historicalAffected":[]}],"coverage":[]}