Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach vulnerable plugin endpoint
-
DeliverySubmit crafted serialized PHP object
-
ExploitTrigger unsafe deserialization (object injection)
-
ExecutionInvoke reachable POP gadget chain
-
ImpactCompromise site data or execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
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 | Exploitation requires that the target run Barn2 Document Library Pro at a version before 4.2.2 on a WordPress site, and that an attacker reach a code path which deserializes attacker-controlled data. The CVSS vector (AV:N/AC:L/PR:N/UI:N) as reported by Patchstack indicates network-reachable, unauthenticated exploitation with no user interaction against a default installation. The practical impact is limited by whether a usable PHP POP/gadget chain is present in the plugin or loaded dependencies - object injection without a reachable gadget chain may not yield code execution - but the available sources do not describe the trigger or confirm a chain, so this limiting factor is inferred, not stated. |
| Impact | This is a CWE-502 PHP Object Injection flaw in the Barn2 Document Library Pro WordPress plugin, rated CVSS 9.8 with vector AV:N/AC:L/PR:N/UI:N (network, low complexity, no privileges, no user interaction) and full High confidentiality/integrity/availability impact. The vuln.today Decision label is act_now, and the issue was reported by Patchstack, a credible WordPress-specialist source. However, the signals are not uniformly corroborated: there is no CISA KEV entry and no EPSS score supplied, so exploitation probability cannot be quantified from the input, and the single reference is the Patchstack database advisory rather than working exploit code. PHP object injection severity is heavily contingent on the presence of a usable POP/gadget chain in the plugin or a loaded dependency; the available sources do not state whether such a chain exists, so the 9.8 C:H/I:H/A:H rating reflects worst-case exploitability rather than a demonstrated end-to-end impact. Bottom line: the CVSS metrics, the WordPress-plugin attack surface, and the act_now label make this a genuine patch priority, but the absence of KEV, EPSS, and confirmed exploit code means the 'automatable mass-exploitation' assumption is inferred, not proven - treat as high priority while verifying whether a public gadget chain makes it practically weaponizable. |
| Exploit ScenarioDerived | A remote attacker sends crafted input to a vulnerable endpoint of a WordPress site running Document Library Pro before 4.2.2, supplying a serialized PHP object that the plugin unsafely deserializes. If a suitable gadget (POP) chain is reachable, this object injection can be chained to actions such as arbitrary file operations, SQL interaction, or code execution, compromising the site. No public exploit code is identified in the provided sources; the only reference is the Patchstack advisory, and the exact trigger is not described. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 15, 2026
PHP object injection in the Barn2 Plugins Document Library Pro WordPress plugin before version 4.2.2 allows remote attackers to feed crafted serialized data into a deserialization code path, with the vendor-reported CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8) indicating network-reachable, unauthenticated exploitation with no user interaction and High confidentiality, integrity and availability impact. Any WordPress site running an affected version of the plugin is in scope. No public exploit code was identified at time of analysis, and no CISA KEV entry or EPSS score accompanies this record; the Patchstack-sourced report is nonetheless prioritized as act_now. Whether object injection escalates to code execution or other concrete impact depends on a usable PHP gadget chain being present in the plugin or its loaded dependencies, a limiting factor that is inferred rather than confirmed by the available sources.
RemediationAI
Vendor-released patch: update Document Library Pro to 4.2.2 or later, applied through the WordPress plugin update mechanism or by downloading the fixed release from the vendor, using the advisory at https://patchstack.com/database/wordpress/plugin/document-library-pro/vulnerability/wordpress-document-library-pro-plugin-4-2-2-php-object-injection-vulnerability?_s_id=cve as the tracking reference; because the plugin is a commercial product, confirm the site's license/subscription permits the 4.2.2 download. Where 4.2.2 cannot be deployed immediately, deactivate and remove the plugin until it can be, accepting the loss of document library functionality on affected pages; the supplied sources identify no narrower workaround, filter or configuration toggle that blocks the vulnerable deserialization path, so no other mitigation is confirmed.
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
The flaw is CWE-502, Deserialization of Untrusted Data, in a commercial WordPress plugin distributed by Barn2 Plugins. In PHP, passing attacker-influenced input to unserialize() lets an attacker instantiate arbitrary classes and control their properties, which is known as PHP Object Injection; the resulting impact is governed by the magic methods (__wakeup, __destruct, __toString) available in the loaded codebase, since a POP/gadget chain is what turns object injection into file writes, SQL execution or remote code execution. CPE data identifies the affected package as barn2_plugins:document_library_pro with all versions matched by the wildcard, i.e. every release prior to the fixed 4.2.2. The Patchstack advisory reference (patchstack.com/database/wordpress/plugin/document-library-pro/vulnerability/...-4-2-2-php-object-injection-vulnerability) is the sole public source; neither it nor the supplied intelligence describes which request parameter, AJAX action, REST route or shortcode handler reaches the deserialization sink, so the trigger is not described in the available sources. Per the independent assessment, the CVSS metrics are severity descriptors and do not themselves establish the mechanism, and the presence of a reachable gadget chain remains unverified.
Know when Document Library Pro 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:U/C:H/I:H/A:H
Source rates it unauthenticated network object injection (AV:N/AC:L/PR:N/UI:N); C/I/A set High as worst-case for CWE-502, though impact is contingent on an undescribed gadget chain.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
2DescriptionCVE.org
Deserialization of Untrusted Data vulnerability in Barn2 Plugins Document Library Pro document-library-pro allows Object Injection.This issue affects Document Library Pro: from n/a before 4.2.2.
Articles & Coverage 1
Executive ViewAI
CVE-2026-122662 is a critical vulnerability in the Barn2 Document Library Pro WordPress plugin (before version 4.2.2) that allows unauthenticated attackers to inject PHP objects, potentially leading to full site compromise. Any organization hosting this plugin on its WordPress sites is at risk, and leadership should prioritize remediation to protect data confidentiality, integrity, and availability.
Apply vendor patch.
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
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
EUVD-2026-126043
GHSA-v4j4-5mx7-gp87
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB