Cyber Resilience

CVE-2026-31908

Apache Apisix 2.12.0 – 3.16.0

Published
14 April 2026
Modified
17 April 2026
Patch / advisory
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0052 42th percentile
Risk Priority 67 floored blend · peak EPSS

Summary

CVE-2026-31908 is a critical-severity Special Element Injection (CWE-75) vulnerability in Apache Apisix. Its CVSS base score is 9.1 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Content Injection (T1659); ranked at the 42th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-31908 is a header injection vulnerability in Apache APISIX, affecting versions from 2.12.0 through 3.15.0. The issue arises in the forward-auth plugin under certain configurations, allowing an attacker to inject malicious headers. It has a CVSS v3.1 base score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) and is associated with CWE-75.

Remote attackers require no privileges or user interaction to exploit this vulnerability over the network with low complexity. By leveraging the forward-auth plugin's configuration, they can inject malicious headers, potentially leading to high impacts on confidentiality and integrity, such as unauthorized data access or modification.

Apache advisories recommend upgrading to version 3.16.0, which resolves the issue. Further details are available in the Apache mailing list announcement at https://lists.apache.org/thread/sob643s5lztov7x579j8o0c444t36n6b and the OSS-Security mailing list at http://www.openwall.com/lists/oss-security/2026/04/14/3.

EU & UK References

Vulnerability Data

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…

more

the issue.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1659 Content Injection Initial Access
Adversaries may gain access and continuously communicate with victims by injecting malicious content into systems through online network traffic.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-32638Same product: Apache Apisix
CVE-2026-49871Same product: Apache Apisix
CVE-2025-46647Same product: Apache Apisix
CVE-2026-39998Same product: Apache Apisix
CVE-2026-47339Same product: Apache Apisix
CVE-2026-49872Same product: Apache Apisix
CVE-2026-49231Same product: Apache Apisix
CVE-2026-39999Same product: Apache Apisix
CVE-2025-50213Same vendor: Apache
CVE-2025-62232Same product: Apache Apisix

Affected Assets

apache
apisix
2.12.0 — 3.16.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Input validation directly stops special-element injection by rejecting or sanitizing untrusted data before it reaches a different control plane.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input sanitization to block special-element injection.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing catches injection vulnerabilities but does not itself implement the sanitization fix.

A.8.15 Logging partial match
finds

Logging can record injection attempts for detection but does not prevent the weakness.

prevents

Secure development life cycle mandates input validation and sanitization practices that directly prevent special-element injection.

prevents

Application security requirements explicitly call for controls against injection flaws including special-element handling.

prevents

Secure architecture principles reduce injection surfaces but do not prescribe the actual sanitization logic.

prevents

Secure coding standards require rigorous input sanitization, directly eliminating CWE-75.

References