plone.app.portlets Vulnerable to Remote Code Execution via TALES Injection
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-95.
Summary
plone.app.portlets.portlets provides a Plone-specific user interface for plone.portlets, as well as a standard set of portlets that ship with Plone. Starting in version 5.0.0 and prior to versions 5.0.8, 6.0.4, and 7.0.2, the Classic portlet (plone.app.portlets.portlets.classic) used its user-supplied template/macro fields to build a TALES path expression that was then evaluated by the TAL path() helper. Because the value was interpreted as a full TALES expression, a user able to add or edit a Classic portlet could supply a crafted value that escapes simple path traversal and is evaluated as arbitrary code. This is exploitable by any authenticated user who can configure a Classic portlet - which, with the default role map, includes regular users on their personal dashboard. The result is code execution in the context of the Plone process, i.e. a privilege escalation across the trust boundary between an authenticated web user and the server-side process. The problem has been patched in `plone.app.portlets` 5.0.8, 6.0.4, and 7.0.2. Some workarounds are available. Restrict who can manage portlets: remove the `plone.app.portlets.ManageOwnPortlets` permission from untrusted roles, and limit Manage portlets to trusted administrators (usually this is already restricted to the Manager and Site Administrator roles). Where the Classic portlet is not needed, unregister it so it cannot be added. This would need to be done by editing a `portlets.xml` in your own code. One may also effectively disable showing the classic portlet by customising its template. In the Zope Management Interface go to the `portal_view_customizations` tool, locate the `classic.pt` template and click it. Click the Customize button. Remove all text and replace it with `<div>The classic portlet was disabled.</div>`. (This is not a recommended way of customizing a template, but in this case it is quite effective.)
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| plone | plone.app.portlets | 7.0.0 to before 7.0.2; 6.0.0 to before 6.0.4; 5.0.0 to before 5.0.8 | 7.0.2, 6.0.4, 5.0.8 | Patch available | CNA |
| — | plone.app.portlets (PyPI) | 7.0.0 to before 7.0.2 | 7.0.2 | Patch available | GHSA-rr49-f9g6-c9r5 |
| — | plone.app.portlets (PyPI) | 6.0.0 to before 6.0.4 | 6.0.4 | Patch available | GHSA-rr49-f9g6-c9r5 |
| — | plone.app.portlets (PyPI) | 5.0.0 to before 5.0.8 | 5.0.8 | Patch available | GHSA-rr49-f9g6-c9r5 |
- plone.app.portlets Vendorplone Affected 7.0.0 to before 7.0.2; 6.0.0 to before 6.0.4; 5.0.0 to before 5.0.8 Fixed in 7.0.2, 6.0.4, 5.0.8 Patch available CNA
- plone.app.portlets (PyPI) Vendor— Affected 7.0.0 to before 7.0.2 Fixed in 7.0.2 Patch available GHSA-rr49-f9g6-c9r5
- plone.app.portlets (PyPI) Vendor— Affected 6.0.0 to before 6.0.4 Fixed in 6.0.4 Patch available GHSA-rr49-f9g6-c9r5
- plone.app.portlets (PyPI) Vendor— Affected 5.0.0 to before 5.0.8 Fixed in 5.0.8 Patch available GHSA-rr49-f9g6-c9r5
Remediation
- Fix · CNA plone.app.portlets (plone) Fixed in 7.0.2, 6.0.4, 5.0.8
- Fix · GHSA-rr49-f9g6-c9r5 plone.app.portlets (PyPI) Fixed in 7.0.2 Advisory →
- Fix · GHSA-rr49-f9g6-c9r5 plone.app.portlets (PyPI) Fixed in 6.0.4 Advisory →
- Fix · GHSA-rr49-f9g6-c9r5 plone.app.portlets (PyPI) Fixed in 5.0.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-57149
- 2026-10-03 Alias added: GHSA-rr49-f9g6-c9r5
- 2026-10-24 EPSS moved to the 50th–90th percentile
References
Other 8
- https://github.com/plone/plone.app.portlets/security/advisories/GHSA-rr49-f9g6-c9r5
- https://github.com/plone/plone.app.portlets/commit/1d9cacacfad9ed08b890dadc6e75741e295dc151
- https://github.com/plone/plone.app.portlets/commit/8a0641dc4054a2b13834bba00c67cd9a2fd189e1
- https://github.com/plone/plone.app.portlets/commit/fb979f01b57dd2fc06c90ee6577eb5eb285da8f1
- https://github.com/plone/plone.app.portlets
- https://github.com/plone/plone.app.portlets/releases/tag/5.0.8
- https://github.com/plone/plone.app.portlets/releases/tag/6.0.4
- https://github.com/plone/plone.app.portlets/releases/tag/7.0.2
More plone vulnerabilities
- TI-2024-15205 An issue in Plone Docker Official Image 5.2.13 (5221) open-source software that could… CVSS 3.1CRITICAL 9.8
- TI-2011-03162 Unspecified vulnerability in Zope 2.12.x and 2.13.x, as used in Plone 4.0.x through… CVSS 2.0HIGH 9.3
- TI-2021-13226 An issue in Plone CMS v. CVSS 3.1HIGH 8.8
- TI-2024-15757 The HTTP PUT and DELETE methods are enabled in the Plone official Docker version 5.2.13… CVSS 3.1HIGH 7.5
- TI-2024-15206 An issue in Plone Docker Official Image 5.2.13 (5221) open-source software allows for… CVSS 3.1MEDIUM 6.1
- TI-2008-01340 Plone CMS 3.0.5, and probably other 3.x versions, places a base64 encoded form of the… CVSS 2.0HIGH 10.0
Sources
- CVE-2026-57149 · CVE Program
- CVE-2026-57149 · NVD
- FIRST EPSS
- GHSA-rr49-f9g6-c9r5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences