CVE-2026-31908

Apache APISIX: forward auth plugin allows header injection

Published Apr 14, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
Header injection vulnerability in Apache APISIX.

The attacker can take advantage of certain configuration in forward-auth plugin to inject malicious headers.
This issue affects Apache APISIX: from 2.12.0 through 3.15.0.

Users are recommended to upgrade to version 3.16.0, which fixes the issue.

Analysis

AI-generated

Technical impact

The forward‑auth plugin of Apache APISIX contains a header injection flaw. By altering the plugin’s configuration, an attacker can insert arbitrary HTTP headers into requests forwarded to downstream services. This can allow alteration of request handling, bypass of authentication controls, or modification of responses, thereby potentially compromising the integrity and confidentiality of exchanges.

Affected Systems

Affected versions of Apache APISIX range from 2.12.0 through 3.15.0. The vulnerability is present in the forward‑auth plugin bundled with these releases, so any deployment utilizing that plugin for authentication forwarding is at risk.

Risk and Exploitability

This CVE has a CVSS score of 9.1 and an EPSS score of less than 1%. It is not listed in the KEV catalog, so no publicly known exploits have been documented. The likely attack vector is remote via HTTP traffic to the gateway, as the flaw is triggered by requests that reach the forward‑auth plugin. Given the high severity score, the risk is considered high until an update is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache APISIX to version 3.16.0 or later
  • Verify that the forward‑auth plugin is configured to reject untrusted or malformed header values
  • Monitor gateway logs for anomalous header injection patterns

Generated by OpenCVE AI on April 17, 2026 at 08:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache apisix
Vendors & Products Apache
Apache apisix
Type Values Removed Values Added
Description Header injection vulnerability in Apache APISIX. The attacker can take advantage of certain configuration in forward-auth plugin to inject malicious headers. This issue affects Apache APISIX: from 2.12.0 through 3.15.0. Users are recommended to upgrade to version 3.16.0, which fixes the issue.
Title Apache APISIX: forward auth plugin allows header injection
Weaknesses CWE-75
References
Weaknesses
  • CWE-75

    Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Apr 16, 2026, 12:06 PM
Reserved
Mar 10, 2026, 8:20 AM
Status
Analyzed
Published
Apr 14, 2026, 9:16 AM
Modified
Oct 26, 2026, 9:10 PM