{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-50939 exists.","fix":"No fix has been published for CVE-2022-50939 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2022-50939 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-50939 exists.\n\nAffected product: E107 E107. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-50939/ (Markdown: https://insights.sbomify.com/CVE-2022-50939/index.md)","id":"CVE-2022-50939","markdown":"https://insights.sbomify.com/CVE-2022-50939/index.md","name":"CVE-2022-50939","record":{"aliases":["GHSA-wj49-35g3-hmvr"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"e107 CMS","requires_auth":"high_privilege","summary":"Authenticated administrators can overwrite arbitrary server files via path traversal in the Media Manager, leading to complete system compromise.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"e107","vendor":"e107"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"e107 CMS v3.2.1 - Upload Restriction Bypass with Path Traversal File Override","id":"CVE-2022-50939","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"e107:e107","products":["e107:e107"],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":4,"next":{"headline":"Knap Advanced PHP Login 3.1.3 Persistent Cross-Site Scripting via Name Parameter","id":"CVE-2022-50940"},"packages":[],"prev":{"headline":"CONTPAQi® AdminPAQ 14.0.0 - Unquoted Service Path","id":"CVE-2022-50938"},"products":["e107 CMS"],"published":"2026-01-13","related":[{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2021-27885","kev_date_added":null,"published":"2021-03-02"},{"cvss_score":8.8,"headline":"Deserialization in n/a","id":"CVE-2016-10753","kev_date_added":null,"published":"2019-05-24"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2018-15901","kev_date_added":null,"published":"2018-08-28"},{"cvss_score":8.7,"headline":"e107 CMS v3.2.1 - Upload restriction bypass (Authenticated [Admin])+ Server file override","id":"CVE-2022-50916","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.6,"headline":"e107 CMS v3.2.1 - Admin Upload Restriction Bypass + RCE","id":"CVE-2022-50907","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2011-1513","kev_date_added":null,"published":"2011-11-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["E107"]},"summary":"Authenticated administrators can overwrite arbitrary server files via path traversal in the Media Manager, leading to complete system compromise.","url":"https://insights.sbomify.com/CVE-2022-50939/"}