Vulnerability Report
Plugin Medium Patch path listed CVE-2026-4066

Smart Custom Fields <= 5.0.6 - Missing Authorization to Authenticated (Contributor+) Sensitive Information Exposure via Relational Post Search

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.

Quick Answer

CVE-2026-4066 is a medium severity with CVSS 4.3 Sensitive Information Exposure issue affecting the Plugin Smart Custom Fields. It affects Versions up to 5.0.6 and is fixed in 5.0.7.

Published
Mar 23, 2026
Last Updated
Mar 23, 2026
Slug
smart-custom-fields
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 5.0.7, or a newer patched version
Operator Briefing

CVE-2026-4066 is tracked for the Plugin Smart Custom Fields as medium severity with CVSS 4.3. The affected range is Versions up to 5.0.6. Update Smart Custom Fields to 5.0.7 or newer where that version is compatible with the site.

Issue Type
Sensitive Information Exposure
Primary Fixed Version
5.0.7
Primary Affected Range
Versions up to 5.0.6
Tracking ID
CVE-2026-4066
Detailed Metadata
Software Type Plugin
Software Slug
smart-custom-fields View on wordpress.org
CVE CVE-2026-4066
Patched Versions
5.0.7
Affected Versions
Versions up to 5.0.6
Related CVE Cluster

Related CVEs for Smart Custom Fields

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more