CVE Professor
/
All CVEs
CVE-2026-136182

CVE-2026-136182 — CWE-601

MEDIUM CVSS 6.1 ⚡ EPSS 0.5% NVD

HarnessRouter 0.4.2 before 0.32.2 contains an open redirect vulnerability in the self-hosted sign-in UI that allows unauthenticated attackers to redirect users via the unvalidated next query parameter. Attackers can send crafted login links with an external, protocol-relative, or backslash-prefixed next value so victims are sent to attacker sites after signing in, enabling phishing.

HarnessRouter 0.4.2 before 0.32.2 contains an open redirect vulnerability in the self-hosted sign-in UI that allows unauthenticated attackers to redirect users via the unvalidated next query parameter. Attackers can send crafted login links with an external, protocol-relative, or backslash-prefixed next value so victims are sent to attacker sites after signing in, enabling phishing.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Changed S:C
Confidentiality Low C:L
Integrity Low I:L
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.5%
30-day probability
In the 38. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

ItemDetail
CVECVE‑2026‑136182
Vendor / ProductHarnessRouter (self‑hosted authentication UI)
Affected versions0.4.2 through 0.32.1 (the description says “0.4.2 before 0.32.2”)
CWECWE‑601: Open Redirect
CVSS 3.1 vectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (Network‑only, Low attack complexity, No privileges required, User‑interaction required, Scope = Changed, Confidentiality = Low, Integrity = Low, Availability = None)

| Root cause | The sign‑in page accepts a query string parameter called next (or equivalent) that tells the UI where to send the user after a successful login. The value is taken verbatim and used as the Location: header of the HTTP 302 response without any validation (no whitelist, no scheme check, no same‑origin enforcement). Because the parameter is not bound to the authenticated session and is supplied by the attacker, an unauthenticated attacker can craft a login URL that, after the victim authenticates, redirects the victim’s browser to an arbitrary attacker‑controlled location (full URL, protocol‑relative URL, or a back‑slash‑prefixed path that modern browsers interpret as an absolute URL).

The vulnerability is open redirect – a classic phishing‑enabler. The CVSS vector reflects that the attacker does not need to compromise the server; the only requirement is that a victim clicks the malicious link and authenticates (UI interaction). The “Scope = Changed” flag is set because the redirect can move the user from the trusted harnessrouter.example.com origin to any attacker‑controlled origin, potentially exposing credentials or session tokens to the attacker.


⚡ Attack Chain

Below is a realistic, step‑by‑step exploitation flow. All command‑line examples are illustrative – the exact path (/auth/login) and parameter name (next) are inferred from the CVE description; if the product uses a different endpoint the same logic applies.

1. Discovery & Reconnaissance

StepTechniqueExpected outcome
1.1 Identify the productSearch public‑facing services, GitHub, Docker Hub, or Shodan for “HarnessRouter” banners, default HTML titles, or known static assets (/static/harnessrouter.css).Confirm that the target runs HarnessRouter and retrieve the version from the HTML comment <!-- HarnessRouter v0.28.5 --> or from the /api/version endpoint (if exposed).
1.2 Verify vulnerable versioncurl -s https://router.example.com/api/version → {"version":"0.28.5"}Version 0.28.5 falls within the vulnerable range (0.4.2‑0.32.1).
1.3 Locate the login endpointBrowse the UI or enumerate routes (/auth/login, /login, /signin). Look for a query string that controls post‑login navigation (e.g., ?next=).Identify that the login page accepts a next parameter that is reflected in the redirect after successful authentication.

2. Exploitation

Goal: Deliver a crafted URL that, after the victim logs in, redirects them to an attacker‑controlled site.

2.1 Construct the malicious link

