Unrolled Secure before 1.18.0 contains an SSLRedirect bypass vulnerability in Secure.isSSL() that trusts the client-supplied r.URL.Scheme to determine HTTPS transport. Attackers can send plaintext HTTP requests with an absolute-form https:// request-target to skip the HTTPS redirect and have application responses served unencrypted.
https://github.com/unrolled/secure/releases/tag/v1.18.0
https://github.com/unrolled/secure/pull/108
https://github.com/unrolled/secure/commit/ad3c09fc05e07be01108350dae836085f0dd5d6f
https://github.com/unrolled/secure/blob/v1.17.0/secure.go#L511-L524
Published: 2026-11-16
Updated: 2026-11-16
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 3.7
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Severity: Low
Base Score: 6.3
Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00329