# CVE-2021-40146: A Remote Code Execution (RCE) vulnerability exists in Apache Any23 YAMLExtractor.java

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.53%, higher than 92% of CVEs (2026-12-01)
- Published: 2021-09-11T11:05:12.000Z
- Modified: 2026-06-17T04:06:35.477Z
- Also known as: GHSA-99px-7724-484v
- Assigned by: apache

## Description

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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Any23: from Apache Any23 before 2.5
- org.apache.any23:apache-any23 (Maven): before 2.5
- apache any23: before 2.5

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://lists.apache.org/thread.html/r7c521ed85c7ae1bad4fdf95b459f2aaa8a67eae338636b7b7ec35d86%40%3Cannounce.apache.org%3E> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/09/11/2> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40146> (advisory)
- <https://github.com/apache/any23> (package)

## Sources

- CVE List: [CVE-2021-40146](https://www.cve.org/CVERecord?id=CVE-2021-40146), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-99px-7724-484v](https://github.com/advisories/GHSA-99px-7724-484v), CC-BY-4.0, modified 2024-12-02
- NVD: [CVE-2021-40146](https://nvd.nist.gov/vuln/detail/CVE-2021-40146), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40146 · Whole record: https://cve.day/CVE-2021-40146.json · Rebuilt by cve.day 2026-11-25T22:58:03.893Z
