CVE-2026-1291
WordPress Analyse et atténuation des vulnérabilités

Aperçu

CVE-2026-1291 is an authorization bypass vulnerability in the Meow Gallery plugin for WordPress, classified as Missing Authorization / Authorization Bypass Through User-Controlled Key (CWE-639). The flaw exists in the REST API endpoint /wp-json/meow-gallery/v1/save_shortcode and affects all versions of the plugin up to and including 5.4.4. It was published on June 13, 2026, with a patch available in version 5.4.5. The vulnerability carries a CVSS v3.1 base score of 4.3 (Medium) (GitHub Advisory, Wordfence).

Détails techniques

The root cause is a missing capability check on the REST API endpoint /wp-json/meow-gallery/v1/save_shortcode, classified under CWE-639 (Authorization Bypass Through User-Controlled Key). The endpoint performs database update operations without verifying whether the requesting user is authorized to modify or create the referenced gallery shortcode record. An authenticated attacker with Author-level access or above can supply an arbitrary user-controlled id value to create new gallery shortcode records or overwrite existing ones. The vulnerable code is visible in the plugin's classes/rest.php file (GitHub Advisory, WordPress Trac).

Impact

Successful exploitation allows an authenticated attacker with Author-level access or above to arbitrarily create or overwrite existing gallery shortcode records in the WordPress database. The impact is limited to data integrity — there is no confidentiality or availability impact — but unauthorized modification of gallery content could be used to deface site content or inject malicious shortcodes depending on how shortcodes are rendered. The scope is unchanged, meaning the impact is confined to the affected WordPress installation (GitHub Advisory, Wordfence).

Étapes d’exploitation

  1. Reconnaissance: Identify WordPress sites running the Meow Gallery plugin version 5.4.4 or earlier. This can be done by checking the plugin's readme.txt or stable tag via the WordPress plugin directory path (e.g., /wp-content/plugins/meow-gallery/readme.txt).
  2. Obtain Author-level credentials: Gain authenticated access to the target WordPress site with at least Author-level privileges (e.g., through credential stuffing, phishing, or a compromised account).
  3. Authenticate and obtain a nonce: Log in to the WordPress site and retrieve a valid REST API nonce, typically available via the WordPress REST API or embedded in page source.
  4. Craft malicious REST API request: Send an authenticated HTTP POST request to /wp-json/meow-gallery/v1/save_shortcode with a user-controlled id parameter set to either a new value (to create a record) or an existing gallery record's ID (to overwrite it), along with desired shortcode content.
  5. Achieve unauthorized data modification: The endpoint processes the request without verifying ownership or authorization, resulting in the creation or overwrite of the targeted gallery shortcode record in the WordPress database (GitHub Advisory, Wordfence).

Indicateurs de compromis

  • Network: Unexpected or repeated POST requests to /wp-json/meow-gallery/v1/save_shortcode from Author-level user accounts, especially with varying or sequential id parameter values.
  • Logs: WordPress access logs showing REST API calls to the meow-gallery/v1/save_shortcode endpoint from user accounts that do not typically manage gallery content; authentication logs showing Author-level accounts active at unusual times.
  • Database: Unexpected creation or modification of gallery shortcode records in the WordPress database, particularly records not associated with the modifying user's content; audit trail showing database writes from low-privilege accounts to gallery tables.

Atténuation et solutions de contournement

Users should update the Meow Gallery plugin to version 5.4.5 or later, which introduces proper capability checks on the affected REST API endpoint (WordPress Trac Changeset). As a workaround, site administrators can restrict REST API access to trusted authenticated users only, or temporarily disable the Meow Gallery plugin until the update can be applied. Additionally, administrators should audit existing gallery shortcode records for unauthorized modifications and review user accounts with Author-level access or above (Wordfence, GitHub Advisory).

Réactions de la communauté

The vulnerability was reported and disclosed by Wordfence, which published a threat intelligence entry on June 13, 2026 (Wordfence). The advisory was also picked up by ENISA's EUVD database (EUVD-2026-36649) and aggregated by several vulnerability tracking platforms. No significant broader media coverage or notable researcher commentary beyond standard advisory distribution has been observed.

Ressources additionnelles


SourceCe rapport a été généré à l’aide de l’IA

Apparenté WordPress Vulnérabilités:

Identifiant CVE

Sévérité

Score

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-5513HIGH7.2
  • bookly-responsive-appointment-booking-tool
NonOuiJun 13, 2026
CVE-2026-9629MEDIUM6.4
  • canvas
NonOuiJun 13, 2026
CVE-2026-3297MEDIUM6.4
  • pagelayer
NonOuiJun 13, 2026
CVE-2026-1291MEDIUM4.3
  • meow-gallery
NonOuiJun 13, 2026
CVE-2025-15546NONEN/A
  • wp-file-upload
NonOuiJun 14, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité dans le cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.

Demander une évaluation

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités