SCA: security update for plone.app.portlets (GHSA-rr49-f9g6-c9r5)

critical Tenable Cloud Security Plugin ID 498088

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.) (CVE-2026-57149)

Solution

Update the plone.app.portlets library and its related packages to version 5.0.8 or later.

See Also

https://github.com/advisories/GHSA-rr49-f9g6-c9r5

Plugin Details

Severity: Critical

ID: 498088

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 92.58

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-57149

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/23/2026

Vulnerability Publication Date: 9/22/2026

Reference Information

CVE: CVE-2026-57149

cwe: CWE-95