Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress sites running InPost Gallery ≤ 2.1.4.6
-
DeliverySend crafted HTTP request with SQL payload to vulnerable endpoint
-
ExploitTrigger injection in unsanitized parameter
-
ExecutionExtract wp_users hashes and secret keys via UNION SELECT
-
PersistCrack hashes or forge auth cookies
-
ImpactLog in as administrator and install backdoor
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of the InPost Gallery WordPress plugin at version 2.1.4.6 or earlier, reachable over HTTP/HTTPS on the public-facing WordPress site. The only prerequisites are that the plugin is installed and activated and that the vulnerable endpoint (not enumerated in the provided advisory snippet) is reachable by the attacker. Limiting factors: the plugin must be present (not bundled with WordPress core, so only sites that explicitly installed it are affected), and the vulnerable endpoint must not be blocked by a pre-existing WAF or IP allowlist; no user interaction, no authentication, and no non-default configuration is required. |
| Impact | The CVSS vector AV:N/AC:L/PR:N/UI:N indicates network-reachable, low-complexity, no-auth, no-user-interaction exploitation - the worst-case prerequisite profile. Impact metrics are unusual: C:H (high confidentiality, consistent with data extraction via UNION-based SQLi), I:N (no integrity impact, suggesting the injection point is read-only - likely a SELECT context rather than INSERT/UPDATE), and A:L (low availability, consistent with heavy queries causing DB load). EPSS is not provided in the input and the vulnerability is not on CISA KEV, so widespread automated exploitation is not confirmed; however, WordPress plugin SQLi reported by Patchstack is routinely incorporated into mass-scanning toolchains within days, so absence of KEV listing should not be read as low priority. No public exploit identified at time of analysis, but the CVSS-asserted I:N rating should be verified against the actual Patchstack advisory - defenders should not assume database writes are impossible without confirming the exact injection sink. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP request to a vulnerable InPost Gallery endpoint on a public WordPress site, embedding a UNION-based or boolean-blind SQL payload in a parameter consumed by the plugin. The injected query extracts wp_users password hashes, wp_options secret_keys, or session tokens from the WordPress database, which the attacker then uses to pivot to administrator account takeover and full site compromise. No public exploit identified at time of analysis, but the CVSS AV:N/AC:L/PR:N/UI:N profile means automated mass-scanning campaigns can trivially weaponize details once the patch diff or advisory specifics are public. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
Unauthenticated SQL injection in the InPost Gallery WordPress plugin (versions 2.1.4.6 and earlier) by realmag777 allows remote attackers to inject arbitrary SQL queries without any authentication. The flaw carries a CVSS 9.3 with a scope change, meaning successful exploitation can extract sensitive database contents and impact resources beyond the vulnerable component. No public exploit identified at time of analysis, but the unauthenticated nature and the visibility of Patchstack-reported WordPress flaws make opportunistic scanning likely.
RemediationAI
No vendor-released patch identified at time of analysis - the provided references cite the Patchstack advisory but no fixed version is enumerated in the input. Site operators should consult the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/inpost-gallery/vulnerability/wordpress-inpost-gallery-plugin-2-1-4-6-sql-injection-vulnerability) for any post-2.1.4.6 release and upgrade as soon as one is published. Until a fix is available, compensating controls include deactivating and removing the InPost Gallery plugin entirely (cleanest mitigation but breaks any gallery shortcodes/widgets currently embedded in posts), deploying a WAF rule (Patchstack, Wordfence, or Sucuri virtual-patch) that filters SQL meta-characters and UNION/SELECT patterns on requests reaching the plugin's endpoints (may produce false positives on legitimate admin queries), or restricting access to the plugin's AJAX/REST endpoints via web-server-level IP allowlisting where the gallery is admin-only. Generic WordPress hardening (limiting database user privileges to drop FILE and SUPER privileges) limits but does not prevent data exfiltration via SELECT-based injection.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
InPost Gallery is a WordPress plugin (CPE cpe:2.3:a:realmag777:inpost_gallery) that provides image gallery functionality for WordPress sites. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), meaning user-controlled input is concatenated or improperly sanitized before being passed to a database query - typical pathways in WordPress plugins include unsanitized $_GET / $_POST parameters consumed via $wpdb->query() or direct mysqli calls without using $wpdb->prepare() with placeholders. Because the CVSS scope is Changed (S:C), the injected query likely runs in a database context with privileges beyond the plugin's own logical boundary, consistent with WordPress's shared wp_ database user across all plugins and core tables (wp_users, wp_options, wp_usermeta).
Know when Inpost Gallery gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
Unauthenticated network-reachable SQLi (AV:N/AC:L/PR:N/UI:N); scope changes via shared WordPress DB user (S:C); read-only injection yields C:H, I:N, and DB-load A:L.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Unauthenticated SQL Injection in InPost Gallery <= 2.1.4.6 versions.
Executive ViewAI
Organizations using the InPost Gallery WordPress plugin (versions 2.1.4.6 and earlier) face critical data breach risk from an unpatched SQL injection vulnerability that requires no authentication to exploit. Attackers can directly access and extract sensitive business and customer data stored in the database, and scanning activity is likely to increase as the vulnerability becomes publicly known. Immediate removal of this plugin is essential to prevent potential data loss, regulatory violations, and reputational damage.
Plugin removal is the primary remediation. If immediate removal cannot be completed within 24 hours, implement interim mitigations: (1) web application firewall (WAF) rules configured to block common SQL injection patterns, (2) database activity monitoring and alerting for anomalous SQL queries, (3) database user account segregation to minimize exposure of sensitive data. These interim measures do not eliminate the vulnerability and must be followed by complete plugin removal within 24 hours.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Inpost Gallery
View allThe InPost Gallery WordPress plugin before 2.1.4.1 insecurely uses PHP's extract() function when rendering HTML views, a
The InPost Gallery WordPress plugin, in versions < 2.2.2, is affected by a reflected cross-site scripting vulnerability
The The InPost Gallery plugin for WordPress is vulnerable to arbitrary shortcode execution via the inpost_gallery_get_sh
EUVD-2026-37046
GHSA-6h64-2vq4-m659
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB