{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.17.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "24d1ec762e4bee402cc98b5ca57a08531f3c0b51"
            },
            {
              "fixed": "9ef2ecab67f652d38365049613610ef649bb4ad0"
            }
          ],
          "repo": "https://github.com/apache/apisix",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-352"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49871.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "3.0.0"
          },
          {
            "last_affected": "3.16.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "3.0.0"
          },
          {
            "fixed": "3.16.0"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "Cross-Site Request Forgery (CSRF) vulnerability in the cas-auth plugin under default configurations.\n\nThis defect allows a remote attacker that manages to send a victim to a webpage controlled by them can cause the victim's browser to become authenticated as a different identity.\n\nActions the victim takes upstream are then attributed to attackers identity.\n\n\nThis issue affects Apache APISIX: from 3.0.0 through 3.16.0.\n\nUsers are recommended to upgrade to version 3.17.0, which fixes the issue.",
  "id": "CVE-2026-49871",
  "modified": "2026-07-08T05:37:38.170667755Z",
  "published": "2026-06-19T13:18:36.767Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/06/19/14"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49871.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/1ozsnss0lof4gpwq763d66oxwxt3sycp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49871"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Apache APISIX: cas-auth login CSRF / session injection issue"
}