{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "2.12.0"
              },
              {
                "fixed": "3.16.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "6193a307d1842b25456aa3e42a33674a724fb427"
            },
            {
              "fixed": "f9c4ee37170bdfe075c846973c1be65a582a0c4f"
            }
          ],
          "repo": "https://github.com/apache/apisix",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-75"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31908.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "2.12.0"
          },
          {
            "last_affected": "3.15.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "2.12.0"
          },
          {
            "fixed": "3.15.0"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "Header injection vulnerability in Apache APISIX.\n\nThe attacker can take advantage of certain configuration in forward-auth plugin to inject malicious headers.\nThis issue affects Apache APISIX: from 2.12.0 through 3.15.0.\n\nUsers are recommended to upgrade to version 3.16.0, which fixes the issue.",
  "id": "CVE-2026-31908",
  "modified": "2026-07-15T01:49:20.448218304Z",
  "published": "2026-04-14T08:06:18.026Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/04/14/3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31908.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/sob643s5lztov7x579j8o0c444t36n6b"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31908"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache APISIX: forward auth plugin allows header injection"
}