CVE-2026-141362
MEDIUM 5.3CVSS 4.0An instructor can reassign the ownership of their own course to any account through the course edit endpoint of The Hackers Labs Academy
Improperly Controlled Modification of Dynamically-Determined Object Attributes (CWE-915) in CourseWriteSerializer (backend/apps/classroom/serializers.py) of The Hackers Labs Academy allows a user holding the instructor role who owns a course to reassign that course to any other account, through a PATCH to /api/classroom/courses/<id>/edit/ carrying an instructor value. The serializer lists instructor in Meta.fields while Meta.read_only_fields holds only id and slug, so the field is writable. IsAdminOrOwnerInstructor authorises who may issue the request, the owning instructor or an admin, and it runs before the update, but it does not restrict which attributes of the object an authorised request may change. The Course.instructor foreign key carries no limit_choices_to, so the target may be any user id, including an account that does not hold the instructor role, and the receiving account takes no part in the change. Once the value has changed, IsAdminOrOwnerInstructor resolves ownership from the new value on the next request, so the original owner is refused edit access to the course. This results in the ownership attribute of a course being set to a value the requester is not authorised to set, without the consent of the account it is set to.
- Published
- 1 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- 4daa8cea-433a-44bd-9456-53b127fc289a
- NVD status
- Received
- Weakness
- CWE-915
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 4daa8cea-433a-44bd-9456-53b127fc289a (Secondary) | CVSS 4.0 | MEDIUM 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | Secur0 | CVSS 4.0 | MEDIUM 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Manuel Martínez Casasola | The Hackers Labs Academy | >= fa3cf76e064bdf090a9f8dfc1e4f2c0059f2677b, < 7166a28b1b0c2c3755563d1e7099a8a4760d1b8b | 7166a28b1b0c2c3755563d1e7099a8a4760d1b8b |
References
- https://github.com/CuriosidadesDeHackers/TheHackersLabs-Academy/commit/7166a28b1b0c2c3755563d1e7099a8a4760d1b8b · patch
- https://secur0.com/en/cna/cve-list/cve-2026-141362-course-ownership-reassignment-thehackerslabs-academy · third-party-advisory, technical-description
History
- 2 Dec 2026 15:18 UTC · CVE List: affected list changed (1 entry)
- 2 Dec 2026 15:18 UTC · NVD: updated (other details)
- 2 Dec 2026 12:48 UTC · CVE List: updated (other details)
- 1 Dec 2026 19:19 UTC · NVD: updated (other details)
- 1 Dec 2026 19:06 UTC · CVE List: updated (other details)
- 1 Dec 2026 17:18 UTC · NVD: first stored (published 1 Dec 2026)
- 1 Dec 2026 16:40 UTC · CVE List: first stored (published 1 Dec 2026)