Home / Apache Software Foundation / Apache Tapestry / CVE-2021-27850
CVE-2021-27850: is it exploited, and which versions of Apache Software Foundation Apache Tapestry are affected and fixed?
CVE-2021-27850 is an information disclosure vulnerability in Apache Software Foundation Apache Tapestry. 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, 18:39 UTC). Affected: org.apache.tapestry:tapestry-core from 5.4.0 before 5.6.3 and org.apache.tapestry:tapestry-core from 5.7.0 before 5.7.1 (GitHub advisory GHSA-mj8x-cpr8-x39h). Fixed in 5.6.3 and 5.7.1 (GitHub advisory GHSA-mj8x-cpr8-x39h). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 28, 2026, 20:15 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2021-27850?
A critical unauthenticated remote code execution vulnerability was found all recent versions of Apache Tapestry. The affected versions include 5.4.5, 5.5.0, 5.6.2 and 5.7.0. The vulnerability I have found is a bypass of the fix for CVE-2019-0195. Recap: Before the fix of CVE-2019-0195 it was possible to download arbitrary class files from the classpath by providing a crafted asset file URL. An attacker was able to download the file `AppModule.class` by requesting the URL `http://localhost:8080/assets/something/services/AppModule.class` which contains a HMAC secret key. The fix for that bug was a blacklist filter that checks if the URL ends with `.class`, `.properties` or `.xml`. Bypass: Unfortunately, the blacklist solution can simply be bypassed by appending a `/` at the end of the URL: `http://localhost:8080/assets/something/services/AppModule.class/` The slash is stripped after the blacklist check and the file `AppModule.class` is loaded into the response. This class usually contains the HMAC secret key which is used to sign serialized Java objects. With the knowledge of that key an attacker can sign a Java gadget chain that leads to RCE (e.g. CommonsBeanUtils1 from ysoserial). Solution for this vulnerability: * For Apache Tapestry 5.4.0 to 5.6.1, upgrade to 5.6.2 or later. * For Apache Tapestry 5.7.0, upgrade to 5.7.1 or later.
From the CVE record by apache, last updated August 3, 2024, 21:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Tapestry | Apache Tapestry 5.5.0 Apache Tapestry 5.7.0 from Apache Tapestry 5.4.5 through every Apache Tapestry 5.4.0 version from Apache Tapestry 5.6.2 through every Apache Tapestry 5.6.0 version |
As the CVE record by apache states it, last updated August 3, 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.tapestry:tapestry-core | >= 5.4.0, < 5.6.3 | 5.6.3 | GHSA-mj8x-cpr8-x39h |
| Maven | org.apache.tapestry:tapestry-core | >= 5.7.0, < 5.7.1 | 5.7.1 | GHSA-mj8x-cpr8-x39h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 19, 2021. Summary: Remote code execution in Apache Tapestry.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tapestry | from 5.4.0 before 5.6.2 | application |
| apache | tapestry | from 5.7.0 before 5.7.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:45 UTC.
How severe is CVE-2021-27850?
| 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-27850 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 93.6% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-502 Deserialization of Untrusted Data
- CWE-922 Insecure Storage of Sensitive Information
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/r237ff7f286bda31682c254550c1ebf92b0ec61329b32fbeb2d1c8751%40%3Cusers.tapestry.apache.org%3E x_refsource_MISC
- [oss-security] 20210414 CVE-2021-27850: Apache Tapestry: Bypass of the fix for CVE-2019-0195 mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20210528-0002/ x_refsource_CONFIRM
Who found and reported it?
- Apache Tapestry would like to thank Johannes Moritz for finding and notifying this vulnerability (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 1, 2021
- Published
- April 15, 2021, 07:40 UTC
- CVE record updated
- August 3, 2024, 21:33 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 03:45 UTC
- Last checked
- CVE list November 28, 2026, 20:15 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Tapestry?
- Aug 10, 2026CVE-2026-61899 Apache Software Foundation Apache Tapestry: information disclosure
- Dec 2, 2022CVE-2022-46366 Apache Software Foundation Apache Tapestry: deserialization of untrusted data
- Jul 13, 2022CVE-2022-31781 Apache Software Foundation Apache Tapestry: regular expression denial of service (ReDoS)
- Apr 27, 2021CVE-2021-30638 Apache Software Foundation Apache Tapestry: information disclosure
- Dec 8, 2020CVE-2020-17531 Apache Software Foundation Apache Tapestry: deserialization of untrusted data
Questions about CVE-2021-27850
Is CVE-2021-27850 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 93.6% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Tapestry are affected by CVE-2021-27850?
org.apache.tapestry:tapestry-core from 5.4.0 before 5.6.3 and org.apache.tapestry:tapestry-core from 5.7.0 before 5.7.1, per the GitHub advisory GHSA-mj8x-cpr8-x39h. The tables above give every range the sources list.
Which version fixes CVE-2021-27850?
5.6.3 and 5.7.1, per the GitHub advisory GHSA-mj8x-cpr8-x39h. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-27850?
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-27850?
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.