Home / zopefoundation / Zope / CVE-2021-32674
CVE-2021-32674: is it exploited, and which versions of zopefoundation Zope are affected and fixed?
CVE-2021-32674 is a path traversal (reading or writing files outside the intended folder) vulnerability in zopefoundation Zope. 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: Zope from 5.0 before 5.2.1 and Zope before 4.6.1 (GitHub advisory GHSA-rpcg-f9q6-2mq6). Fixed in 5.2.1 and 4.6.1 (GitHub advisory GHSA-rpcg-f9q6-2mq6). Severity: High (8.8, CVSS 3.1, from GitHub_M).
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:57 UTC.
What is CVE-2021-32674?
Remote Code Execution via traversal in TAL expressions
Zope is an open-source web application server. This advisory extends the previous advisory at https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36 with additional cases of TAL expression traversal vulnerabilities. Most Python modules are not available for using in TAL expressions that you can add through-the-web, for example in Zope Page Templates. This restriction avoids file system access, for example via the 'os' module. But some of the untrusted modules are available indirectly through Python modules that are available for direct use. By default, you need to have the Manager role to add or edit Zope Page Templates through the web. Only sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk. The problem has been fixed in Zope 5.2.1 and 4.6.1. The workaround is the same as for https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36: A site administrator can restrict adding/editing Zope Page Templates through the web using the standard Zope user/role permission mechanisms. Untrusted users should not be assigned the Zope Manager role and adding/editing Zope Page Templates through the web should be restricted to trusted users only.
From the CVE record by GitHub_M, last updated August 3, 2024, 23:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zopefoundation | Zope | >= 5.0.0, < 5.2.1 < 4.6.1 |
As the CVE record by GitHub_M 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 |
|---|---|---|---|---|
| PyPI | Zope | >= 5.0, < 5.2.1 | 5.2.1 | GHSA-rpcg-f9q6-2mq6 |
| PyPI | Zope | < 4.6.1 | 4.6.1 | GHSA-rpcg-f9q6-2mq6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 9, 2026. Summary: Remote Code Execution via traversal in TAL expressions.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| zope | zope | before 4.6.1 | application |
| zope | zope | from 5.0.0 before 5.2.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:53 UTC.
How severe is CVE-2021-32674?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | 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-32674 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.59% probability of exploitation activity in the next 30 days, percentile 76.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/zopefoundation/Zope/security/advisories/GHSA-rpcg-f9q6-2mq6 x_refsource_CONFIRM
- https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36 x_refsource_MISC
- https://github.com/zopefoundation/Zope/commit/1d897910139e2c0b11984fc9b78c1da1365bec21 x_refsource_MISC
- https://pypi.org/project/Zope/ x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 12, 2021
- Published
- June 8, 2021, 17:45 UTC
- CVE record updated
- August 3, 2024, 23:25 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:53 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:57 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Zope?
- Oct 4, 2023CVE-2023-44389 zopefoundation Zope: cross-site scripting (XSS)
- Sep 21, 2023CVE-2023-42458 zopefoundation Zope: cross-site scripting (XSS)
- Aug 2, 2021CVE-2021-32811 zopefoundation Zope: mass assignment
- May 21, 2021CVE-2021-32633 zopefoundation Zope: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2021-32674
Is CVE-2021-32674 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 1.59% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of zopefoundation Zope are affected by CVE-2021-32674?
Zope from 5.0 before 5.2.1 and Zope before 4.6.1, per the GitHub advisory GHSA-rpcg-f9q6-2mq6. The tables above give every range the sources list.
Which version fixes CVE-2021-32674?
5.2.1 and 4.6.1, per the GitHub advisory GHSA-rpcg-f9q6-2mq6. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-32674?
High (8.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-32674?
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.