Barn2 Plugins Document Library Pro plugin for WordPress Flaw CVE-2026-122662: Update Now
Published November 15, 2026 · Last updated November 15, 2026
CVE-2026-122662 is a critical PHP object injection flaw in Document Library Pro, a WordPress plugin from Barn2 Plugins. Patchstack, the CVE Numbering Authority (CNA) that published the record, says versions before 4.2.2 are affected and 4.2.2 is fixed.
Neither Patchstack nor the CVE record says how many sites run the plugin. CISA has not added the issue to its Known Exploited Vulnerabilities list, and no attacks have been publicly reported.
Who is affected
WordPress sites running Document Library Pro (package document-library-pro) at any version before 4.2.2.
What goes wrong
The CVE record describes a "Deserialization of Untrusted Data vulnerability" that "allows Object Injection." Patchstack's advisory title calls it a "PHP Object Injection vulnerability." In general terms, this kind of flaw means the plugin turns attacker-supplied data back into PHP objects. Depending on the other code on the site, that can let an attacker run code or tamper with data. The official sources give no further technical detail.
Severity and who scored it
The score of CVSS 3.1 9.8 (Critical) comes from Patchstack in its role as CNA (vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). Read plainly, that vector describes an attack over the internet that needs neither an account nor any action by a victim. NVD had not responded to our request for its own analysis.
The fix
The CVE record's solution reads: "Update the WordPress Document Library Pro plugin to the latest available version (at least 4.2.2)."
What to do
- WordPress site owners and administrators: check whether Document Library Pro is installed and which version you run. If it is older than 4.2.2, update to 4.2.2 or later through the vendor's update channel.
- Agencies and hosts: look for
document-library-probelow 4.2.2 across the sites you manage. - No quick update possible? Switching the plugin off until it is patched removes the exposure. That suggestion is ours, not Barn2's or Patchstack's.
Timeline
- November 13, 2026: Patchstack published its database entry.
- November 15, 2026: CVE-2026-122662 published by Patchstack.
Sources
- Patchstack advisory: https://patchstack.com/database/wordpress/plugin/document-library-pro/vulnerability/wordpress-document-library-pro-plugin-4-2-2-php-object-injection-vulnerability
- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-122662
Sources
General education only, not security advice. Facts checked against the sources above on the date shown.