CVE-2026-81509

nforwardauth: Unvalidated r parameter allows post-authentication open redirect

Published Oct 26, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
nforwardauth is a forward auth service that allows the use of a single authentication middleware for multiple sites. Versions prior to 1.5.1 accept an unvalidated `r` query parameter on the `/login` endpoint and use them as the post-authentication redirect destination. An unauthenticated attacker can create a legitimate `nforwardauth` login URL that redirects a victim to an attacker-controlled website after the victim successfully authenticates. This issue may facilitate phishing and other social-engineering attacks by abusing the trust associated with the legitimate authentication domain. This vulnerability does not provide an unauthenticated ForwardAuth bypass. Version 1.5.1 contains a patch.

Analysis

AI-generated

Technical impact

The vulnerability lies in nforwardauth’s /login endpoint, which accepts an unvalidated r query parameter and uses it as the post‑authentication redirect. An attacker can craft a legitimate login URL that, after a user authenticates, redirects to an attacker‑controlled site. The issue is an open redirect (CWE-601) that may enable phishing or social-engineering attacks by exploiting trust in the authentication domain, but it does not provide an unauthenticated bypass of the service.

Affected Systems

This issue affects the nosduco nforwardauth service, specifically all versions earlier than v1.5.1.

Risk and Exploitability

The CVSS base score of 6.1 indicates moderate severity, and EPSS data is unavailable while KEV does not list it. An attacker can exploit the flaw remotely simply by distributing a malicious login URL, requiring no special privileges and only leveraging legitimate authentication flows. The risk is therefore primarily in the potential for social‑engineering attacks rather than brute force or privilege escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest release (v1.5.1 or newer) of nforwardauth to patch the vulnerability.
  • If upgrading is not possible, ensure that the r query parameter is validated or removed from the /login endpoint in custom deployments.
  • Educate users about phishing risks and monitor logs for suspicious redirect activity to detect exploitation attempts.

Generated by OpenCVE AI on October 26, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nosduco
Nosduco nforwardauth
Vendors & Products Nosduco
Nosduco nforwardauth
Type Values Removed Values Added
Title Unvalidated r parameter allows post-authentication open redirect nforwardauth: Unvalidated r parameter allows post-authentication open redirect
Type Values Removed Values Added
Description nforwardauth is a forward auth service that allows the use of a single authentication middleware for multiple sites. Versions prior to 1.5.1 accept an unvalidated `r` query parameter on the `/login` endpoint and use them as the post-authentication redirect destination. An unauthenticated attacker can create a legitimate `nforwardauth` login URL that redirects a victim to an attacker-controlled website after the victim successfully authenticates. This issue may facilitate phishing and other social-engineering attacks by abusing the trust associated with the legitimate authentication domain. This vulnerability does not provide an unauthenticated ForwardAuth bypass. Version 1.5.1 contains a patch.
Title Unvalidated r parameter allows post-authentication open redirect
Weaknesses CWE-601
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 26, 2026, 7:34 PM
Reserved
Aug 26, 2026, 8:58 PM
Status
Deferred
Published
Oct 26, 2026, 6:18 PM
Modified
Oct 26, 2026, 8:18 PM