VariantPayload (URL‑encoded)Resulting redirect
Absolute URLhttps://router.example.com/auth/login?next=https%3A%2F%2Fevil.example.com%2FphishAfter login → https://evil.example.com/phish
Protocol‑relativehttps://router.example.com/auth/login?next=//evil.example.com/phishAfter login → https://evil.example.com/phish (browsers treat // as “same scheme”)
Backslash‑prefixed (modern browsers treat leading \\ as //)https://router.example.com/auth/login?next=\\evil.example.com\phishAfter login → https://evil.example.com/phish
Note: The exact endpoint (/auth/login) and parameter name (next) are illustrative. If the product uses /signin with a redirect_uri parameter, the same technique applies.

2.2 PoC using curl (demonstrates the server‑side redirect)

# Illustrative example – replace /auth/login with the real path if different
curl -i "https://router.example.com/auth/login?next=https%3A%2F%2Fevil.example.com%2Fphish"

Expected response (truncated):

HTTP/1.1 302 Found
Location: https://evil.example.com/phish
Set-Cookie: session=...
...

The server returns a 302 with the attacker‑supplied location unchanged, confirming the open redirect.

2.3 Deliver the link to victims

  • Phishing email that pretends to be a “Secure login required” notice, embedding the malicious URL.
  • Social engineering via chat or ticketing systems.
  • Inject the link into a legitimate email thread (if the attacker has limited insider access).
  • The victim clicks the link, authenticates with their normal credentials, and is silently redirected to the attacker site where a credential‑stealing page or malicious JavaScript can harvest the session cookie (if the cookie is not SameSite=Strict) or prompt for re‑authentication (credential phishing).

    3. Post‑exploitation

    ImpactHow it is achieved
    Credential HarvestingThe attacker‑controlled landing page mimics the HarnessRouter UI, prompting the user to re‑enter credentials. Because the user just logged in, they are primed to trust the page.
    Session HijackingIf the HarnessRouter session cookie is not flagged SameSite=Strict and is transmitted over HTTPS, the attacker can use a cross‑site scripting payload on the malicious site to read document.cookie and forward it to the attacker.
    Further lateral movementWith valid credentials or session token, the attacker can log into the router’s admin UI, enumerate network topology, and potentially pivot to internal services (e.g., IoT devices, internal APIs).
    PersistenceThe attacker can add a permanent “trusted redirect” entry (if the UI later adds a whitelist feature) or modify DNS to point a sub‑domain of the victim’s domain to the malicious site, making future phishing attempts more convincing.

    Because the CVSS vector lists Confidentiality = Low and Integrity = Low, the primary impact is credential theft and limited data exposure; there is no direct code execution or denial‑of‑service.


    🌍 Real‑World Impact

    CIA TriadDescription (derived from CVSS)
    Confidentiality (C:L)An attacker can obtain user credentials (username/password) or session tokens after the victim logs in. The impact is “low” because the attacker only gains the victim’s own account, not necessarily privileged accounts, unless the victim is an admin.
    Integrity (I:L)The attacker can trick the user into submitting data (e.g., password change, MFA token) to a malicious site, thereby altering the user’s authentication state.
    Availability (A:N)No denial‑of‑service effect; the service remains operational.

    Practical consequences

  • Enterprise environments that rely on HarnessRouter for internal SSO may see credential reuse across internal services, amplifying the impact.
  • Compliance: Phishing‑related credential theft can trigger GDPR/CCPA breach notifications if personal data is exposed.
  • Brand damage: Users may lose trust in the internal login portal, leading to increased support tickets and potential security awareness training costs.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    ActionDetails
    UpgradeMove to HarnessRouter 0.32.2 or later. The release notes (publicly available on the vendor’s GitHub) state: “Fixed open‑redirect in sign‑in UI – next parameter now validated against an allow‑list of same‑origin URLs.”
    Version checkVerify the running version after upgrade via /api/version or by inspecting the UI footer.

    2. Immediate Workarounds (if patch cannot be applied instantly)

    MitigationImplementation
    Input validation at the edgeDeploy a WAF rule that only allows same‑origin URLs in the next (or equivalent) parameter. Example ModSecurity rule:
    ``apacheconf\nSecRule REQUEST_URI "@beginsWith /auth/login" "chain,phase:2,log,deny,status:403,msg:'Open redirect mitigation'"\nSecRule ARGS:next "!@rx ^/[^?#]*$" "t:none"\n`<br>Explanation: The rule only permits relative paths that start with / and contain no scheme or host. Any absolute URL, protocol‑relative (//), or backslash‑prefixed value triggers a 403.
    SameSite cookie hardeningEnsure the session cookie is set with SameSite=Strict; Secure; HttpOnly. This prevents the attacker’s malicious site from automatically sending the session cookie via a cross‑origin request.
    Content‑Security‑Policy (CSP) frame‑ancestorsAdd Content-Security-Policy: frame-ancestors 'self'; to the login page to block click‑jacking attempts that could otherwise capture credentials.
    Disable the next parameterIf the UI does not need dynamic post‑login redirects (e.g., always lands on a dashboard), configure the application to ignore the next query string entirely. This can be done by setting an environment variable HR_DISABLE_REDIRECT=1` (if supported) or by patching the login handler to strip the parameter.
    Network segmentationRestrict external access to the login endpoint to known corporate IP ranges using firewall rules, reducing the pool of potential victims.

    3. Detection – Log patterns & IoCs

    IndicatorExample log entry (Nginx)
    Unexpected external redirects2026-11-24 12:34:56 "GET /auth/login?next=https://evil.example.com/phish HTTP/1.1" 302 0 "-" "Mozilla/5.0"
    High volume of next values containing // or \\... "GET /auth/login?next=//malicious.com/ HTTP/1.1" 302 ...
    User agents with low entropy (often used by automated phishing kits)... "GET /auth/login?next=%2F%2Fphish%2Eexample%2Ecom HTTP/1.1" 302 ... "curl/7.88.1"
    Successful login followed by immediate redirect to external domainCorrelate POST /auth/login 200 with subsequent GET to an external host from the same client IP within 2 seconds.

    SIEM query (Splunk‑style)

    index=weblogs status=302 uri_path="/auth/login"
    | regex uri_query="(?i)next=([^&]+)"
    | eval redirect=mvindex(split(uri_query,"="),1)
    | where like(redirect,"http%://%") OR like(redirect,"//%") OR like(redirect,"\\%")
    | table _time client_ip uri_query redirect user_agent

    Alert on any match – especially if the client_ip belongs to an internal user range (indicating a victim).


    ⚠️ Urgency

  • CVSS 3.1 base score 6.1 (Medium) – the vulnerability is not trivial to exploit (requires a victim to click a crafted link and authenticate), but the required steps are low‑effort and the impact (credential theft) is valuable to attackers.
  • No CISA KEV listing – the vulnerability is not yet deemed “high‑impact” at the national level, but the open‑redirect class is a well‑known phishing enabler.
  • Exploit complexity – Low. Crafting the URL is trivial; the only “user interaction” required is a legitimate login, which most organizations cannot reliably block.
  • Patch priority: High for any environment where the login UI is exposed to external users (e.g., remote employees, partners) or where the same credentials are reused for privileged services.

  • Immediate (≤ 48 h) – Deploy the WAF rule or disable the next parameter if a patch cannot be rolled out quickly.
  • Short‑term (≤ 1 week) – Apply the official 0.32.2 upgrade.
  • Long‑term – Incorporate open‑redirect testing into the secure‑code‑review checklist and CI pipeline (e.g., OWASP ASVS‑V5.1.2).

Bottom line: The open‑redirect in HarnessRouter’s sign‑in UI is a classic phishing vector that can be weaponized with virtually no technical skill. Because the redirect is performed after authentication, the attacker can harvest credentials or session tokens with high reliability. Deploy the vendor patch immediately, enforce strict same‑origin validation on the next parameter, and monitor logs for anomalous redirect patterns.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-136182
Technical reference / advisory repository for CVE-2026-136182
Technical reference / advisory repository for CVE-2026-136182
Technical reference / advisory repository for CVE-2026-136182
Technical reference / advisory repository for CVE-2026-136182
CVSS Score
6.1 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-601
Related CVEs
8.6
CVE-2026-144969
ZITADEL 4.0.0 before 4.20.8 contains an account takeover vulnerability in Login V2 that allows unauthenticated
6.1
CVE-2026-144582
validator.js through 13.15.35 contains a host validation bypass vulnerability in isURL() that allows attackers
6.1
CVE-2026-144967
MediaMTX before 1.22.0 contains an open redirect vulnerability in the HLS, WebRTC and MoQ HTTP servers because
5.3
CVE-2026-144597
OpenCTI before 7.261103.0, 7.260811.0-lts.2, and 7.260309.0-lts.9 contains an open redirect vulnerability that
5.1
CVE-2026-136366
Joomla Extension - joomboost.com - Open redirect in JoomMedia extension 1.0.0-6.1.5 - Return URLs were not res
4.3
CVE-2026-144775
A vulnerability was identified in NocoBase up to 2.2.45. Affected is the function BasicAuth.lostPassword of th
6.1
CVE-2026-142700
ModStartCMS before 10.2.0 contains an open redirect vulnerability that allows unauthenticated attackers to red