CVE-2022-50939 e107 CMS v3.2.1 - Upload Restriction Bypass with Path Traversal File Override

High 8.6 Published Updated

Authenticated administrators can overwrite arbitrary server files via path traversal in the Media Manager, leading to complete system compromise.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-50939?

CVE-2022-50939 is a high-severity path traversal vulnerability in E107 E107, published on 13 Jan 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

e107 CMS version 3.2.1 contains a critical file upload vulnerability that allows authenticated administrators to override arbitrary server files through path traversal. The vulnerability exists in the Media Manager's remote URL upload functionality (image.php) where the upload_caption parameter is not properly sanitized. An attacker with administrative privileges can use directory traversal sequences (../../../) in the upload_caption field to overwrite critical system files outside the intended upload directory. This can lead to complete compromise of the web application by overwriting configuration files, executable scripts, or other critical system components. The vulnerability was discovered by Hubert Wojciechowski and affects the image.php component in the admin interface.

Weakness: CWE-434, CWE-22

Which versions are affected by CVE-2022-50939?

It affects 1 product.

Products include E107 E107.

How do I fix CVE-2022-50939?

No fix has been published for CVE-2022-50939 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-50939 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-50939 exists.

All E107 E107 vulnerabilities

Sources

Also known as GHSA-wj49-35g3-hmvr.

Is CVE-2022-50939 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free