Skip to main content

InPost Gallery EUVDEUVD-2026-37046

| CVE-2026-39574 CRITICAL
SQL Injection (CWE-89)
2026-06-16 Patchstack GHSA-6h64-2vq4-m659
9.3
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify WordPress sites running InPost Gallery ≤ 2.1.4.6
  2. Delivery
    Send crafted HTTP request with SQL payload to vulnerable endpoint
  3. Exploit
    Trigger injection in unsanitized parameter
  4. Execution
    Extract wp_users hashes and secret keys via UNION SELECT
  5. Persist
    Crack hashes or forge auth cookies
  6. Impact
    Log 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

InPost Gallery n/a ≤2.1.4.6

Affected Packages

euvd inpost_gallery no fix

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

Vendor (Patchstack) PRIMARY 9.3 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
vuln.today AI 9.3 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
Low

DescriptionCVE.org

Unauthenticated SQL Injection in InPost Gallery <= 2.1.4.6 versions.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.4%
Top 68% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy