Skip to main content

CVE-2026-57149 — Vulnerability in plone-app-portlets — CVE Details

CRITICAL

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

Published September 23, 2026Updated October 1, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.64%). Schedule for your next planned update.

Does your project use an affected plone-app-portlets version?

Paste your requirements.txt to check it for CVE-2026-57149 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my requirements.txt

Summary

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 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 customising a template, but in this case it is quite effective.)

Credits

Discovered by Giuseppe Caruso, and reported to the Plone/Zope Security Team. Thanks!

Advisory Timeline

  • First published September 23, 2026 (64 days ago).
  • Last revised October 1, 2026 — 8 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update plone-app-portlets to 5.0.8 or later
pip install "plone-app-portlets>=5.0.8"
pip
Update plone-app-portlets to 7.0.2 or later
pip install "plone-app-portlets>=7.0.2"
pip
Update plone-app-portlets to 6.0.4 or later
pip install "plone-app-portlets>=6.0.4"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: PyPI (1).

PackageFixed In
plone-app-portlets PyPI · Affected: 5.0.0, 5.0.1, 5.0.2, 5.0.3 (+4 more)5.0.8
plone-app-portlets PyPI · Affected: 7.0.0, 7.0.17.0.2
plone-app-portlets PyPI · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.36.0.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2026-57149?
plone.app.portlets Vulnerable to Remote Code Execution via TALES Injection. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2026-57149?
CVE-2026-57149 affects plone-app-portlets. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-57149 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.64%
EPSS percentile: 45.1

This is a below-median EPSS score — only 45.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-rr49-f9g6-c9r5
PYSEC-2026-4138

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt