CVE-2026-94620foundation50 classroom50
Arbitrary File Write and Code Execution in Classroom50
Critical 9.4 No auth needed
Follow: this CVE · foundation50 · foundation50 classroom50 We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.4
- EPSS
- —
- Auth required
- No
- Published
- Oct 1, 2026
- Updated
- Oct 2, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
What happens
Classroom50 prior to version 1.11.0 is vulnerable to arbitrary file write when downloading student repositories. An attacker can create a repository with symlinks in `result.json` or `results.json` files that redirect writes to arbitrary paths, enabling code execution with teacher privileges.
Show the original NVD text
Classroom 50 is a free and open-source tool for managing and grading programming assignments via GitHub. Prior to version 1.11.0, `gh teacher download` clones each student's assignment repository and then writes autograde artifacts (`result.json` and `results.json`) into the just-cloned working tree. The write followed symlinks, so a student who committed `result.json` or `results.json` as a **symlink** (materialized verbatim by `git clone`) could redirect the teacher's write to an arbitrary path — e.g. `~/.zshrc`, `~/.ssh/authorized_keys`, a cron file, or an in-clone `.git/hooks/*` file that git subsequently executes. The written bytes are attacker-controlled (the student's uploaded release asset for `result.json`; student-chosen submit-tag names for `results.json`). This is an arbitrary file write leading to code execution as the teacher, whose `gh` token carries `admin:org`, `repo`, and `workflow` across the entire classroom organization. Version 1.11.0 contains a patch. Some workarounds are available. Avoid running `gh teacher download` against untrusted student repositories, or run it inside a disposable sandbox / container with no access to sensitive host files or credentials. Inspect cloned trees for symlinked, hardlinked, or special (`result.json`/`results.json`) entries before allowing the artifact-refresh step to run.
What to do
Patch available · fixed versions: 1.11.0
Update Classroom50 to version 1.11.0 or later. If you cannot update, run `gh teacher download` only against trusted repositories or inside isolated containers without access to sensitive credentials.
- Apply the vendor's security update for classroom50.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- foundation50 · classroom50
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.