{"id":"CVE-2026-31939","summary":"Path Traversal (Arbitrary File Delete) in Chamilo LMS","details":"Chamilo LMS is a learning management system. Prior to 1.11.38, there is a path traversal in main/exercise/savescores.php leading to arbitrary file feletion. User input from $_REQUEST['test'] is concatenated directly into filesystem path without canonicalization or traversal checks. This vulnerability is fixed in 1.11.38.","aliases":["GHSA-8q8c-v75x-q2hx"],"modified":"2026-08-12T03:51:29.215065250Z","published":"2026-04-10T17:32:29.252Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-73"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31939.json"},"references":[{"type":"WEB","url":"https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.38"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31939.json"},{"type":"ADVISORY","url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-8q8c-v75x-q2hx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31939"},{"type":"FIX","url":"https://github.com/chamilo/chamilo-lms/commit/4dddcc19d36119da27b7c49eb84a035800abae78"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/chamilo/chamilo-lms","events":[{"introduced":"0"},{"fixed":"abb5547a46a96339dfe6079e9b7ecd329bca181a"},{"fixed":"4dddcc19d36119da27b7c49eb84a035800abae78"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.11.38"}]}}],"versions":["v1.11.36","v1.11.32","v1.11.30","v1.11.30-rc.1","v1.11.28","v1.11.26","v1.11.26-rc.1","v1.11.24","v1.11.22","v1.11.22-beta.2","v1.11.22-beta.1","v1.11.20-beta.1","v1.11.20","v1.11.18","v1.11.14","v1.11.14-beta.1","v1.11.12","v1.11.10","v1.11.6","v1.11.6-alpha.1","v1.9.8","CHAMILO_1_9_6_STABLE","CHAMILO_1_9_6_RC_2","CHAMILO_1_9_6_RC_1","CHAMILO_1_9_4_STABLE","CHAMILO_1_9_4_RC_1","CHAMILO_1_9_4_ALPHA_1","CHAMILO_1_9_2_STABLE_QUARTER","CHAMILO_1_9_2_STABLE","CHAMILO_1_9_0_STABLE_3","CHAMILO_1_9_0_STABLE_2","CHAMILO_1_9_0_RC_1","CHAMILO_1_8_8_4_STABLE","CHAMILO_1_9_0_ALPHA_4","CHAMILO_1_9_0_ALPHA_2","CHAMILO_1_9_0_ALPHA_1","CHAMILO_1_9_0_PRE_ALPHA","CHAMILO_1_8_8.3_STABLE_4","CHAMILO_1_8_8_2_STABLE_2","CHAMILO_1_8_8_2_STABLE","CHAMILO_1_8_8_2_RC_1","CHAMILO_1_8_8_BETA_2","CHAMILO_1_8_8_BETA_1","CHAMILO_1_8_8_ALPHA","CHAMILO_1_8_7_STABLE_BIS","CHAMILO_1_8_7_STABLE","CHAMILO_1_8_7_RC2","CHAMILO_1_8_7_RC_1","CHAMILO_1_8_7_ALPHA_2","CHAMILO_1_8_7_ALPHA_1","v1.8.6.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31939.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H"}]}