CVE-2026-4066 Missing authorization in Smart Custom Fields

Medium 4.3 Published Updated

Authenticated contributors can read private and draft posts from other authors due to missing capability checks in the Smart Custom Fields plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-4066?

CVE-2026-4066 is a medium-severity missing authorization vulnerability in inc2734 Smart Custom Fields, published on 23 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-862

Which versions are affected by CVE-2026-4066?

How do I fix CVE-2026-4066?

No fix has been published for CVE-2026-4066 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-4066 being exploited?

There is no known exploitation of CVE-2026-4066 in the wild and no public exploit code.

Sources

Also known as GHSA-v295-3wx7-pwm2.

Is CVE-2026-4066 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free