{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-61532",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-07-10T16:27:03.092Z",
        "datePublished": "2026-11-18T18:23:59.183Z",
        "dateUpdated": "2026-11-18T18:23:59.183Z"
    },
    "containers": {
        "cna": {
            "title": "Chamilo LMS: ZIP Slip / Path Traversal in CourseRestorer leads to arbitrary file write and RCE by any course teacher",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-22",
                            "lang": "en",
                            "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-73",
                            "lang": "en",
                            "description": "CWE-73: External Control of File Name or Path",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-94",
                            "lang": "en",
                            "description": "CWE-94: Improper Control of Generation of Code",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 9,
                        "baseSeverity": "CRITICAL",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-97gp-5f3j-vwqr",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-97gp-5f3j-vwqr"
                },
                {
                    "name": "https://github.com/chamilo/chamilo-lms/pull/8569",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chamilo/chamilo-lms/pull/8569"
                },
                {
                    "name": "https://github.com/chamilo/chamilo-lms/commit/a2e404fb1d512908280011aa3a2211fc2fcb6ad8",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chamilo/chamilo-lms/commit/a2e404fb1d512908280011aa3a2211fc2fcb6ad8"
                },
                {
                    "name": "https://github.com/chamilo/chamilo-lms/commit/d23787c8c79a4ff09d46f73fcf54ccce1bbcba15",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chamilo/chamilo-lms/commit/d23787c8c79a4ff09d46f73fcf54ccce1bbcba15"
                },
                {
                    "name": "https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.40",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.40"
                },
                {
                    "name": "https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.3"
                }
            ],
            "affected": [
                {
                    "vendor": "chamilo",
                    "product": "chamilo-lms",
                    "versions": [
                        {
                            "version": "< 1.11.40",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.0.0, < 2.0.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-11-18T18:23:59.183Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Chamilo LMS is an open-source learning management system. Prior to 1.11.40 and 2.0.3, src/Chamilo/CourseBundle/Component/CourseCopy/CourseRestorer.php and src/CourseBundle/Component/CourseCopy/CourseRestorer.php use paths supplied by an imported legacy course backup without consistently confining them to the extraction directory. A course teacher can import a crafted backup containing parent-directory path segments, causing file operations to write attacker-controlled content outside the intended destination, including PHP-executable or automatically loaded locations. This can result in code execution as the PHP process and compromise course data, user data, credentials, and the host. This issue is fixed in versions 1.11.40 and 2.0.3."
                }
            ],
            "source": {
                "advisory": "GHSA-97gp-5f3j-vwqr",
                "discovery": "UNKNOWN"
            }
        }
    }
}