CVE-2026-48794: Case Sensitive Domain Match

Using case-sensitive string matching (e.g., `strings.HasSuffix`) to validate domains or hostnames can lead to access control bypasses. Attackers might exploit upper/lower case variations (e.g., `a.B.example.com`) to avoid specific rules. Ensure domain validation is case-insensitive, for example by converting to lowercase before comparison, or using case-inse

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-48794-case-sensitive-domain-match --engine opengrep

Description

Using case-sensitive string matching (e.g., `strings.HasSuffix`) to validate domains or hostnames can lead to access control bypasses. Attackers might exploit upper/lower case variations (e.g., `a.B.example.com`) to avoid specific rules. Ensure domain validation is case-insensitive, for example by converting to lowercase before comparison, or using case-inse