{"id":"CVE-2026-129885","kind":"vulnerability","aliases":["CVE-2026-129885"],"related":[],"title":"Unrolled Secure: SSLRedirect bypass lets plaintext requests skip HTTPS redirect","description":"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.","summary":"Unrolled Secure, a Go middleware, trusts a client-supplied URL scheme when deciding whether a request already used HTTPS. An attacker can send plaintext HTTP requests with an absolute https:// request target to skip the redirect and get responses unencrypted.","severity":"medium","cvss":6.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["go","http-middleware","package","unrolled-secure"],"not_affected_if":["sslredirect-disabled","tls-only-listener"],"how_to_check":"- Look for `github.com/unrolled/secure` in `go.mod` and note the version.\n- Check whether the app uses `secure.New` with `SSLRedirect` enabled behind plain HTTP listeners.","fix":"- `github.com/unrolled/secure` before `1.18.0`: move to `1.18.0`.","status":"open","published_at":"2026-11-16T15:17:27+00:00","first_seen_at":"2026-11-16T15:37:55+00:00","triaged_at":"2026-11-16T15:40:46+00:00","updated_at":"2026-11-16T15:40:46+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-16T15:40:46Z","model":"claude-haiku-5-5","output":{"fix":"- `github.com/unrolled/secure` before `1.18.0`: move to `1.18.0`.","reach":"network","title":"Unrolled Secure: SSLRedirect bypass lets plaintext requests skip HTTPS redirect","impact":"medium","summary":"Unrolled Secure, a Go middleware, trusts a client-supplied URL scheme when deciding whether a request already used HTTPS. An attacker can send plaintext HTTP requests with an absolute https:// request target to skip the redirect and get responses unencrypted.","audience":"developers","category":"package","nicknames":[],"who_cares":["go","unrolled-secure","http-middleware"],"confidence":0.7,"fix_status":"available","needs_auth":"no","worst_case":"sensitive responses sent unencrypted over plaintext HTTP","analyst_note":"Config preconditions for SSLRedirect not fully stated in sources.\n","how_to_check":"- Look for `github.com/unrolled/secure` in `go.mod` and note the version.\n- Check whether the app uses `secure.New` with `SSLRedirect` enabled behind plain HTTP listeners.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["sslredirect-disabled","tls-only-listener"],"who_is_affected":"Go services that import unrolled/secure with SSLRedirect enabled and accept plaintext HTTP traffic that reaches the application. Applications served only over TLS termination that strips the scheme, or those not using SSLRedirect, are less exposed; the sources do not say more.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000754,"input_tokens":4641,"output_tokens":579,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-129885':13A,16A '-2026':12A,15A '1.18.0':68C 'absolut':54B,96C 'absolute-form':95C 'alreadi':42B 'applic':108C 'attack':46B,87C 'bypass':4A,72C 'client':33B,80C 'client-suppli':32B,79C 'contain':69C 'cve':11A,14A 'decid':38B 'determin':84C 'form':97C 'get':62B 'go':17B,28B 'http':19B,50B,91C 'http-middlewar':18B 'https':9A,44B,85C,104C 'let':5A 'middlewar':20B,29B 'packag':21B 'plaintext':6A,49B,90C 'r.url.scheme':82C 'redirect':10A,60B,105C 'request':7A,41B,51B,55B,92C,99C 'request-target':98C 'respons':63B,109C 'scheme':36B 'secur':2A,24B,26B,66C 'secure.isssl':75C 'send':48B,89C 'serv':110C 'skip':8A,58B,102C 'sslredirect':3A,71C 'suppli':34B,81C 'target':56B,100C 'transport':86C 'trust':30B,77C 'unencrypt':64B,111C 'unrol':1A,23B,25B,65C 'unrolled-secur':22B 'url':35B 'use':43B 'vulner':73C 'whether':39B","nicknames":[],"mitigations":[],"who_affected":"Go services that import unrolled/secure with SSLRedirect enabled and accept plaintext HTTP traffic that reaches the application. Applications served only over TLS termination that strips the scheme, or those not using SSLRedirect, are less exposed; the sources do not say more.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["go","httpmiddleware","medium","package","unrolledsecure"],"campaign_type":null,"search_a":"'-129885':13A,16A '-2026':12A,15A 'bypass':4A 'cve':11A,14A 'https':9A 'let':5A 'plaintext':6A 'redirect':10A 'request':7A 'secur':2A 'skip':8A 'sslredirect':3A 'unrol':1A","search_b":"'absolut':54B 'alreadi':42B 'attack':46B 'client':33B 'client-suppli':32B 'decid':38B 'get':62B 'go':17B,28B 'http':19B,50B 'http-middlewar':18B 'https':44B 'middlewar':20B,29B 'packag':21B 'plaintext':49B 'redirect':60B 'request':41B,51B,55B 'respons':63B 'scheme':36B 'secur':24B,26B 'send':48B 'skip':58B 'suppli':34B 'target':56B 'trust':30B 'unencrypt':64B 'unrol':23B,25B 'unrolled-secur':22B 'url':35B 'use':43B 'whether':39B","search_c":"'1.18.0':68C 'absolut':96C 'absolute-form':95C 'applic':108C 'attack':87C 'bypass':72C 'client':80C 'client-suppli':79C 'contain':69C 'determin':84C 'form':97C 'http':91C 'https':85C,104C 'plaintext':90C 'r.url.scheme':82C 'redirect':105C 'request':92C,99C 'request-target':98C 'respons':109C 'secur':66C 'secure.isssl':75C 'send':89C 'serv':110C 'skip':102C 'sslredirect':71C 'suppli':81C 'target':100C 'transport':86C 'trust':77C 'unencrypt':111C 'unrol':65C 'vulner':73C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:17:27+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129885","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129885","severity":null,"published_at":"2026-11-16T15:17:27+00:00","modified_at":"2026-11-16T15:17:27+00:00","first_seen_at":"2026-11-16T15:37:55+00:00","fetched_at":"2026-11-16T15:37:55+00:00","note":null}],"documents":[{"id":170610,"url":"https://github.com/unrolled/secure/commit/ad3c09fc05e07be01108350dae836085f0dd5d6f","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170611,"url":"https://github.com/unrolled/secure/releases/tag/v1.18.0","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":170612,"url":"https://www.vulncheck.com/advisories/unrolled-secure-before-1.18.0-sslredirect-bypass-via-absolute-form-request-target","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}