Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-27850: A critical unauthenticated remote code execution vulnerability was found all recent versions of Apache Tapestr

74
This week
CRITICAL 9.8REMOTEWATCHLISTUPGRADE

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.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance93.6% (top 1%)
CISA exploited listNo
WeaknessCWE-200, CWE-502
Published2021-04-15
Last modified2026-06-17
Publisher (CNA): Apache Software Foundation · Vendor: apache

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache tapestry UPGRADE
Affected: >= 5.4.0 and < 5.6.2 · >= 5.7.0 and < 5.7.1
Fixed in: 5.6.2, 5.7.1
Safe to downgrade to: a release before 5.4.0
1. Check installed version
apt-cache policy tapestry || rpm -q tapestry || tapestry --version
2. UPGRADE to 5.6.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade tapestry
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade tapestry
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 5.4.0 (Debian / Ubuntu)
apt-cache madison tapestry sudo apt install tapestry=<VERSION_BEFORE_5.4.0> sudo apt-mark hold tapestry
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list tapestry sudo dnf downgrade tapestry-<VERSION_BEFORE_5.4.0> sudo dnf versionlock add tapestry
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Maven · org.apache.tapestry:tapestry-core · FIXED · 5.6.3 · vulnerable: >= 5.4.0, < 5.6.3 · source
Set org.apache.tapestry:tapestry-core to 5.6.3 or later in pom.xml or build.gradle, then rebuild and redeploy.
Fedora 46 · keepalived · FIXED · 2.4.3-1.fc46 · FEDORA-2026-0c83a077d7 · source
sudo dnf upgrade --advisory=FEDORA-2026-0c83a077d7
Fedora ELN · dracut · FIXED · 111-5.eln159 · FEDORA-2026-982407d9e3 · source
sudo dnf upgrade --advisory=FEDORA-2026-982407d9e3

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.