CVE-2026-4019 Missing authorization in Complianz – GDPR/CCPA Cookie Consent

Medium 5.3 Published Updated

Unauthenticated attackers can read private, draft, or unpublished post content via a vulnerable REST API endpoint in the Complianz WordPress plugin.

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

What is CVE-2026-4019?

CVE-2026-4019 is a medium-severity missing authorization vulnerability in Complianz – GDPR/CCPA Cookie Consent, published on 29 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Complianz – GDPR/CCPA Cookie Consent plugin for WordPress is vulnerable to unauthorized data access in all versions up to, and including, 7.4.5 This is due to the REST API endpoint at /wp-json/complianz/v1/consent-area/{post_id}/{block_id} using __return_true as the permission_callback, allowing any unauthenticated user to access it. The cmplz_rest_consented_content() function retrieves a post by ID via get_post() and returns the consentedContent attribute of any complianz/consent-area block found in it, without checking if the post is published or if the user has permission to read it. This makes it possible for unauthenticated attackers to read the consent area block content from private, draft, or unpublished posts.

Weakness: CWE-862

Which versions are affected by CVE-2026-4019?

How do I fix CVE-2026-4019?

No fix has been published for CVE-2026-4019 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-4019 being exploited?

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

Sources

Also known as GHSA-648g-qp2w-38qp.

Is CVE-2026-4019 in your software?

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

Check your SBOMs for free