Summary
CVE-2026-122662 is a deserialization of untrusted data (PHP object injection, CWE-502) vulnerability in the Barn2 Plugins Document Library Pro WordPress plugin. It affects all versions before 4.2.2 and is rated Critical (CVSS v3.1 9.8).
Technical details
- Root cause: Deserialization of untrusted data (CWE-502), which allows object injection (CAPEC-586).
- Trigger conditions: Per the CVE record, no privileges and no user interaction are required.
- Attack vector: Network, low attack complexity.
- Impact: The CVE record rates confidentiality, integrity and availability impact as High. The record does not describe a specific exploit chain or payload.
Affected software
- Document Library Pro (document-library-pro) by Barn2 Plugins: all versions before 4.2.2 (up to and including 4.2.1).
Severity
- CVSS v3.1 base score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade Document Library Pro to version 4.2.2 or later.
- If you cannot patch right away, restrict external access to affected WordPress sites or deactivate the plugin until the update is applied. No vendor-documented workaround was found.

