---
id: "CVE-2026-129885"
page: "https://infrastack.ai/live/CVE-2026-129885"
kind: "vulnerability"
aliases: ["CVE-2026-129885"]
title: "Unrolled Secure: SSLRedirect bypass lets plaintext requests skip HTTPS redirect"
severity: "medium"
cvss: 6.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["go", "http-middleware", "package", "unrolled-secure"]
not_affected_if: ["sslredirect-disabled", "tls-only-listener"]
published_at: "2026-11-16T15:17:27+00:00"
first_seen_at: "2026-11-16T15:37:55+00:00"
updated_at: "2026-11-16T15:40:46+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129885", "first_seen_at": "2026-11-16T15:37:55+00:00"}]
exploit_sources: []
---

# Unrolled Secure: SSLRedirect bypass lets plaintext requests skip HTTPS redirect

Link for people: https://infrastack.ai/live/CVE-2026-129885 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Look for `github.com/unrolled/secure` in `go.mod` and note the version.
- 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`.

## Timeline

- 2026-11-16T15:37:55+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129885

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/unrolled-secure-before-1.18.0-sslredirect-bypass-via-absolute-form-request-target
- [fix] Patch: github.com https://github.com/unrolled/secure/commit/ad3c09fc05e07be01108350dae836085f0dd5d6f
- [fix] Release notes: github.com https://github.com/unrolled/secure/releases/tag/v1.18.0

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
