Sep 24, 2026·6 min read·15 visits
An input validation flaw in plone.app.contenttypes allows authenticated users to cause a denial of service by uploading files with excessively long filenames, leading to database bloat, catalog indexing delays, and CPU/memory exhaustion.
An uncontrolled resource consumption vulnerability in plone.app.contenttypes allows authenticated users to trigger application-level denial of service via oversized filename metadata in file uploads.
The Plone Content Management System (CMS) relies on Dexterity-based content types provided by the standard plone.app.contenttypes package to manage core entities like files and images. During the file upload process, users often leave metadata fields such as the title and description blank, expecting the system to automatically generate these values. To facilitate this usability feature, the system registers an event subscriber that listens for object creation and automatically populates missing metadata.
This auto-population mechanism introduces an attack surface when processing the uploaded file's metadata. Specifically, the system reads the filename directly from the raw multipart upload header and stores it as the object's title property. Because there are no initial constraints on the length of this string, an authenticated attacker can supply an excessively long filename to trigger uncontrolled resource consumption.
The resulting vulnerability falls under the category of Application-level Denial of Service (DoS) and is tracked as GHSA-8PCW-H6W9-H46G. By exploiting this issue, standard authenticated users with basic content creation permissions can systematically degrade the performance of the Plone site, leading to high CPU load, memory exhaustion, and potential thread lockups.
The fundamental flaw resides within the set_title_description(obj, event) event handler defined in src/plone/app/contenttypes/subscribers.py. This handler is invoked whenever an IObjectCreatedEvent is fired for a Dexterity-based File or Image object. When the handler detects that the content object lacks a title, it queries the underlying data field to retrieve the filename property.
Prior to the remediation, the handler directly assigned the raw datafield.filename attribute to the obj.title attribute without any length validation or truncation. Because the Zope framework allows the extraction of raw header parameters directly from the incoming HTTP multipart request, the filename can contain tens of thousands of characters. The system stores this unbounded string directly into the database as-is.
Storing extremely long strings inside core metadata attributes triggers significant performance penalties due to Zope's object architecture. First, Plone's search indexer (portal_catalog) immediately attempts to tokenize and index the title of the newly created object, which spikes CPU utilization during indexing operations. Second, rendering views like folder listings, breadcrumbs, and navigation trees requires retrieving and displaying this massive title, which rapidly exhausts server memory allocations and blocks concurrent worker threads.
An examination of the vulnerable code path highlights the absence of boundary checks. The event handler extracts the filename without sanitization or length enforcement.
# Vulnerable implementation in subscribers.py
def set_title_description(obj, event):
"""Sets title to filename if no title
"""
if not obj.title:
if IImage.providedBy(obj):
datafield = obj.image
else:
datafield = obj.file
if datafield:
filename = datafield.filename
obj.title = filename # Direct assignment of unbounded stringThe remediated code resolves the boundary validation gap by introducing an explicit slicing fallback. The handler now attempts to import a defined maximum length configuration, MAX_TITLE_LENGTH, falling back to a default value of 1,024 characters.
# Patched implementation in subscribers.py
from plone.app.contenttypes.interfaces import IImage
try:
from plone.app.dexterity.config import MAX_TITLE_LENGTH as _MAX_TITLE_LENGTH
except ImportError:
_MAX_TITLE_LENGTH = 1024
def set_title_description(obj, event):
"""Sets title to filename if no title
"""
if not obj.title:
if IImage.providedBy(obj):
datafield = obj.image
else:
datafield = obj.file
if datafield:
filename = datafield.filename or ""
obj.title = filename[:_MAX_TITLE_LENGTH] # Safe truncationAdditionally, the database and form-rendering schemas were updated. In both schema/file.xml and schema/image.xml, the system now enforces <max_length> limits (1,024 for title, 10,000 for description) directly in the Zope XML schemas. This defense-in-depth approach ensures both API-driven uploads and manual browser-based entries are constrained to safe limits before data serialization.
To execute the attack, an adversary requires low-privilege authentication that grants content creation rights within a target folder. In default Plone installations, roles such as Contributor or Member are sufficient to create File or Image objects. If the site is configured to permit anonymous submissions, the attack can be launched without authentication.
The exploit is delivered via an HTTP POST multipart/form-data request aimed at the file creation endpoint. The attacker omits the manual title parameter from the request, forcing the application to invoke the automatic title generation logic. Within the file upload section of the payload, the attacker crafts a malicious Content-Disposition header where the filename parameter is inflated with an excessively long pattern, such as 20,000 repetitive characters.
POST /Plone/my-folder/++add++File HTTP/1.1
Host: target.local
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryXyZ
Authorization: Basic dXNlcjpwYXNzd29yZA==
------WebKitFormBoundaryXyZ
Content-Disposition: form-data; name="form.widgets.file"; filename="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...[20,000 characters]...AAAAA.png"
Content-Type: image/png
[PNG Binary Data]
------WebKitFormBoundaryXyZ--Upon processing the request, Plone generates the File object and triggers the IObjectCreatedEvent subscriber. The backend processes the massive filename string and commits it to the ZODB. Any subsequent attempt to index the object or render the parent directory's listing view will hang, exhausting thread resources and causing a denial of service.
The main impact of this vulnerability is a complete loss of availability of the Plone application instance. Storing extremely long metadata attributes causes severe Zope Object Database (ZODB) bloat, significantly increasing transaction serialization time and degrading cache efficiency. This bloat directly impacts overall system database read and write latency for all users.
Furthermore, the catalog indexing engine (portal_catalog) consumes extensive CPU cycles while attempting to process and split the massive string. If multiple malicious uploads are performed in parallel, the server's CPU utilization reaches 100%, causing incoming requests to queue up. Eventually, the Zope worker thread pool is fully exhausted, rendering the application entirely unresponsive to legitimate traffic.
This vulnerability is assigned a CVSS v3.1 base score of 6.5 (Medium) under standard authenticated conditions. However, in environments configured to allow anonymous file uploads or guest submissions, the severity increases to 7.5 (High) due to the absence of authentication requirements. There is no impact on data confidentiality or integrity, as the attack does not leak information or modify arbitrary state.
The most reliable remediation is upgrading plone.app.contenttypes to a patched release. For Plone 5.x and 6.0 setups, administrators should upgrade to version 3.0.12 or 4.0.10. For Plone 6.1 deployments, upgrading to version 5.0.1 is required to ensure compatibility and protection.
If immediate patching is not possible, administrators can implement a temporary Web Application Firewall (WAF) rule. This rule should intercept multipart file upload requests and block any request containing a filename parameter in the Content-Disposition header that exceeds 1024 characters. This mitigation effectively neutralizes the primary injection vector before the payload reaches the Python runtime.
To identify and remediate existing large objects, administrators can execute a cleanup script via the Zope Python Interpreter Console. This script queries the portal catalog, checks the length of the Title and Description properties of existing objects, truncates any values exceeding the safe limits, and reindexes the corrected items. This process restores performance and recovers wasted database cache memory.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H| Product | Affected Versions | Fixed Version |
|---|---|---|
plone.app.contenttypes Plone | < 3.0.12 | 3.0.12 |
plone.app.contenttypes Plone | >= 4.0.0, < 4.0.10 | 4.0.10 |
plone.app.contenttypes Plone | >= 5.0.0, < 5.0.1 | 5.0.1 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-400 (Uncontrolled Resource Consumption) |
| Alternative CWE | CWE-20 (Improper Input Validation) |
| Attack Vector | Network (HTTP Multipart POST) |
| CVSS v3.1 | 6.5 / 7.5 (Depending on anonymous upload privileges) |
| Impact | Denial of Service (CPU & Memory Exhaustion) |
| Exploit Status | PoC / Replicated |
| KEV Status | Not Listed |
The system processes and stores a string of arbitrary length without validating, restricting, or truncating its size, leading to excessive resource utilization.
CVE-2026-16454 is an object-level authorization bypass vulnerability (CWE-284, CWE-862) in Eclipse hawkBit versions 1.0.3 and prior. The flaw exists within the Direct Device Integration (DDI) REST controller (hawkbit-ddi-resource), where endpoints responsible for enumerating software module metadata and serving firmware binaries fail to verify whether the requested software module is assigned to the authenticated device. Consequently, any device with valid credentials (such as a TargetToken or GatewayToken) can enumerate software module identifiers and download arbitrary firmware artifacts across the entire tenant namespace.
CVE-2026-62284 (GHSA-5w5g-j6hw-6p8f) is a code injection and server-side request forgery vulnerability in the console-proxy component of the OSAC Operator. The RemoteConfigResolver parses Kubernetes Secrets containing kubeconfig files via clientcmd.RESTConfigFromKubeConfig without sanitizing execution-related fields. An attacker with RBAC permissions to create or modify labeled Secrets in monitored namespaces can supply a malicious exec credential plugin, resulting in arbitrary command execution within the console-proxy pod.
CVE-2026-62361 (GHSA-xgjr-7j9q-2h4r) is an authenticated SQL injection and authorization bypass vulnerability in listmonk, an open-source, self-hosted newsletter and mailing list manager written in Go. In versions prior to 6.2.0, the subscriber export endpoint (GET /api/subscribers/export) directly interpolates user-supplied SQL filter expressions into a PostgreSQL query without invoking the table allowlist validation function (validateQueryTables). Consequently, authenticated users possessing the subscribers:sql_query and subscribers:get_all permissions can bypass relational access controls, execute arbitrary subqueries against restricted tables such as users and settings, and modify database state via writable Common Table Expressions (CTEs).
CVE-2026-28385 (GHSA-3gq2-x4qg-p4g6) is a Server-Side Request Forgery (SSRF) vulnerability in Canonical LXD versions 4.12 through 6.9. An authenticated user possessing the can_create_images entitlement can force the LXD daemon to execute arbitrary outbound HTTP and HTTPS requests via the /1.0/images API endpoint. Due to the absence of egress destination validation, an attacker can probe host loopback services, RFC 1918 private network segments, and cloud Instance Metadata Services (IMDS) from the network position of the privileged LXD daemon.
Canonical LXD and LXC Incus contain an arbitrary file write vulnerability (CWE-73 / CWE-59) in the `/1.0/instances/<name>/exec` REST API endpoint. When an instance is unpacked from an image archive, top-level symbolic links are extracted directly onto the host filesystem within the instance storage directory. If a crafted image includes a symbolic link named `exec-output` pointing to an arbitrary host path, invoking the execution endpoint with `record-output: true` causes the privileged host daemon to follow the symlink and write command output files directly to the target host directory. An authenticated attacker with permissions to import images and execute commands can exploit this flaw to write controlled content to sensitive host directories such as `/etc/cron.d`, resulting in arbitrary code execution on the host as `root`.
CVE-2026-48749 (tracked as GHSA-vghh-5rfx-xhq8 for LXD and GHSA-2q3f-q5pq-g8wv for Incus) is a critical container escape vulnerability in the Canonical LXD and Linux Containers Incus system container managers. By importing a specially crafted container image archive containing duplicate tar member headers, an authenticated attacker can replace the instance rootfs directory with a symbolic link pointing to the underlying host root filesystem. When performing file operations on a stopped container, the privileged forkfile helper binary resolves the symbolic link without confinement and chroots directly into the host filesystem, granting arbitrary root-level file read and write access.