The vulnerability CVE-2026-57576 in plone.app.dexterity is a Denial of Service (DoS) caused by the acceptance of excessively long title or description fields. The core issue is the lack of input length validation, allowing an attacker to submit arbitrarily large strings that, when processed or rendered, consume significant system resources and make the application unresponsive.
My analysis focused on the provided commit patches for plone.app.dexterity. These patches introduce max_length constraints to the title and description fields within the IBasic schema defined in plone/app/dexterity/behaviors/metadata.py. Specifically, MAX_TITLE_LENGTH (1024 characters) and MAX_DESCRIPTION_LENGTH (10000 characters) are now enforced. Before these patches, these fields had no explicit length limits.
Additionally, the plone/app/dexterity/behaviors/filename.py file was modified. The __new__ method of the NameFromTitle class, which sets the content's title based on a filename, previously assigned the filename directly without truncation. The patch introduced truncation using [:MAX_TITLE_LENGTH].
Therefore, the identified vulnerable functions are:
plone.app.dexterity.behaviors.filename.NameFromTitle.__new__: This function directly processed and assigned potentially oversized input (filenames) to the content's title without any length checks in the vulnerable version.
plone.app.dexterity.behaviors.metadata.IBasic.title.validate: In the vulnerable version, the title field of the IBasic schema lacked a max_length attribute. This meant that the underlying validation mechanism (the validate method of the schema.TextLine object) would not prevent the submission of excessively long titles, allowing the DoS condition to occur.
plone.app.dexterity.behaviors.metadata.IBasic.description.validate: Similarly, the description field of the IBasic schema in the vulnerable version lacked a max_length attribute. Its validate method would therefore permit unbounded input, leading to the DoS.
Exploitation would involve creating or editing content with extremely long strings in either the title or description fields. When these fields are subsequently accessed, displayed, or indexed by the application, the large data size would lead to performance degradation or system unresponsiveness, triggering the Denial of Service.