# 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

Status: published. Published: 2026-12-01. Updated: 2026-12-01.

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.

## Remediation

- fix: Update to commit 7166a28b1b0c2c3755563d1e7099a8a4760d1b8b or later, which adds a validate_instructor method to CourseWriteSerializer that accepts a changed instructor only from a request whose user holds the admin role and rejects it otherwise. Where the commit cannot be applied, adding instructor to Meta.read_only_fields removes the writable field, at the cost of also removing the admin path for reassigning a course. (source: CNA: Secur0)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: Secur0) — https://github.com/CuriosidadesDeHackers/TheHackersLabs-Academy/commit/7166a28b1b0c2c3755563d1e7099a8a4760d1b8b

## Affected products and versions

- CuriosidadesDeHackers / The Hackers Labs Academy: ≥ fa3cf76e064bdf090a9f8dfc1e4f2c0059f2677b; < 7166a28b1b0c2c3755563d1e7099a8a4760d1b8b (affected, git). Source: CNA: Secur0

## Severity and prioritization

- CVSS 4.0: 5.3 (medium); 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; source: CNA: Secur0

- CVSS 4.0: 5.3 (medium); 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; source: NVD: 4daa8cea-433a-44bd-9456-53b127fc289a

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-915

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/CuriosidadesDeHackers/TheHackersLabs-Academy/commit/7166a28b1b0c2c3755563d1e7099a8a4760d1b8b (CNA: Secur0; patch)

- https://secur0.com/en/cna/cve-list/cve-2026-141362-course-ownership-reassignment-thehackerslabs-academy (CNA: Secur0; third-party-advisory, technical-description)

- https://github.com/CuriosidadesDeHackers/TheHackersLabs-Academy/commit/7166a28b1b0c2c3755563d1e7099a8a4760d1b8b (4daa8cea-433a-44bd-9456-53b127fc289a)

- https://secur0.com/en/cna/cve-list/cve-2026-141362-course-ownership-reassignment-thehackerslabs-academy (4daa8cea-433a-44bd-9456-53b127fc289a)

## Provenance

- CNA: Secur0: https://www.cve.org/CVERecord?id=CVE-2026-141362; retrieved 2026-12-01; source updated 2026-12-01

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-141362; retrieved 2026-12-01; source updated 2026-12-01

Revision: 2d7533d7e8e03f81884cb00e26f89e1563103b21bf6e437bdb21733775b1f9c3

Canonical: https://y2.dev/cve/CVE-2026-141362

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.