{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.5.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "664f2602f9e1459558d1c4c55019f6d48bc64c43"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.5.1",
                "range": [
                  {
                    "fixed": "817cefd0b063588d17251482abfa92edd9c4820d"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "817cefd0b063588d17251482abfa92edd9c4820d"
            },
            {
              "fixed": "664f2602f9e1459558d1c4c55019f6d48bc64c43"
            }
          ],
          "repo": "https://github.com/nosduco/nforwardauth",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-q64r-v7j5-6hfg"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-81509",
  "modified": "2026-10-28T02:30:55.553157386Z",
  "published": "2026-10-26T17:19:15.467Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "nforwardauth: Unvalidated r parameter allows post-authentication open redirect"
}