CVE-2026-9227 PUBLISHED

GutenBee <= 2.20.1 - Authenticated (Author+) Arbitrary File Upload via wp_check_filetype_and_ext Filter

Assigner: Wordfence
Reserved: 21.05.2026 Published: 28.05.2026 Updated: 28.05.2026

The GutenBee – Gutenberg Blocks plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 2.20.1 via the gutenbee_file_and_ext_json function. This is due to a flawed strpos() substring check that only verifies whether the filename contains the string '.json' rather than confirming the filename ends with a .json extension, allowing double-extension filenames like shell.json.php to bypass validation. This makes it possible for authenticated attackers, with author-level access and above, to upload files that may be executable, which makes remote code execution possible.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.8

Product Status

Vendor cssigniterteam
Product GutenBee – Gutenberg Blocks
Versions Default: unaffected
  • affected from 0 to 2.20.1 (incl.)

Credits

  • Athiwat Tiprasaharn finder

References

Problem Types

  • CWE-434 Unrestricted Upload of File with Dangerous Type CWE