CVE-2021-27850: A critical unauthenticated remote code execution vulnerability was found all recent versions of Apache Tapestr
CVE-2021-27850 is a critical-severity flaw (CVSS 9.8) affecting tapestry. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.cla
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: kahla-sec/CVE-2021-27850_POC (5 stars)
- GitHub PoC: dorkerdevil/CVE-2021-27850_POC (3 stars)
- GitHub PoC: Ovi3/CVE_2021_27850_POC (2 stars)
- Metasploit: Apache Tapestry HMAC secret key leak
- Nuclei scan template: Apache Tapestry - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-27850?
tapestry: upgrade to 5.6.2, 5.7.1. Exact commands for each OS are on this page.
Is CVE-2021-27850 being exploited?
CVE-2021-27850 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-27850 affect?
CVE-2021-27850 affects tapestry. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2021-27850?
Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
- CVE-2026-61899 HIGH 7.5 UPGRADE Vulnerability in tapestry-core in Apache Tapestry 5.5.0+ on all platforms allows attackers to download clsspat
- CVE-2022-31781 HIGH 7.5 UPGRADE Apache Tapestry up to version 5.8.1 is vulnerable to Regular Expression Denial of Service (ReDoS) in the way i
- CVE-2021-30638 HIGH 7.5 UPGRADE Information Exposure vulnerability in context asset handling of Apache Tapestry allows an attacker to download
- CVE-2020-17531 CRITICAL 9.8 UPGRADE A Java Serialization vulnerability was found in Apache Tapestry 4
- CVE-2020-13953 MEDIUM 5.3 UPGRADE In Apache Tapestry from 5.4.0 to 5.5.0, crafting specific URLs, an attacker can download files inside the WEB-