{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.11.38"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "abb5547a46a96339dfe6079e9b7ecd329bca181a"
            },
            {
              "fixed": "4dddcc19d36119da27b7c49eb84a035800abae78"
            }
          ],
          "repo": "https://github.com/chamilo/chamilo-lms",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8q8c-v75x-q2hx"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-31939",
  "modified": "2026-08-12T03:51:29.215065250Z",
  "published": "2026-04-10T17:32:29.252Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Path Traversal (Arbitrary File Delete) in Chamilo LMS"
}