CVE-2026-4057: CWE-862 Missing Authorization in codename065 Download Manager
The Download Manager plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the `makeMediaPublic()` and `makeMediaPrivate()` functions in all versions up to, and including, 3.3.51. This is due to the functions only checking for `edit_posts` capability without verifying post ownership via `current_user_can('edit_post', $id)`, and the destructive operations executing before the admin-level check in `mediaAccessControl()`. This makes it possible for authenticated attackers, with Contributor-level access and above, to strip all protection metadata (password, access restrictions, private flag) from any media file they do not own, making admin-protected files publicly accessible via their direct URL.
AI Analysis
Technical Summary
CVE-2026-4057 is a missing authorization vulnerability (CWE-862) in the codename065 Download Manager WordPress plugin. The issue arises because the makeMediaPublic() and makeMediaPrivate() functions only check for the edit_posts capability but do not verify if the user owns the post via current_user_can('edit_post', $id). Additionally, destructive operations occur before the admin-level check in mediaAccessControl(), enabling authenticated users with Contributor-level privileges or higher to strip protection metadata (passwords, access restrictions, private flags) from media files they do not own, making these files publicly accessible through their direct URLs.
Potential Impact
Authenticated users with Contributor-level access or higher can bypass intended access controls on media files by removing protection metadata. This leads to unauthorized exposure of admin-protected media files, potentially leaking sensitive or restricted content. The vulnerability does not allow confidentiality compromise of other data or denial of service but impacts integrity by unauthorized modification of media access settings.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Contributor-level access where possible and monitor for suspicious activity related to media file access. Avoid granting edit_posts capability broadly to untrusted users. Follow vendor communications for updates on patches or official mitigations.
CVE-2026-4057: CWE-862 Missing Authorization in codename065 Download Manager
Description
The Download Manager plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the `makeMediaPublic()` and `makeMediaPrivate()` functions in all versions up to, and including, 3.3.51. This is due to the functions only checking for `edit_posts` capability without verifying post ownership via `current_user_can('edit_post', $id)`, and the destructive operations executing before the admin-level check in `mediaAccessControl()`. This makes it possible for authenticated attackers, with Contributor-level access and above, to strip all protection metadata (password, access restrictions, private flag) from any media file they do not own, making admin-protected files publicly accessible via their direct URL.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-4057 is a missing authorization vulnerability (CWE-862) in the codename065 Download Manager WordPress plugin. The issue arises because the makeMediaPublic() and makeMediaPrivate() functions only check for the edit_posts capability but do not verify if the user owns the post via current_user_can('edit_post', $id). Additionally, destructive operations occur before the admin-level check in mediaAccessControl(), enabling authenticated users with Contributor-level privileges or higher to strip protection metadata (passwords, access restrictions, private flags) from media files they do not own, making these files publicly accessible through their direct URLs.
Potential Impact
Authenticated users with Contributor-level access or higher can bypass intended access controls on media files by removing protection metadata. This leads to unauthorized exposure of admin-protected media files, potentially leaking sensitive or restricted content. The vulnerability does not allow confidentiality compromise of other data or denial of service but impacts integrity by unauthorized modification of media access settings.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Contributor-level access where possible and monitor for suspicious activity related to media file access. Avoid granting edit_posts capability broadly to untrusted users. Follow vendor communications for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-12T16:54:21.437Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d857791cc7ad14da4a0d4f
Added to database: 4/10/2026, 1:50:49 AM
Last enriched: 4/17/2026, 12:03:41 PM
Last updated: 5/24/2026, 7:22:37 PM
Views: 69
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.