CVE-2026-33495: Blind Trust Forwarded Proto

The application blindly trusts the `X-Forwarded-Proto` header to dictate the URL scheme without verifying whether the originating proxy is trusted. This allows an attacker to spoof the protocol (e.g., impersonating an HTTPS request over HTTP) and potentially bypass scheme-based access control rules. Ensure that `X-Forwarded-*` headers are only used when they

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-33495-blind-trust-forwarded-proto --engine opengrep

Description

The application blindly trusts the `X-Forwarded-Proto` header to dictate the URL scheme without verifying whether the originating proxy is trusted. This allows an attacker to spoof the protocol (e.g., impersonating an HTTPS request over HTTP) and potentially bypass scheme-based access control rules. Ensure that `X-Forwarded-*` headers are only used when they