CVE-2026-22345 Deserialization in Image Gallery – Lightbox Gallery, Responsive Photo Gallery, Masonry Gallery
An attacker can exploit PHP object injection in the Image Gallery plugin to potentially execute arbitrary code on the WordPress site.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-22345?
CVE-2026-22345 is a high-severity unsafe deserialization vulnerability in Image Gallery – Lightbox Gallery, Responsive Photo Gallery, Masonry Gallery, published on 20 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Deserialization of Untrusted Data vulnerability in A WP Life Image Gallery – Lightbox Gallery, Responsive Photo Gallery, Masonry Gallery new-image-gallery allows Object Injection.This issue affects Image Gallery – Lightbox Gallery, Responsive Photo Gallery, Masonry Gallery: from n/a through <= 1.6.0.
Weakness: CWE-502
Which versions are affected by CVE-2026-22345?
How do I fix CVE-2026-22345?
No fix has been published for CVE-2026-22345 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2026-22345 being exploited?
There is no known exploitation of CVE-2026-22345 in the wild and no public exploit code.
Sources
Also known as GHSA-5ppr-f7g3-89cw.