{"id":"CVE-2021-32633","aliases":["CVE-2021-32633","GHSA-5pr9-v234-jw36","GHSA-962m-m8jw-8wrr","PYSEC-2021-88"],"related":["CVE-2021-32674"],"kind":"vulnerability","state":"published","title":"Remote Code Execution via traversal in TAL expressions","summary":"Zope is an open-source web application server. In Zope versions prior to 4.6 and 5.2, users can access untrusted modules indirectly through Python modules that are available for direct use. By default, only users with the Manager role can add or edit Zope Page Templates through the web, but sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk from this vulnerability. The problem has been fixed in Zope 5.2 and 4.6. As a workaround, 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Zope is an open-source web application server. In Zope versions prior to 4.6 and 5.2, users can access untrusted modules indirectly through Python modules that are available for direct use. By default, only users with the Manager role can add or edit Zope Page Templates through the web, but sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk from this vulnerability. The problem has been fixed in Zope 5.2 and 4.6. As a workaround, 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.","source":"cvelist"},{"lang":"en","text":"### Impact\nMost 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.\n\nBy 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.\n\n### Patches\nThe problem has been fixed in Zope 5.2 and 4.6.\n\n### Workarounds\nA 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.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in the [Zope issue tracker](https://github.com/zopefoundation/Zope/issues)\n* Email us at [security@plone.org](mailto:security@plone.org)","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-5pr9-v234-jw36. This link is maintained to preserve external references.\n\n## Original Description\nZope is an open-source web application server. In Zope versions prior to 4.6 and 5.2, users can access untrusted modules indirectly through Python modules that are available for direct use. By default, only users with the Manager role can add or edit Zope Page Templates through the web, but sites that allow untrusted users to add/edit Zope Page Templates through the web are at risk from this vulnerability. The problem has been fixed in Zope 5.2 and 4.6. As a workaround, 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Zope es un servidor de aplicaciones web de código abierto.&#xa0;En las versiones de Zope anteriores a 4.6 y 5.2, los usuarios pueden acceder a módulos que no son confiables indirectamente por medio de módulos de Python que están disponibles para uso directo.&#xa0;Por defecto, solo los usuarios con la función de administrador pueden agregar o editar Zope Page Templates por medio de la web, pero los sitios que permiten a usuarios no confiables agregar y editar plantillas de página de Zope por medio de la web están en riesgo de esta vulnerabilidad.&#xa0;El problema se ha solucionado en Zope versiones 5.2 y 4.6.&#xa0;Como solución alternativa, un administrador del sitio puede restringir la adición y edición de plantillas de página Zope por medio de la web utilizando los mecanismos estándar de permisos user/role de Zope. Usuarios no confiables no debe ser asignado el rol de administrador de Zope y Zope Page Templates de adición y edición por medio de la web debe estar restringida solo a usuarios confiables","source":"nvd"}],"published":"2021-05-21T13:55:10.000Z","modified":"2026-07-09T16:56:33.295Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 4.6","status":"affected"},{"version":">= 5.0, < 5.2","status":"affected"}],"vendor":"zopefoundation","product":"Zope","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.6"}],"ecosystem":"PyPI","package":"zope","purl":"pkg:pypi/zope","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0","status":"affected","fixed":"5.2"}],"ecosystem":"PyPI","package":"zope","purl":"pkg:pypi/zope","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.6"}],"ecosystem":"PyPI","package":"zope","purl":"pkg:pypi/zope","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0","status":"affected","fixed":"5.2"}],"ecosystem":"PyPI","package":"zope","purl":"pkg:pypi/zope","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"4.3.20"},{"status":"affected","introduced":"5.0","lastAffected":"5.2.4"}],"vendor":"plone","product":"plone","cpe":"cpe:2.3:a:plone:plone:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"4.6"},{"status":"affected","introduced":"5.0","fixed":"5.2"}],"vendor":"zope","product":"zope","cpe":"cpe:2.3:a:zope:zope:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"1f8456bf1f908ea46012537d52bd7e752a532c91"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.6"},{"type":"ecosystem","introduced":"5.0","status":"affected","fixed":"5.2"}],"ecosystem":"PyPI","package":"zope","purl":"pkg:pypi/zope","repo":"https://github.com/zopefoundation/Zope","source":"pysec"}],"references":[{"url":"https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/zopefoundation/Zope/commit/1f8456bf1f908ea46012537d52bd7e752a532c91","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2021/05/21/1","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2021/05/22/1","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://cyllective.com/blog/post/plone-authenticated-rce-cve-2021-32633/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32633","tags":["advisory"],"sources":["ghsa"]},{"url":"https://cyllective.com/blog/post/plone-authenticated-rce-cve-2021-32633","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/zope/PYSEC-2021-88.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/zopefoundation/Zope","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-962m-m8jw-8wrr","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32633","url":"https://www.cve.org/CVERecord?id=CVE-2021-32633","licence":"CVE Terms of Use","modified":"2024-08-03T23:25:30.947Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5pr9-v234-jw36","url":"https://github.com/advisories/GHSA-5pr9-v234-jw36","licence":"CC-BY-4.0","modified":"2026-07-09T16:56:33.295Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-962m-m8jw-8wrr","url":"https://github.com/advisories/GHSA-962m-m8jw-8wrr","licence":"CC-BY-4.0","modified":"2026-07-09T16:56:33.295Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32633","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32633","licence":"Public domain","modified":"2026-06-17T03:53:18.987Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-88","url":"https://osv.dev/vulnerability/PYSEC-2021-88","licence":"CC-BY-4.0","modified":"2026-07-09T16:56:33.295Z"}],"updatedAt":"2026-11-25T22:58:01.484Z","epss":{"score":0.01858,"percentile":0.79782,"date":"2026-11-30T12:00:22.000Z"}}