{"answers":{"affected":"2 open source packages ship an affected version, including chamilo/chamilo-lms.","exploited":"There is no known exploitation of CVE-2026-45140 in the wild and no public exploit code.","fix":"Upgrade chamilo/chamilo-lms to 2.0.1 or later.","what":"CVE-2026-45140 is a critical vulnerability in chamilo-lms, published on 17 Sep 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-45140 and fix it if it is affected.\n\nWhat it is: CVE-2026-45140 is a critical vulnerability in chamilo-lms, published on 17 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-45140 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- chamilo/chamilo-lms (Packagist): affected all versions; fixed in 2.0.1\n- chamilo/chamilo-lms (Packagist): affected all versions; fixed in 2.0.1\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-45140/ (Markdown: https://insights.sbomify.com/CVE-2026-45140/index.md)","id":"CVE-2026-45140","markdown":"https://insights.sbomify.com/CVE-2026-45140/index.md","name":"CVE-2026-45140","record":{"aliases":["GHSA-g4c3-4g96-6g4m"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Chamilo LMS","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary code on Chamilo LMS servers via the CStudio upload flow.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-219","name":"Storage of File with Sensitive Data Under Web Root"}],"description":"Chamilo LMS is an open-source learning management system. Prior to 2.0.1, Chamilo LMS allows an unauthenticated remote attacker to execute arbitrary code on the server. The authoritative advisory does not identify the affected endpoint, component, input, or exploitation mechanism. This issue is fixed in version 2.0.1.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2026-09-18","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-18T18:24:19Z","kind":"github_poc","ref":"https://github.com/abraxas/CVE-2026-45140","stars":0,"title":"CVE-2026-45140 - chamilo - Critical 9.8 - Unauthenticated POST /plugin/CStudio/editor/import-project... - Remote Code Execution"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Chamilo LMS CStudio upload flow allows unauthenticated remote code execution","id":"CVE-2026-45140","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Chamilo LMS: Student-to-admin stored XSS in private messages via v-html","id":"CVE-2026-45143"},"packages":[{"ecosystem":"Packagist","fixed":["2.0.1"],"introduced":["0"],"last_affected":[],"package":"chamilo/chamilo-lms","purl":null,"source":"GHSA-g4c3-4g96-6g4m"},{"ecosystem":"Packagist","fixed":["2.0.1"],"introduced":["0"],"last_affected":[],"package":"chamilo/chamilo-lms","purl":"pkg:composer/chamilo/chamilo-lms","source":"GHSA-g4c3-4g96-6g4m"}],"prev":{"headline":"CI4MS Fileeditor allows deletion and rename of critical application files due to missing extension allowlist on destructive operations","id":"CVE-2026-45139"},"products":["chamilo-lms"],"published":"2026-09-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-18","vendors":["chamilo"]},"summary":"Unauthenticated attackers can execute arbitrary code on Chamilo LMS servers via the CStudio upload flow.","url":"https://insights.sbomify.com/CVE-2026-45140/"}