Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2022-25757
apache apisix

Score9.8 Critical
CVSS 3.1
Exploit probability (EPSS)2.1%
within the next 30 days
CategoryMisconfiguration & validation
Published28 March 2022
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Improper input validation.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

In Apache APISIX before 2.13.0, when decoding JSON with duplicate keys, lua-cjson will choose the last occurred value as the result. By passing a JSON with a duplicate key, the attacker can bypass the body_schema validation in the request-validation plugin. For example, `{"string_payload":"bad","string_payload":"good"}` can be used to hide the "bad" input. Systems satisfy three conditions below are affected by this attack: 1. use body_schema validation in the request-validation plugin 2. upstream application uses a special JSON library that chooses the first occurred value, like jsoniter or gojay 3. upstream application does not validate the input anymore. The fix in APISIX is to re-encode the validated JSON input back into the request body at the side of APISIX. Improper Input Validation vulnerability in __COMPONENT__ of Apache APISIX allows an attacker to __IMPACT__. This issue affects Apache APISIX Apache APISIX version 2.12.1 and prior versions.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-20 – Improper input validation

Affected products

VendorProductVersions
apacheapisix<2.13.0

Sources

Latest in the same category

  • CVE-2026-140103 Medium 5.4
    http-proxy-middleware is node.js http-proxy middleware. From 2.0.9 until 2.0.11, 3.0.8, and 4.2.1, fixRequestBody treats req.readableLength === 0 as proof that a body parser consumed the request body, although zero…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-139996 High 7.4
    React Router is a router for React. From 7.0.0 until 7.18.5 and 8.5.1, React Router Framework mode contains a prototype pollution vulnerability in data deserialization. Processing attacker-controlled serialized data…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-139876 High 8.2
    Axios 1.7.6 before 1.21.0 contains a prototype pollution gadget in the fetch adapter signal cleanup in lib/helpers/composeSignals.js that allows attackers to crash Node.js processes. Attackers who pollute…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-81058 Medium 5.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Restriction of XML External Entity Reference vulnerability. A low privileged local attacker could potentially exploit…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-127054 High 7.2
    XML external entity injection (XXE) in the parser for requests to a REST interface. During testing with an authenticated session, the server resolved an external entity and made an HTTP request to an external resource.…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-138390 Low 2
    A flaw has been found in agent0ai agent-zero up to 2.16. Affected by this vulnerability is the function InfectionChecker.gate of the file plugins/_infection_check/helpers/checker.py. Executing a manipulation can lead…
    Misconfiguration & validation · 30 November 2026