{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-94620","published":"2026-10-01T16:18:08.550000Z","last_modified":"2026-10-02T18:47:49.947000Z","status":"Deferred","cvss":{"version":"4.0","score":9.4,"severity":"CRITICAL","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","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-22","CWE-59"],"cpes":[],"cpes_truncated":false,"vendors":["foundation50"],"products":["foundation50/classroom50"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":71,"links":{"html_es":"/es/cve/CVE-2026-94620/","html_en":"/en/cve/CVE-2026-94620/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-94620","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-94620"},"untrusted":{"vendor_name":"foundation50","product_name":"classroom50","desc_en":"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.","affected":[{"untrusted_vendor":"foundation50","untrusted_product":"classroom50","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"1177dd8649942bc3614fe0c9c60e9888","generated":"2026-11-26T21:27:00.515273Z","es":{"untrusted_title":"Escritura arbitraria de archivos y ejecución de código en Classroom50","untrusted_summary":"Classroom50 anterior a la versión 1.11.0 es vulnerable a escritura arbitraria de archivos cuando descarga repositorios de estudiantes. Un atacante puede crear un repositorio con enlaces simbólicos en los archivos `result.json` o `results.json` que redirigen la escritura a rutas arbitrarias, permitiendo ejecución de código con los permisos del docente."},"en":{"untrusted_title":"Arbitrary File Write and Code Execution in Classroom50","untrusted_summary":"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."},"remediation":{"status":"fix","fixed_versions":["1.11.0"],"untrusted_action_es":"Actualiza Classroom50 a la versión 1.11.0 o superior. Si no puedes actualizar, ejecuta `gh teacher download` solo en repositorios confiables o dentro de contenedores aislados sin acceso a credenciales sensibles.","untrusted_action_en":"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.","vendor_url":"https://github.com/foundation50/classroom50/security/advisories/GHSA-qx2g-vpwq-466c"},"reviewed":false},"references":[{"url":"https://github.com/foundation50/classroom50/commit/79112f33932d1b5c398a8801d97a8813d52d55ce","tags":[]},{"url":"https://github.com/foundation50/classroom50/security/advisories/GHSA-qx2g-vpwq-466c","tags":[]}]}}