Live threats

All CVEs / plone

CVE-2026-57149plone.app.portlets

Remote code execution in plone.app.portlets Classic portlet

Critical 9.9

Priority
59
CVSS 3.1
9.9
EPSS
—
Auth required
Yes
Published
Sep 22, 2026
Updated
Sep 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-95
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

plone.app.portlets versions 5.0.0 through 7.0.1 contain a code injection vulnerability in the Classic portlet. An authenticated user able to add or edit a Classic portlet can supply malformed values in template/macro fields that are evaluated as arbitrary TALES expressions, allowing code execution in the Plone process context. This affects regular users with default personal dashboard access.

Show the original NVD text

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.)

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 5.0.8, 6.0.4, 7.0.2

Update plone.app.portlets to version 5.0.8, 6.0.4, or 7.0.2 depending on your branch. Alternatively, restrict the ManageOwnPortlets permission or disable the Classic portlet.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for plone.app.portlets.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI plone-app-portlets ≥ 7.0.0 < 7.0.2 7.0.2 pip install "plone-app-portlets>=7.0.2"
PyPI plone-app-portlets ≥ 6.0.0 < 6.0.4 6.0.4 pip install "plone-app-portlets>=6.0.4"
PyPI plone-app-portlets ≥ 5.0.0 < 5.0.8 5.0.8 pip install "plone-app-portlets>=5.0.8"
PyPI plone-app-portlets ≥ 5.0.0 < 5.0.8 5.0.8 pip install "plone-app-portlets>=5.0.8"
PyPI plone-app-portlets ≥ 6.0.0 < 6.0.4 6.0.4 pip install "plone-app-portlets>=6.0.4"
PyPI plone-app-portlets ≥ 7.0.0 < 7.0.2 7.0.2 pip install "plone-app-portlets>=7.0.2"
PyPI plone-app-portlets ≥ 5.0.0 < 5.0.8 5.0.8 pip install "plone-app-portlets>=5.0.8"

Per OSV / GitHub Advisories (GHSA-rr49-f9g6-c9r5, PYSEC-2026-4138). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.