Skip to main content

AF Companion CVE-2026-84738

| EUVDEUVD-2026-82660 CRITICAL
Code Injection (CWE-94)
2026-09-18 WPScan GHSA-7mpj-9p6h-7gr6
9.1
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as store-management user
  2. Delivery
    Access AF Companion import feature
  3. Exploit
    Upload malicious PHP file (no type validation)
  4. Execution
    Request uploaded webshell via URL
  5. Persist
    Execute arbitrary code on server
  6. Impact
    Full site/host compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated WordPress account with the plugin's 'store-management' role (a WooCommerce shop-manager-tier account, not full admin), plus access to AF Companion's file import feature on a site running the plugin before version 2.2.0. The only true prerequisite beyond that account is that the import feature is reachable - no user interaction, no non-default configuration, and no special platform beyond a standard WordPress install with this plugin. The limiting factor is the authenticated mid-tier role: sites that never grant store-management accounts to untrusted parties face lower practical risk, though such accounts are routinely delegated on multi-vendor/store setups.

Impact

This is a genuinely high-priority vulnerability. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H, score 9.1) describes network-reachable, low-complexity arbitrary file upload leading to full RCE with complete confidentiality/integrity/availability impact - the impact rating is credible because uploading a PHP webshell yields full server-side code execution. A publicly available exploit exists (WPScan), which raises real-world risk beyond raw score, and a vendor patch (2.2.0) is available. Two signals should temper prioritization: (1) the vector claims PR:H, but the description explicitly calls the required role 'low-privileged store-management' - this is a conflict; the practical privilege bar is a shop/store-manager account (mid-tier, not admin), which I'd rate PR:L, meaning the barrier is lower than 'high privilege' implies but still requires a valid authenticated account. (2) No EPSS score and no CISA KEV entry are present, so there is no evidence of widespread active exploitation despite public POC - treat this as exploitable-and-patchable rather than mass-exploited. Net: patch promptly, especially on any site that grants store-management accounts to semi-trusted users.

Exploit ScenarioDerived

An attacker who holds (or phishes/registers into) a store-management-level account browses to the plugin's import feature and uploads a PHP file disguised as an import payload; because the plugin does not validate file type, the file lands in a web-accessible path and the attacker requests it directly to execute arbitrary PHP as the web server. A public exploit reference is available via WPScan, lowering the skill required.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 18, 2026

Remote code execution in the AF Companion WordPress plugin before version 2.2.0 lets an authenticated user who holds the plugin's low-privileged 'store-management' role upload arbitrary files, including PHP, through an import feature that performs no file-type validation. Because the uploaded PHP is executable by the web server, an attacker with that mid-tier account - a WooCommerce shop-manager-tier role rather than a full administrator - can place and run code on the host with no user interaction and no non-default configuration required. Publicly available exploit code exists for this issue, and the vendor has released version 2.2.0 to fix it; the practical limiting factor is the authenticated mid-tier role, so sites that never delegate store-management accounts to untrusted parties face materially lower risk.

RemediationAI

Vendor-released patch: upgrade AF Companion to version 2.2.0 or later - this is the only fix that closes the arbitrary-file-upload path, and it should be applied immediately on any site where store-management accounts are delegated or shared with vendors, staff, or third parties. Until the upgrade is deployed, apply compensating controls in this order of practicality: first, if the import feature is not operationally required, disable it (via plugin settings or by removing the relevant capability from the store-management role) so the vulnerable code path is unreachable - the trade-off is loss of that import workflow; second, tighten the store-management role so that only fully trusted accounts hold it, or suspend such accounts while unpatched - this reduces but does not eliminate risk from a legitimate-but-compromised account; third, block PHP execution inside the WordPress uploads directory with web server rules (for example nginx location blocks or an Apache/php-fpm handler restriction on wp-content/uploads) - this neutralizes PHP payloads that land in uploads but does nothing if the plugin writes elsewhere, and it will break any legitimate PHP served from that path; fourth, deploy a WAF rule filtering multipart uploads carrying PHP content or double extensions into the plugin's import endpoint, accepting that signature-based filtering is routinely bypassed. Separately, hunt for already-uploaded PHP artifacts in upload directories and review web server logs for POSTs to the plugin's import route from store-management accounts. Details and any vendor guidance are in the WPScan advisory at https://wpscan.com/vulnerability/1d6c7f60-570e-4729-a2d5-463e0b62942e/, with the NVD record at https://nvd.nist.gov/vuln/detail/CVE-2026-84738.

Affected VersionsENISA

AF Companion 0 <2.2.0

Affected Packages

euvd af_companion fix: 2.2.0

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

The flaw is an arbitrary file upload rooted in CWE-94 (improper control of generation of code / code injection): AF Companion's import feature accepts user-supplied files without validating their type or extension, so a file containing PHP is written into a location the web server can execute. This is the classic WordPress plugin upload-to-RCE pattern - untrusted input reaches a file-write path, the written artifact contains executable script, and the server interprets it in the context of the site. AF Companion is a WordPress/WooCommerce-adjacent plugin, and the offending role is the plugin's store-management (shop-manager-tier) capability set, which is commonly delegated on multi-vendor or store-operations setups. The supplied CPE, cpe:2.3:a:unknown:af_companion:*:*:*:*:*:*:*:*, records no resolved vendor and an open version wildcard, so version state must be established from the plugin itself rather than from CPE matching; the EUVD record (EUVD-2026-82660) and WPScan both scope impact to AF Companion 0 through <2.2.0. Our assessment rates this AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, i.e. network-reachable, low attack complexity, requiring one authenticated low-privileged account, no user interaction, with full loss of confidentiality, integrity and availability on the affected host. The disclosure originated with WPScan, and an exploit reference is published alongside the advisory.

Know when Af Companion 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 (WPScan) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Store-management role is authenticated but mid-tier so PR:L (not PR:H); network/low-complexity file upload to RCE gives full C:H/I:H/A:H; scope kept S:U as compromise stays within the web host.

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

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

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

Lifecycle Timeline

3
Patch available
Sep 18, 2026 - 07:01 EUVD
CVE Published
Sep 18, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 18, 2026 - 06:00 cve.org
CRITICAL 9.1

DescriptionCVE.org

The AF Companion WordPress plugin before 2.2.0 does not validate the type of files uploaded through one of its import features, allowing users with a low-privileged store-management role to upload arbitrary files, including PHP ones, leading to Remote Code Execution.

Technical POC Analysis

The flaw is missing file-type validation on an upload path in the AF Companion WordPress plugin before 2.2.0.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical remote code execution vulnerability in the AF Companion WordPress plugin (versions before 2.2.0) lets a user holding the plugin's store-management role upload and execute arbitrary PHP code on the hosting server, turning a mid-tier WooCommerce-style account into full server compromise. Publicly available exploit code exists, so any organization that delegates store-management access to staff, contractors, or third parties should treat affected installations as an immediate exposure to customer data, payment configurations, and connected systems. The vendor has released version 2.2.0 to fix the issue, making remediation straightforward if inventory and patching occur promptly.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche WooCommerce-adjacent WordPress plugin, no mass deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
4 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 Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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