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-107770 Overview
The Photo Engine (Media Organizer & Lightroom) plugin for WordPress contains an authorization bypass vulnerability affecting all versions up to and including 6.5.6. The plugin fails to verify that users are authorized to perform sensitive actions through its sync API endpoint. Unauthenticated attackers can permanently delete arbitrary media attachments via wp_delete_attachment and upload new attachments without holding the required upload_files or edit_others_posts capabilities. The flaw is compounded by a disabled admin screen guard that leaks authentication tokens to low-privilege users. This issue is tracked under CWE-862: Missing Authorization.
Critical Impact
Unauthenticated attackers can destroy arbitrary WordPress media library content and upload attacker-controlled files, enabling site defacement and persistent content tampering.
Affected Products
- Photo Engine (Media Organizer & Lightroom) plugin for WordPress — all versions through 6.5.6
- WordPress sites exposing the /?wplr-sync-api endpoint
- Deployments where any Subscriber-level account exists on the WordPress instance
Discovery Timeline
- 2026-10-16 - CVE-2026-107770 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-107770
Vulnerability Analysis
The root defect lies in Meow_WPLR_Sync_Admin::__construct(), where the admin screen guard is commented out. As a result, wp_localize_script leaks the wplr_auth_token into every admin page view, including profile.php. A Subscriber-level user can retrieve this token directly from the HTML source of their own profile page.
Once the token is obtained, the attacker invokes destructive operations against the /?wplr-sync-api endpoint from a cookie-less HTTP session. The API handlers do not re-validate the caller's WordPress capabilities before executing privileged actions such as wp_delete_attachment or new file uploads.
Root Cause
Two defects combine to produce the vulnerability. First, the admin-only check that was intended to restrict token exposure is disabled in classes/admin.php. Second, the sync API handlers in classes/api.php and classes/core.php treat possession of the token as sufficient authorization, omitting the required capability checks for upload_files and edit_others_posts.
Attack Vector
Exploitation requires network access to the WordPress site and a Subscriber-level account, or any mechanism that leaks the token to an unauthenticated requester. The attacker reads wplr_auth_token from a rendered admin page, then issues HTTP requests to /?wplr-sync-api carrying the token. Successful calls delete arbitrary media attachments by ID or upload new files to the Media Library without session cookies.
See the Wordfence Vulnerability Report and the plugin changeset for the vendor fix.
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-107770
Indicators of Compromise
- HTTP requests to /?wplr-sync-api from clients without an authenticated WordPress session cookie
- Unexpected deletions in the WordPress Media Library accompanied by wp_delete_attachment entries in audit logs
- New uploads in wp-content/uploads/ that do not correlate to activity by Editor or Administrator accounts
- Subscriber accounts loading /wp-admin/profile.php immediately followed by outbound sync API traffic
Detection Strategies
- Inspect web server logs for requests to the wplr-sync-api query parameter and correlate with the originating user role
- Monitor WordPress action logs for wp_delete_attachment and attachment creation events outside normal editorial workflows
- Alert when response bodies for /wp-admin/profile.php served to Subscriber-level users contain the string wplr_auth_token
Monitoring Recommendations
- Enable file integrity monitoring on the wp-content/uploads/ directory to flag unexpected media changes
- Capture and retain full WordPress REST and admin-ajax request logs for retrospective hunting
- Track creation of new low-privilege WordPress accounts, which may precede exploitation attempts
How to Mitigate CVE-2026-107770
Immediate Actions Required
- Update the Photo Engine (Media Organizer & Lightroom) plugin to a version later than 6.5.6 that incorporates the fix from changeset 3737477
- Audit the WordPress Media Library against known-good backups to identify deleted or injected attachments
- Review existing Subscriber accounts and remove any that are unused or unrecognized
Patch Information
The maintainer addressed the issue in the commit referenced by changeset 3737477 for wplr-sync. The fix restores capability checks within the sync API handlers and re-enables the admin screen guard that previously suppressed token leakage.
Workarounds
- Deactivate the Photo Engine (Media Organizer & Lightroom) plugin until the patched version can be applied
- Block external requests to the /?wplr-sync-api endpoint at the web application firewall or reverse proxy
- Restrict Subscriber-level registration on sites that do not require public account creation
# Example WAF rule to block requests to the vulnerable endpoint
# Nginx location block
location / {
if ($query_string ~* "wplr-sync-api") {
return 403;
}
}
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

