CVE-2026-57642 WordPress Gallery plugin <= 4.7.8 - SQL Injection vulnerability
Contributors can exploit SQL injection in the Gallery plugin to read or modify database contents.
- 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-57642?
CVE-2026-57642 is a high-severity SQL injection vulnerability in bestwebsoft Gallery, published on 26 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Contributor SQL Injection in Gallery <= 4.7.8 versions.
Weakness: CWE-89
Which versions are affected by CVE-2026-57642?
How do I fix CVE-2026-57642?
No fix has been published for CVE-2026-57642 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-57642 being exploited?
There is no known exploitation of CVE-2026-57642 in the wild and no public exploit code.
Sources
Also known as GHSA-pj5w-v4fq-q95p.