Home / Apache Software Foundation / Apache Any23 / CVE-2021-40146
CVE-2021-40146: is it exploited, and which versions of Apache Software Foundation Apache Any23 are affected and fixed?
CVE-2021-40146 is a Remote Code Execution (RCE) vulnerability in Apache Software Foundation Apache Any23. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: org.apache.any23:apache-any23 before 2.5 (GitHub advisory GHSA-99px-7724-484v). Fixed in 2.5 (GitHub advisory GHSA-99px-7724-484v). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:55 UTC.
What is CVE-2021-40146?
A Remote Code Execution (RCE) vulnerability exists in Apache Any23 YAMLExtractor.java
A Remote Code Execution (RCE) vulnerability was discovered in the Any23 YAMLExtractor.java file and is known to affect Any23 versions < 2.5. RCE vulnerabilities allow a malicious actor to execute any code of their choice on a remote machine over LAN, WAN, or internet. RCE belongs to the broader class of arbitrary code execution (ACE) vulnerabilities.
From the CVE record by apache, last updated August 4, 2024, 02:27 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Any23 | from Apache Any23 before 2.5 | 2.5 |
As the CVE record by apache states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.any23:apache-any23 | < 2.5 | 2.5 | GHSA-99px-7724-484v |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 24, 2021. Summary: Remote Code Execution in Any23.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | any23 | before 2.5 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:06 UTC.
How severe is CVE-2021-40146?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-40146 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 5.53% probability of exploitation activity in the next 30 days, percentile 93.0 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/r7c521ed85c7ae1bad4fdf95b459f2aaa8a67eae338636b7b7ec35d86%40%3Cannounce.apache.org%3E x_refsource_MISC
- [oss-security] 20210910 CVE-2021-40146: A Remote Code Execution (RCE) vulnerability exists in Apache Any23 YAMLExtractor.java mailing-list, x_refsource_MLIST
Who found and reported it?
- The Apache Any23 Project Management Committee would like to thank Zhuxuan Wu for reporting the security vulnerability. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 26, 2021
- Published
- September 11, 2021, 11:05 UTC
- CVE record updated
- August 4, 2024, 02:27 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:06 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:55 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Any23?
- Jul 5, 2023CVE-2023-34150 Apache Software Foundation Apache Any23: improper input validation
- Mar 4, 2022CVE-2022-25312 Apache Software Foundation Apache Any23: XML external entity (XXE)
- Sep 11, 2021CVE-2021-38555 Apache Software Foundation Apache Any23: XML external entity (XXE)
Questions about CVE-2021-40146
Is CVE-2021-40146 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 5.53% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Any23 are affected by CVE-2021-40146?
org.apache.any23:apache-any23 before 2.5, per the GitHub advisory GHSA-99px-7724-484v. The tables above give every range the sources list.
Which version fixes CVE-2021-40146?
2.5, per the GitHub advisory GHSA-99px-7724-484v. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-40146?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-40146?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.