{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "2.12.0"
              },
              {
                "fixed": "3.17.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "6193a307d1842b25456aa3e42a33674a724fb427"
            },
            {
              "fixed": "9ef2ecab67f652d38365049613610ef649bb4ad0"
            }
          ],
          "repo": "https://github.com/apache/apisix",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39998.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "2.12.0"
          },
          {
            "last_affected": "3.16.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "2.12.0"
          },
          {
            "fixed": "3.16.0"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "Improper Input Validation vulnerability in Apache APISIX.\n\nThe attacker can take advantage of certain configuration in forward-auth plugin to spoof identity headers.\nThis issue affects Apache APISIX: from 2.12.0 through 3.16.0.\n\nUsers are recommended to upgrade to version 3.17.0, which fixes the issue.",
  "id": "CVE-2026-39998",
  "modified": "2026-07-08T05:36:44.225020763Z",
  "published": "2026-06-19T13:04:39.608Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/06/19/4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39998.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/vgkvy396010d7g6m0jrn4d3hjf2svlvv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39998"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Apache APISIX: Identity Injection via forward-auth Plugin Missing Header Cleanup"
}