Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-4066: CWE-862 Missing Authorization in inc2734 Smart Custom Fields

0
Medium
VulnerabilityCVE-2026-4066cvecve-2026-4066cwe-862
Published: Mon Mar 23 2026 (03/23/2026, 22:25:39 UTC)
Source: CVE Database V5
Vendor/Project: inc2734
Product: Smart Custom Fields

Description

CVE-2026-4066 is a medium-severity vulnerability in the Smart Custom Fields WordPress plugin (up to version 5. 0. 6) caused by missing authorization checks in the relational_posts_search() function. Authenticated users with Contributor-level access or higher can exploit this flaw to read private and draft posts authored by others via an AJAX action. The vulnerability arises because the function only verifies a generic edit_posts capability instead of checking if the user has permission to view each specific post. This leads to unauthorized disclosure of potentially sensitive content without requiring user interaction. No known exploits are currently reported in the wild, and the CVSS score is 4. 3. Organizations using this plugin should prioritize patching or mitigating this issue to prevent data leakage.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/24/2026, 00:07:14 UTC

Technical Analysis

The Smart Custom Fields plugin for WordPress, widely used to add custom fields to posts, contains a vulnerability identified as CVE-2026-4066. The root cause is a missing authorization check in the relational_posts_search() function, which is triggered via the smart-cf-relational-posts-search AJAX action. This function queries posts with post_status=any and returns full WP_Post objects, including sensitive post_content fields. However, it only verifies that the user has the generic edit_posts capability, which Contributors and above possess, rather than confirming if the user has permission to read each individual post. Consequently, an authenticated attacker with Contributor-level access can enumerate and read private and draft posts authored by other users, violating confidentiality. The vulnerability affects all versions up to and including 5.0.6 of the plugin. Exploitation requires authentication but no additional user interaction. The CVSS 3.1 base score is 4.3, reflecting low complexity and limited impact on integrity and availability but a clear confidentiality breach. No patches are currently linked, and no known exploits have been reported in the wild. This vulnerability exemplifies CWE-862 (Missing Authorization), where insufficient permission checks allow unauthorized data access.

Potential Impact

This vulnerability primarily impacts the confidentiality of WordPress sites using the Smart Custom Fields plugin up to version 5.0.6. Attackers with Contributor or higher privileges can access private and draft posts of other users, potentially exposing sensitive or proprietary information. This could lead to data leakage, reputational damage, and loss of trust, especially for organizations that rely on WordPress for internal communications or content management. Since Contributors typically have limited permissions, this vulnerability significantly elevates their access rights beyond intended boundaries. Although it does not affect data integrity or availability, unauthorized disclosure of unpublished content can have serious consequences in environments handling confidential data, intellectual property, or regulated information. The scope is limited to sites using this specific plugin version, but given WordPress's global popularity, the affected population could be substantial. No known active exploitation reduces immediate risk, but the vulnerability remains a concern until remediated.

Mitigation Recommendations

Organizations should immediately upgrade the Smart Custom Fields plugin to a version that addresses this vulnerability once available. In the absence of an official patch, administrators can implement temporary mitigations such as restricting Contributor-level user roles from accessing the AJAX action smart-cf-relational-posts-search by customizing WordPress hooks or using security plugins to block unauthorized AJAX requests. Reviewing and tightening user role permissions to minimize Contributor access or disabling the plugin if not essential can reduce exposure. Additionally, applying web application firewall (WAF) rules to detect and block suspicious AJAX calls targeting this endpoint may help. Site owners should audit their content for any sensitive information that may have been exposed and monitor logs for unusual access patterns. Finally, following secure development best practices, plugin developers should enforce fine-grained authorization checks on all data access functions to prevent similar issues.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-12T18:43:28.699Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69c1d4a9f4197a8e3ba0b486

Added to database: 3/24/2026, 12:02:49 AM

Last enriched: 3/24/2026, 12:07:14 AM

Last updated: 3/24/2026, 5:21:43 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses