CVE-2026-141362
An instructor can reassign the ownership of their own course to any account through the course edit endpoint of The Hackers Labs Academy
Description
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.
INFO
Published Date :
Dec. 1, 2026, 5:17 p.m.
Last Modified :
Dec. 1, 2026, 5:17 p.m.
Remotely Exploit :
Yes !
Source :
4daa8cea-433a-44bd-9456-53b127fc289a
Affected Products
The following products are affected by CVE-2026-141362
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | MEDIUM | 4daa8cea-433a-44bd-9456-53b127fc289a | ||||
| CVSS 4.0 | MEDIUM | 4daa8cea-433a-44bd-9456-53b127fc289a |
Solution
- Update serializer to restrict instructor field writability.
- Implement stricter authorization checks for course reassignment.
- Validate target instructor role before updating course.
- Add consent mechanism for course reassignment.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-141362.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-141362 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-141362
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-141362 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-141362 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 4daa8cea-433a-44bd-9456-53b127fc289a
Dec. 01, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V4.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 Added CWE CWE-915 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/141xxx/CVE-2026-141362.json">CVE-2026-141362</a> Added Reference https://github.com/CuriosidadesDeHackers/TheHackersLabs-Academy/commit/7166a28b1b0c2c3755563d1e7099a8a4760d1b8b Added Reference https://secur0.com/en/cna/cve-list/cve-2026-141362-course-ownership-reassignment-thehackerslabs-academy