{"cve":"CVE-2021-32674","nvd":{"published":"2021-06-08T18:15:08.307","modified":"2026-06-17T03:53:23.817","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-22"],"references":["https://github.com/zopefoundation/Zope/commit/1d897910139e2c0b11984fc9b78c1da1365bec21","https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36","https://github.com/zopefoundation/Zope/security/advisories/GHSA-rpcg-f9q6-2mq6","https://pypi.org/project/Zope/","https://github.com/zopefoundation/Zope/commit/1d897910139e2c0b11984fc9b78c1da1365bec21"],"products":["zope:zope"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-32674","score":0.01587,"percentile":0.75604,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rpcg-f9q6-2mq6","url":"https://osv.dev/vulnerability/GHSA-rpcg-f9q6-2mq6","summary":"Remote Code Execution via traversal in TAL expressions","modified":"2026-07-09T16:56:40.219514949Z","packages":[{"ecosystem":"PyPI","name":"zope","purl":"pkg:pypi/zope","ranges":[">=5.0 <5.2.1"],"fixed":["5.2.1"]},{"ecosystem":"PyPI","name":"zope","purl":"pkg:pypi/zope","ranges":["<4.6.1"],"fixed":["4.6.1"]}]},{"id":"PYSEC-2021-104","url":"https://osv.dev/vulnerability/PYSEC-2021-104","summary":"","modified":"2026-07-09T16:56:40.219514949Z","packages":[{"ecosystem":"PyPI","name":"zope","purl":"pkg:pypi/zope","ranges":[">=4.0 <4.6.1",">=5.0 <5.2.1"],"fixed":["4.6.1","5.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}