Skip to content
Heist/ feed
CriticalFix available

plone.app.portlets Vulnerable to Remote Code Execution via TALES Injection

Type: advisorySource: OSV1 source record

### Impact 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. ### Patches The problem has been patched in `plone.app.portlets` * For Plone 6.2, upgrade to `plone.app.portlets` 7.0.2. * For Plone 6.1, upgrade to `plone.app.portlets` 6.0.4. * For Plone 6.0, upgrade to `plone.app.portlets` 5.0.8. ### Workarounds If upgrading is not immediately possible: - 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, so it is not a quick fix. - You could also eff

Announced Group revision 1
Original source ↗

PYSEC-2026-4138

Primary source · Revision 2

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:PYSEC-2026-4138

plone-app-portlets

Source reference: /affected/0/package/name

Affected versions
5.0.0

Source reference: /affected/0/versions

5.0.1

Source reference: /affected/0/versions

5.0.2

Source reference: /affected/0/versions

5.0.3

Source reference: /affected/0/versions

5.0.4

Source reference: /affected/0/versions

5.0.5

Source reference: /affected/0/versions

5.0.6

Source reference: /affected/0/versions

5.0.7

Source reference: /affected/0/versions

6.0.0

Source reference: /affected/0/versions

6.0.1

Source reference: /affected/0/versions

6.0.2

Source reference: /affected/0/versions

6.0.3

Source reference: /affected/0/versions

7.0.0

Source reference: /affected/0/versions

7.0.1

Source reference: /affected/0/versions

Fixed versions
5.0.8

Source reference: /affected/0/ranges

6.0.4

Source reference: /affected/0/ranges

7.0.2

Source reference: /affected/0/ranges

5.0.8

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "5.0.0"
          },
          {
            "fixed": "5.0.8"
          },
          {
            "introduced": "6.0.0"
          },
          {
            "fixed": "6.0.4"
          },
          {
            "introduced": "7.0.0"
          },
          {
            "fixed": "7.0.2"
          },
          {
            "introduced": "5.0.0"
          },
          {
            "fixed": "5.0.8"
          }
        ]
      }
    ],
    "package": {
      "name": "plone-app-portlets",
      "purl": "pkg:pypi/plone-app-portlets",
      "ecosystem": "PyPI"
    },
    "versions": [
      "5.0.0",
      "5.0.1",
      "5.0.2",
      "5.0.3",
      "5.0.4",
      "5.0.5",
      "5.0.6",
      "5.0.7",
      "6.0.0",
      "6.0.1",
      "6.0.2",
      "6.0.3",
      "7.0.0",
      "7.0.1"
    ],
    "database_specific": {
      "source": "https://github.com/pypa/advisory-database/blob/main/vulns/plone-app-portlets/PYSEC-2026-4138.yaml"
    }
  }
]
Related CVEs
CVE-2026-57149

Source reference: /aliases

Publisher severity

No explicit severity was provided.

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

CVE-2026-57149 · Critical

plone-app-portlets, plone-app-portlets, plone-app-portlets

Event
#62559 · Revision 2
Added to Heist Feed
Publisher date
Read the original announcement