CVE-2022-26650
Apache ShenYu (incubating) Regular expression denial of service
Also known as GHSA-cw56-j3fm-7w57
Mitigation
- Upgrade org.apache.shenyu:shenyu to 2.4.3 or later.
- Upgrade org.apache.shenyu:shenyu-bootstrap to 2.4.3 or later.
- Vendor workaround: Upgrade to Apache ShenYu (incubating) 2.4.3 or apply patch https://github.com/apache/incubator-shenyu/pull/2975.
Who should check
- Projects that depend on Maven package org.apache.shenyu:shenyu (>= 2.4.0, < 2.4.3)
- Projects that depend on Maven package org.apache.shenyu:shenyu-bootstrap (>= 2.4.0, < 2.4.3)
- Anyone running Apache Software Foundation Apache ShenYu (incubating) >= unspecified, < 2.4.3
Vulnerability facts
- Affected
- org.apache.shenyu:shenyu >= 2.4.0, < 2.4.3; org.apache.shenyu:shenyu-bootstrap >= 2.4.0, < 2.4.3
- Fixed in
- 2.4.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 2.02% chance of exploitation in 30 days (percentile 82, 2026-11-26)
- CWE
- CWE-1333
- Modified
Description
In Apache ShenYui, ShenYu-Bootstrap, RegexPredicateJudge.java uses Pattern.matches(conditionData.getParamValue(), realData) to make judgments, where both parameters are controllable by the user. This can cause an attacker pass in malicious regular expressions and characters causing a resource exhaustion. This issue affects Apache ShenYu (incubating) 2.4.0, 2.4.1 and 2.4.2 and is fixed in 2.4.3.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.shenyu:shenyu | >= 2.4.0, < 2.4.3 | 2.4.3 | osv |
| Maven org.apache.shenyu:shenyu-bootstrap | >= 2.4.0, < 2.4.3 | 2.4.3 | osv |
| Apache Software Foundation Apache ShenYu (incubating) | >= unspecified, < 2.4.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-26650. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-26650.md Affected: org.apache.shenyu:shenyu >= 2.4.0, < 2.4.3; org.apache.shenyu:shenyu-bootstrap >= 2.4.0, < 2.4.3 Fixed in: 2.4.3 Steps: 1. Search this machine and project for org.apache.shenyu:shenyu (Maven), org.apache.shenyu:shenyu-bootstrap (Maven), Apache Software Foundation Apache ShenYu (incubating): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-26650 being exploited?
There is no confirmed exploitation: CVE-2022-26650 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.02% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-26650?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2022-26650?
org.apache.shenyu:shenyu >= 2.4.0, < 2.4.3; org.apache.shenyu:shenyu-bootstrap >= 2.4.0, < 2.4.3.
Is there a fix for CVE-2022-26650?
Yes. Fixed in 2.4.3. Upgrade org.apache.shenyu:shenyu to 2.4.3 or later. Upgrade org.apache.shenyu:shenyu-bootstrap to 2.4.3 or later. Vendor workaround: Upgrade to Apache ShenYu (incubating) 2.4.3 or apply patch https://github.com/apache/incubator-shenyu/pull/2975.
How do I check if I'm affected by CVE-2022-26650?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.