{"id":"CVE-2026-81509","summary":"nforwardauth: Unvalidated r parameter allows post-authentication open redirect","details":"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.","aliases":["GHSA-q64r-v7j5-6hfg"],"modified":"2026-10-28T03:01:30.359736337Z","published":"2026-10-26T17:19:15.467Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81509.json"},"references":[{"type":"WEB","url":"https://github.com/nosduco/nforwardauth/releases/tag/v1.5.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81509.json"},{"type":"ADVISORY","url":"https://github.com/nosduco/nforwardauth/security/advisories/GHSA-q64r-v7j5-6hfg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81509"},{"type":"FIX","url":"https://github.com/nosduco/nforwardauth/commit/664f2602f9e1459558d1c4c55019f6d48bc64c43"},{"type":"FIX","url":"https://github.com/nosduco/nforwardauth/pull/71"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nosduco/nforwardauth","events":[{"introduced":"0"},{"fixed":"817cefd0b063588d17251482abfa92edd9c4820d"},{"fixed":"664f2602f9e1459558d1c4c55019f6d48bc64c43"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.5.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"664f2602f9e1459558d1c4c55019f6d48bc64c43"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"817cefd0b063588d17251482abfa92edd9c4820d"}],"source":"REFERENCES_TAG","original_tag":"v1.5.1"}]}}],"versions":["v1.5.0","v1.4.1","v1.4.0","v1.3.4","v1.3.1","v1.3.0","v1.2.2","v1.2.1","v1.2.0","v1.1.0","v1.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81509.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}