CVE-2026-72801: Go Auth Via Url Userinfo

Extracting authentication credentials from `URL.User` on an HTTP request reads credentials from URL userinfo instead of standard HTTP Basic Auth headers (`req.BasicAuth()`). This can lead to authentication bypass or credential leakage.

Provally CuratedPublic repositoryMediumHigh confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-72801-go-auth-via-url-userinfo --engine opengrep

Description

Extracting authentication credentials from `URL.User` on an HTTP request reads credentials from URL userinfo instead of standard HTTP Basic Auth headers (`req.BasicAuth()`). This can lead to authentication bypass or credential leakage.