{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-4066","published":"2026-03-23T23:17:13.227000Z","last_modified":"2026-06-17T10:55:56.017000Z","status":"Deferred","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","source":"security@wordfence.com","primary":false},"auth":true,"cwes":["CWE-862"],"cpes":[],"cpes_truncated":false,"vendors":["inc2734"],"products":["inc2734/smart-custom-fields"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":26,"links":{"html_es":"/es/cve/CVE-2026-4066/","html_en":"/en/cve/CVE-2026-4066/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-4066","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-4066"},"untrusted":{"vendor_name":"inc2734","product_name":"Smart Custom Fields","desc_en":"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.","affected":[{"untrusted_vendor":"inc2734","untrusted_product":"Smart Custom Fields","versions":[]}],"references":[{"url":"https://plugins.trac.wordpress.org/browser/smart-custom-fields/trunk/classes/fields/class.field-related-posts.php#L101","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/smart-custom-fields/trunk/classes/fields/class.field-related-posts.php#L143","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/smart-custom-fields/trunk/classes/fields/class.field-related-posts.php#L78","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3485210%40smart-custom-fields%2Ftrunk&old=3416964%40smart-custom-fields%2Ftrunk&sfp_email=&sfph_mail=#file2","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/87f52e3a-e414-4f47-b46c-e3811e76744b?source=cve","tags":[]}]}}