CVE-2026-4066
Unauthorized Data Access in Smart Custom Fields WordPress Plugin
Publication date: 2026-03-23
Last updated on: 2026-03-23
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| smart_custom_fields | smart_custom_fields | to 5.0.6 (inc) |
Helpful Resources
Exploitability
| 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