MEDIUM 4.3

CVE-2026-1291: Meow Gallery WordPress Plugin Authorization Bypass in REST API

The Meow Gallery plugin for WordPress contains a flaw in its REST API that allows authenticated authors and above to modify gallery records without proper permission checks. An attacker with author-level credentials can create new gallery shortcodes or overwrite existing ones by directly specifying record IDs, potentially altering or injecting malicious gallery content into a WordPress site.

Source data · NVD / CISA · public domain

CVSS
3.1 · 4.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weaknesses (CWE)
CWE-639
Affected products
0 configuration(s)
Published / Modified
2026-06-13 / 2026-06-17

NVD description (verbatim)

The Meow Gallery plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the REST API endpoint /wp-json/meow-gallery/v1/save_shortcode in all versions up to, and including, 5.4.4 This makes it possible for authenticated attackers, with Author-level access and above, to arbitrarily create or overwrite existing gallery shortcode records by supplying a user-controlled id value. The endpoint performs database update operations without verifying that the requesting user is authorized to modify the referenced gallery record or create their own.

6 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-1291 is an authorization bypass vulnerability affecting the Meow Gallery WordPress plugin up to version 5.4.4. The REST API endpoint /wp-json/meow-gallery/v1/save_shortcode lacks capability verification before performing database UPDATE operations. The vulnerability stems from absent authorization checks on user-supplied id parameters, enabling authenticated attackers with Author role or higher to modify gallery shortcode records belonging to other users or create records outside their intended scope. The CWE classification (CWE-639) indicates improper authorization of a critical security function.

Business impact

For WordPress site operators, this vulnerability creates a risk of unauthorized modification of visual content and potential injection of malicious gallery shortcodes. On multi-author sites, an author could alter galleries created by others, disrupt intended site design, or inject shortcodes pointing to external or malicious content. While direct remote code execution is not possible through this flaw alone, compromised gallery records could be leveraged as part of a larger attack chain, particularly if shortcodes can reference arbitrary URLs or execute unvalidated callbacks.

Affected systems

Meow Gallery plugin for WordPress, versions 5.4.4 and all earlier versions. The vulnerability requires the attacker to be an authenticated WordPress user with at least Author-level capabilities. Sites using Meow Gallery with multiple authors or contributor accounts face elevated risk, as do installations where user access controls are permissive.

Exploitability

Exploitability is moderate. An attacker must already have valid WordPress credentials at Author level or above, which requires either legitimate access that is then abused, or credential compromise. Network access is required, but authentication is already satisfied by WordPress login. The REST endpoint is publicly accessible once authenticated, making exploitation straightforward via direct API calls. No user interaction is required beyond the attacker's initial authentication. This is not a zero-day and does not appear on CISA's Known Exploited Vulnerabilities list.

Remediation

Update Meow Gallery to a patched version released after June 17, 2026. Site administrators should verify the vendor's advisory for the specific version number addressing this flaw. As an interim measure, restrict REST API access via Web Application Firewall (WAF) rules targeting /wp-json/meow-gallery/v1/save_shortcode, or use WordPress security plugins to limit REST API access to trusted roles only. Review user access levels and remove unnecessary Author or Editor roles from accounts.

Patch guidance

Consult the Meow Gallery vendor advisory published after June 17, 2026, for the exact patched version number. Once available, test the update in a staging environment before deploying to production. Verify that gallery shortcodes are preserved and function correctly post-update. After patching, review recent activity logs to identify any unauthorized gallery modifications during the window of exposure.

Detection guidance

Monitor REST API logs for POST or PUT requests to /wp-json/meow-gallery/v1/save_shortcode, particularly those originating from unexpected user accounts or IPs. Flag requests where the 'id' parameter differs from galleries typically created by that user. Review WordPress post meta and shortcode records for galleries with unexpected modification timestamps or ownership. Query WordPress user roles and permissions to identify users with Author access who should not have it. Examine site backups from before the vulnerability was disclosed to establish baseline gallery content and detect unauthorized additions.

Why prioritize this

This vulnerability merits timely remediation due to its combination of easy exploit mechanics (REST API call with known endpoint), presence of authenticated access as a prerequisite, and potential for multi-author environments to suffer content tampering. Although CVSS 4.3 (MEDIUM) reflects the requirement for prior authentication, the low barrier to exploitation once credentials are obtained, and the likelihood of multi-user WordPress sites, justifies prompt patching. Priority is highest for sites with high editorial traffic or galleries serving as primary content delivery mechanisms.

Risk score, explained

CVSS 4.3 reflects a MEDIUM severity rating because the vulnerability requires low-privilege authentication (Author role) and causes only integrity impact (modification of shortcodes) with no confidentiality or availability consequences. The low complexity, network-accessible vector, and lack of user interaction keep the score moderate. However, the real-world risk is elevated on multi-author sites where content integrity and least-privilege access control are critical business requirements.

Frequently asked questions

Can an unauthenticated attacker exploit this vulnerability?

No. The vulnerability requires the attacker to hold valid WordPress credentials with at least Author-level access. Unauthenticated users cannot access the affected REST endpoint.

What WordPress user roles are affected?

Any user role with Author capabilities and above (Author, Editor, Administrator) can exploit this flaw. Contributors and Subscribers cannot. Sites should audit user role assignments to ensure least-privilege access.

Does this vulnerability enable remote code execution?

No direct RCE is possible through this flaw alone. It allows modification of gallery shortcode records. However, if shortcodes can reference malicious external URLs or callbacks, further attack chains may be possible depending on site configuration.

Are there any workarounds besides patching?

Temporary mitigations include disabling REST API endpoints via WAF rules, using security plugins to restrict REST access to trusted roles, or temporarily removing Author access from untrusted accounts. These do not replace patching and should be treated as interim measures only.

This analysis is provided for informational purposes and reflects publicly available information current as of June 2026. SEC.co makes no warranty regarding patch availability, timing, or effectiveness. Organizations should verify all patch details, CVE references, and vendor advisories directly with the Meow Gallery project and their internal security team before deploying updates. Actual risk may vary based on site architecture, user management practices, and complementary security controls. No exploit code or weaponized proof-of-concept is provided. Consult your security team or a qualified security professional for deployment guidance specific to your environment. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).