CVE-2026-4066
Received Received - Intake
Unauthorized Data Access in Smart Custom Fields WordPress Plugin

Publication date: 2026-03-23

Last updated on: 2026-03-23

Assigner: Wordfence

Description
The Smart Custom Fields plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the relational_posts_search() function in all versions up to, and including, 5.0.6. This makes it possible for authenticated attackers, with Contributor-level access and above, to read private and draft post content from other authors via the smart-cf-relational-posts-search AJAX action. The function queries posts with post_status=any and returns full WP_Post objects including post_content, but only checks the generic edit_posts capability instead of verifying whether the requesting user has permission to read each individual post.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-23
Last Modified
2026-03-23
Generated
2026-05-07
AI Q&A
2026-03-24
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
smart_custom_fields smart_custom_fields to 5.0.6 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The Smart Custom Fields plugin for WordPress has a vulnerability due to a missing capability check in the relational_posts_search() function in all versions up to 5.0.6.

This flaw allows authenticated users with Contributor-level access or higher to access private and draft post content authored by other users.

The vulnerability arises because the function only checks a generic edit_posts capability instead of verifying if the user has permission to read each specific post.

As a result, attackers can use the smart-cf-relational-posts-search AJAX action to retrieve full post objects, including the post content, regardless of the post's privacy status.


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized disclosure of private and draft content from other authors on a WordPress site using the affected plugin.

An attacker with Contributor-level access or higher could read sensitive or unpublished information that they should not have access to.

This could result in information leakage, loss of confidentiality, and potential damage to the privacy and trust of content creators.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

I don't know


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart