CVE-2026-109218

Contact Manager <= 9.1.2 - Unauthenticated Arbitrary File Upload via Trailing-Dot Filename Blacklist Bypass

Published Oct 28, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
The Contact Manager plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 9.1.2 via the add_message function. This is due to an incomplete extension blacklist that fails to detect dangerous extensions when a trailing dot causes the extension-derivation routine to return an empty string, which sanitize_file_name() then silently removes before the file is written to disk. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. Successful code execution additionally requires the server to use Apache with libapache2-mod-php (which maps .phar to PHP by default) and the attacker to retrieve the uploaded file within the brief window before it is removed by unlink() at end of request.

Analysis

AI-generated

Technical impact

The Contact Manager plugin for WordPress has a flaw in its add_message function that allows an attacker to upload files with arbitrary content. The flaw stems from an incomplete extension blacklist that does not detect dangerous extensions when a trailing dot is used; the extension derivation routine returns an empty string and sanitize_file_name() silently removes it, enabling the file to be written to disk. If the uploaded file is executable, the attacker can leverage it to run arbitrary code. Attackers do not need authentication to trigger the upload.

Affected Systems

This issue affects the Contact Manager plugin, versions 9.1.2 and earlier, which is distributed by kleor. The plugin is used in WordPress installations worldwide.

Risk and Exploitability

The vulnerability has a CVSS score of 9.8, indicating a critical severity. While the EPSS score is not available, the exploitation of the flaw requires only a standard HTTP request and is trivial for unauthenticated users. The weakness is not yet listed in the CISA KEV catalog. Successful exploitation also requires the target web server to run Apache with libapache2-mod-php, which maps the .phar extension to PHP, and the attacker must retrieve the file before the script deletes it with unlink, which creates a short execution window.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Contact Manager plugin to version 9.1.3 or later, which fixes the extension blacklist logic.
  • If an upgrade is not possible immediately, disable or restrict the file upload functionality in the plugin’s settings or remove the add_message endpoint.
  • Implement a web application firewall or security plugin that blocks arbitrary file uploads and restricts executable file extensions.

Generated by OpenCVE AI on October 28, 2026 at 08:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Kleor
Kleor contact Manager
Wordpress-extensions
Wordpress-extensions contact Manager
Vendors & Products Kleor
Kleor contact Manager
Wordpress-extensions
Wordpress-extensions contact Manager
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Contact Manager plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 9.1.2 via the add_message function. This is due to an incomplete extension blacklist that fails to detect dangerous extensions when a trailing dot causes the extension-derivation routine to return an empty string, which sanitize_file_name() then silently removes before the file is written to disk. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. Successful code execution additionally requires the server to use Apache with libapache2-mod-php (which maps .phar to PHP by default) and the attacker to retrieve the uploaded file within the brief window before it is removed by unlink() at end of request.
Title Contact Manager <= 9.1.2 - Unauthenticated Arbitrary File Upload via Trailing-Dot Filename Blacklist Bypass
Weaknesses CWE-434
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 29, 2026, 1:41 AM
Reserved
Oct 12, 2026, 1:43 PM
Status
Deferred
Published
Oct 28, 2026, 7:16 AM
Modified
Oct 29, 2026, 2:16 AM