Vulnerabilities in pkg:pypi/plone.app.portlets

PACKAGE
Advisory Identifier: GHSA-rr49-f9g6-c9r5
Advisory Summary

CVE-2026-57149 is a CRITICAL (CVSS 9.9) remote code execution vulnerability (CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')) affecting Plone.app.portlets libraries in the PyPI ecosystem. The issue involves plone.app.portlets vulnerable to remote code execution via tales injection. Remediation is available by upgrading affected packages to version 7.0.2, 6.0.4, 5.0.8.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/plone.app.portlets

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/plone.app.portlets. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-rr49-f9g6-c9r5 CVE-2026-57149 CRITICAL plone.app.portlets Vulnerable to Remote Code Execution via TALES Injection
GHSA-x5g3-w747-2h8q CVE-2026-55248 CRITICAL plone.app.portlets vulnerable to denial of service via RSS feed portlet

CVE-2026-57149 at a Glance

CVE Identifier CVE-2026-57149
GHSA Identifier GHSA-rr49-f9g6-c9r5
Severity CRITICAL
CVSS v3.1 Base Score 9.9
CWE Classification CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Affected Product Plone.app.portlets
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-57149

To remediate this vulnerability, upgrade all affected Plone.app.portlets dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

plone.app.portlets fixed: 7.0.2
pip install plone.app.portlets>=7.0.2
plone.app.portlets fixed: 6.0.4
pip install plone.app.portlets>=6.0.4
plone.app.portlets fixed: 5.0.8
pip install plone.app.portlets>=5.0.8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show plone.app.portlets

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-57149, inspect your installed packages using pip:

pip show plone.app.portlets

Analyze the terminal output to locate any version of Plone.app.portlets in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.0.2), your application is affected.

Note: The pip show plone.app.portlets command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval"). In Plone.app.portlets, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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](mailto:security@plone.org). Thanks!

CVE-2026-57149 Affected Plone.app.portlets Versions

3 component(s)
Fixed Versions:
7.0.26.0.45.0.8
Product / Package Ecosystem Affected Versions Fixed Version
plone.app.portlets
PyPI
≥ 7.0.0
< 7.0.2
7.0.2
plone.app.portlets
PyPI
≥ 6.0.0
< 6.0.4
6.0.4
plone.app.portlets
PyPI
≥ 5.0.0
< 5.0.8
5.0.8

References

Frequently Asked Questions

What is CVE-2026-57149?
CVE-2026-57149 is a security vulnerability in Plone.app.portlets involving plone.app.portlets Vulnerable to Remote Code Execution via TALES Injection under CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection').
Which Plone.app.portlets versions are affected?
Affected versions include releases prior to 7.0.2, 6.0.4, 5.0.8 across affected packages: plone.app.portlets.
What version fixes CVE-2026-57149?
Upgrading to 7.0.2, 6.0.4, 5.0.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is plone.app.portlets affected?
Yes, plone.app.portlets is affected in releases prior to 7.0.2, 6.0.4, 5.0.8. Upgrade your dependency to 7.0.2, 6.0.4, 5.0.8 or later.
What is the CVSS score of CVE-2026-57149?
CVE-2026-57149 has a CVSS v3.1 base score of 9.9 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-57149?
CVE-2026-57149 is classified under CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").).
How can I check PyPI dependencies for CVE-2026-57149?
Run the dependency tree command: 'pip show plone.app.portlets'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rr49-f9g6-c9r5",
  "modified" : "2026-09-23T13:55:47Z",
  "published" : "2026-09-23T13:55:47Z",
  "aliases" : [ "CVE-2026-57149" ],
  "summary" : "plone.app.portlets Vulnerable to Remote Code Execution via TALES Injection",
  "details" : "### Impact\nThe 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.\n\nThis 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.\n\n### Patches\nThe problem has been patched in `plone.app.portlets`\n\n* For Plone 6.2, upgrade to `plone.app.portlets` 7.0.2.\n* For Plone 6.1, upgrade to `plone.app.portlets` 6.0.4.\n* For Plone 6.0, upgrade to `plone.app.portlets` 5.0.8.\n\n### Workarounds\nIf upgrading is not immediately possible:\n\n- 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).\n- 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.\n- 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.)\n\n### Credits\n\nDiscovered by Giuseppe Caruso, and reported to the [Plone/Zope Security Team](mailto:security@plone.org). Thanks!",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "plone.app.portlets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.0.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 7.0.1"
    }
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "plone.app.portlets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 6.0.3"
    }
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "plone.app.portlets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.8"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.0.7"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/plone/plone.app.portlets/security/advisories/GHSA-rr49-f9g6-c9r5"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-57149"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/plone.app.portlets/commit/1d9cacacfad9ed08b890dadc6e75741e295dc151"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/plone.app.portlets/commit/8a0641dc4054a2b13834bba00c67cd9a2fd189e1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/plone.app.portlets/commit/fb979f01b57dd2fc06c90ee6577eb5eb285da8f1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/plone/plone.app.portlets"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/plone.app.portlets/releases/tag/5.0.8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/plone.app.portlets/releases/tag/6.0.4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plone/plone.app.portlets/releases/tag/7.0.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-95" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-23T13:55:47Z",
    "nvd_published_at" : "2026-09-22T19:16:43Z"
  }
}