CVE-2026-134054 in Ultra Addons for Contact Form 7 Plugin
Summary
by MITRE • 11/26/2026
The Ultra Addons for Contact Form 7 plugin for WordPress is vulnerable to unauthorized access of data due to a missing authorization check on the UACF7_CUSTOM_FIELDS shortcode in versions up to, and including, 3.5.59 The shortcode handler accepts an attr value of the form 'post_id/meta_key', normalizes the parts with absint() and sanitize_key(), and calls get_post_meta() without verifying that the current user is authorized to read that post (no current_user_can('read_post', $id) or post_status check). This makes it possible for authenticated attackers, with contributor-level access and above, to read arbitrary post meta, including private/draft post meta and third-party plugin PII (e.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in the Ultra Addons for Contact Form 7 WordPress plugin affects versions up to and including 3.5.59. This security flaw stems from a critical absence of authorization checks within the shortcode handler responsible for processing UACF7_CUSTOM_FIELDS shortcodes. The specific technical deficiency lies in the failure to verify whether the current user possesses the necessary permissions to access the requested post data before executing database queries. While the plugin correctly normalizes input parameters using functions such as absint() and sanitize_key(), it neglects to validate the user's role or capability against the target resource. This oversight allows authenticated attackers, starting from contributor-level access and above, to bypass standard WordPress security mechanisms that typically restrict access to private or draft content based on post status and user capabilities.
From a technical perspective, the vulnerability exploits the logic within the shortcode handler which accepts an attribute formatted as 'post_id/meta_key'. The system processes these inputs by converting the post identifier into an integer and sanitizing the meta key string before invoking the WordPress function get_post_meta(). However, this process occurs without any intermediate verification of whether the requesting user is authorized to read the specific post identified. In a secure implementation, the application should check if the current user has the 'read_post' capability for the given ID or verify that the post status allows public access. The absence of these checks means that the function retrieves metadata regardless of the privacy settings associated with the target post object.
The operational impact of this vulnerability is significant as it enables unauthorized data exfiltration by authenticated users who may have limited privileges within the WordPress environment. Attackers can leverage contributor-level accounts, which are often granted to content creators or editors but not administrators, to access sensitive information stored in post meta fields. This includes private and draft posts that should remain inaccessible to non-administrative users. Furthermore, because many plugins store personally identifiable information (PII) such as customer names, email addresses, phone numbers, and payment details within custom post meta tables, this vulnerability exposes a wide array of sensitive data to internal threats or compromised accounts. The ability to read arbitrary post meta effectively bypasses the intended access control boundaries established by WordPress core functionality.
This issue aligns with CWE-284 Improper Access Control, specifically reflecting failures in authorization logic where insufficient checks allow users to perform actions beyond their privileges. It also relates to CWE-601 URL Redirection to Untrusted Site (Open Redirect) concepts if the meta data contains URLs, but more accurately fits within the scope of unauthorized data access due to missing object-level permissions. In terms of the MITRE ATT&CK framework for enterprise security, this vulnerability facilitates lateral movement and privilege escalation by allowing lower-privileged users to gather intelligence on high-value targets or sensitive records without triggering typical administrative alerts associated with higher-level exploits. The attack vector is classified as local if considering network context but requires authentication, placing it within the category of authenticated attacks that exploit misconfigured access controls rather than remote code execution flaws.
Mitigation strategies should prioritize immediate updates to version 3.5.60 or later where this authorization check has been implemented by the developers. For environments unable to update immediately due to compatibility constraints, administrators can employ web application firewalls to block requests containing specific shortcode patterns associated with UACF7_CUSTOM_FIELDS if those shortcodes are not actively required for public-facing forms. Additionally, enforcing strict role-based access control policies and regularly auditing user permissions can reduce the risk surface by ensuring that only trusted administrative accounts have elevated capabilities. Developers should also implement rigorous code reviews focusing on object-level authorization checks whenever custom post meta is accessed via shortcode or API endpoints to prevent similar vulnerabilities in future releases.