CVE-2026-94620 Details
Description
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.
A vulnerability in Classroom 50's grading tool allows students to exploit the 'gh teacher download' command. This command clones student repositories and writes autograde results into the cloned directories. Prior to version 1.11.0, the process followed symlinks, enabling students to redirect the write to arbitrary locations on the teacher's machine, such as configuration files or executable hook scripts. The vulnerability allows for unauthorized code execution as the teacher, who has elevated privileges within the classroom organization.
Users can upgrade to Classroom 50 version 1.11.0 or later, where this vulnerability has been patched. The updated version prevents the 'gh teacher download' command from following symlinks to arbitrary locations by scoping the write operations to the cloned directory and replacing any existing symlinked entries with regular files. Teachers should also avoid running the 'gh teacher download' command on untrusted student repositories.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 1, 2026CISA-ADP
Assessed Oct 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/foundation50/classroom50/commit/79112f33932d1b5c398a8801d97a8813d52d55ce | [email protected] | Source CodeVendor |
| https://github.com/foundation50/classroom50/security/advisories/GHSA-qx2g-vpwq-466c | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| foundation50 Classroom 50 | < 1.11.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 1, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2026 | New CVE Received | [email protected] |
Volerion