# CVE-2026-81509: nforwardauth: Unvalidated r parameter allows post-authentication open redirect

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-10-26T17:19:15.467Z
- Modified: 2026-10-26T20:18:37.683Z
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nosduco nforwardauth: < 1.5.1

## References

- <https://github.com/nosduco/nforwardauth/security/advisories/GHSA-q64r-v7j5-6hfg>
- <https://github.com/nosduco/nforwardauth/pull/71>
- <https://github.com/nosduco/nforwardauth/commit/664f2602f9e1459558d1c4c55019f6d48bc64c43>
- <https://github.com/nosduco/nforwardauth/releases/tag/v1.5.1>

## Sources

- CVE List: [CVE-2026-81509](https://www.cve.org/CVERecord?id=CVE-2026-81509), CVE Terms of Use, modified 2026-10-26
- NVD: [CVE-2026-81509](https://nvd.nist.gov/vuln/detail/CVE-2026-81509), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-81509 · Whole record: https://cve.day/CVE-2026-81509.json · Rebuilt by cve.day 2026-11-25T22:59:47.181Z
