{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22799 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-22799 is a critical vulnerability in Emlog Emlog, published on 12 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-22799 and fix it if it is affected.\n\nWhat it is: CVE-2026-22799 is a critical vulnerability in Emlog Emlog, published on 12 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22799 exists.\n\nAffected product: Emlog Emlog. 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-2026-22799/ (Markdown: https://insights.sbomify.com/CVE-2026-22799/index.md)","id":"CVE-2026-22799","markdown":"https://insights.sbomify.com/CVE-2026-22799/index.md","name":"CVE-2026-22799","record":{"aliases":["CLEANSTART-2026-FP53040","GHSA-p837-mrw9-5x5j"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"emlog CMS","requires_auth":"none","summary":"Authenticated attackers can upload malicious PHP scripts via the REST API to achieve remote code execution on emlog servers.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"emlog","vendor":"emlog"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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"}],"description":"Emlog is an open source website building system. emlog v2.6.1 and earlier exposes a REST API endpoint (/index.php?rest-api=upload) for media file uploads. The endpoint fails to implement proper validation of file types, extensions, and content, allowing authenticated attackers (with a valid API key or admin session cookie) to upload arbitrary files (including malicious PHP scripts) to the server. An attacker can obtain the API key either by gaining administrator access to enable the REST API setting, or via information disclosure vulnerabilities in the application. Once uploaded, the malicious PHP file can be executed to gain remote code execution (RCE) on the target server, leading to full server compromise.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"emlog Arbitrary File Upload Vulnerability","id":"CVE-2026-22799","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"emlog:emlog","products":["emlog:emlog"],"type":"file_upload","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"PILOS affected by a CSRF via GET request allows unintentional termination of all active video conferences","id":"CVE-2026-22800"},"packages":[],"prev":{"headline":"hermes's raw options logging may disclose secrets passed in via subcommand options argument","id":"CVE-2026-22798"},"products":["emlog"],"published":"2026-01-12","related":[{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2025-29401","kev_date_added":null,"published":"2025-03-19"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2025-25783","kev_date_added":null,"published":"2025-02-26"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2023-44973","kev_date_added":null,"published":"2023-10-03"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2023-44974","kev_date_added":null,"published":"2023-10-03"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2023-43291","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2022-23379","kev_date_added":null,"published":"2022-02-04"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2021-40883","kev_date_added":null,"published":"2021-12-14"}],"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-01-13","vendors":["emlog"]},"summary":"Authenticated attackers can upload malicious PHP scripts via the REST API to achieve remote code execution on emlog servers.","url":"https://insights.sbomify.com/CVE-2026-22799/"}