CVE-2026-39574 WordPress InPost Gallery plugin <= 2.1.4.6 - SQL Injection vulnerability

Critical 9.3 Published Updated

Unauthenticated attackers can perform SQL injection attacks on the InPost Gallery WordPress plugin, potentially reading or modifying database contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-39574?

CVE-2026-39574 is a critical SQL injection vulnerability in RealMag777 InPost Gallery, published on 16 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Unauthenticated SQL Injection in InPost Gallery <= 2.1.4.6 versions.

Weakness: CWE-89

Which versions are affected by CVE-2026-39574?

How do I fix CVE-2026-39574?

No fix has been published for CVE-2026-39574 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-39574 being exploited?

There is no known exploitation of CVE-2026-39574 in the wild and no public exploit code.

Sources

Also known as GHSA-6h64-2vq4-m659.

Is CVE-2026-39574 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free