Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-40802 Overview
CVE-2026-40802 is a missing authorization vulnerability [CWE-862] affecting the Pubjet (پابجت) WordPress plugin in versions up to and including 5.4.8. The flaw permits authenticated users with subscriber-level privileges to modify plugin settings they should not be able to access. The issue stems from absent capability checks on settings endpoints, enabling low-privileged accounts to alter configuration intended for administrators. Patchstack published the advisory with vulnerability characteristics indicating network attack vector and low privilege requirements.
Critical Impact
Any registered subscriber on an affected WordPress site can change Pubjet plugin settings, undermining site configuration integrity and enabling follow-on attacks against site administrators and content.
Affected Products
- Pubjet (پابجت) WordPress plugin versions <= 5.4.8
- WordPress sites with open subscriber registration using the Pubjet plugin
- Any WordPress installation permitting authenticated low-privilege accounts
Discovery Timeline
- 2026-10-10 - CVE-2026-40802 published to the National Vulnerability Database
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-40802
Vulnerability Analysis
The vulnerability is a Broken Access Control issue classified as Missing Authorization [CWE-862]. The Pubjet plugin exposes settings-modification functionality without verifying that the requesting user holds the required administrative capability. WordPress conventionally restricts plugin settings changes to the manage_options capability, which is reserved for administrators. In Pubjet, the handler accepts requests from any authenticated session, including those bearing only the subscriber role.
An attacker who registers an account, or who already holds subscriber access, can submit requests to the vulnerable settings endpoint and persist changes. The integrity impact is high because configuration tampering can redirect plugin behavior, inject attacker-controlled values, or disable protective settings. Confidentiality and availability effects are limited but present.
Root Cause
The root cause is the absence of a current_user_can() capability check and the lack of nonce verification on the Pubjet settings-save routine. Without these controls, the plugin treats any authenticated request as authorized, violating the principle of least privilege.
Attack Vector
Exploitation requires network access to the target WordPress site and a valid subscriber-level account. The attacker sends a crafted HTTP POST request to the plugin's settings endpoint containing the desired configuration values. No user interaction from an administrator is required. Refer to the Patchstack Vulnerability Report for additional technical context.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-40802
Indicators of Compromise
- Unexpected modifications to Pubjet plugin options in the wp_options table, particularly entries prefixed with pubjet_
- WordPress audit log entries showing settings changes performed by non-administrator accounts
- POST requests to Pubjet admin-ajax or REST endpoints originating from subscriber sessions
Detection Strategies
- Monitor web server access logs for POST requests to Pubjet plugin endpoints paired with authentication cookies tied to low-privilege roles
- Deploy a WordPress activity logging plugin and alert on configuration changes made by non-administrator users
- Baseline Pubjet plugin option values and alert on deviations outside administrator-driven change windows
Monitoring Recommendations
- Enable logging of all authenticated POST requests to /wp-admin/admin-ajax.php and /wp-json/ routes referencing Pubjet
- Track creation of new subscriber accounts followed by plugin option changes within a short time window
- Forward WordPress and web server logs to a centralized SIEM for correlation and retention
How to Mitigate CVE-2026-40802
Immediate Actions Required
- Upgrade the Pubjet plugin to a version later than 5.4.8 once the vendor publishes a fix
- If no patched version is available, deactivate and remove the Pubjet plugin from affected WordPress installations
- Audit subscriber accounts and remove unknown or inactive users
- Review Pubjet plugin settings and restore known-good configuration values
Patch Information
At the time of publication, consult the Patchstack Vulnerability Report for the latest patched version and vendor advisory. Apply updates through the WordPress plugin manager and verify the installed version is above 5.4.8.
Workarounds
- Disable open user registration under Settings > General by unchecking "Anyone can register" until the plugin is patched
- Restrict access to /wp-admin/admin-ajax.php endpoints associated with Pubjet via a web application firewall rule
- Temporarily revoke subscriber role assignments or set the default new user role to a custom role without plugin interaction rights
# Example WordPress CLI commands to reduce exposure
wp option update users_can_register 0
wp plugin deactivate pubjet
wp user list --role=subscriber --format=table
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

