PT-2026-103908

CVE-2026-94620

·

Published

2026-10-01

·

Updated

2026-10-01

Description by

CVSS 4.0
9.4
Critical
MetricsAV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Name of the Vulnerable Software and Affected Versions Classroom 50 versions prior to 1.11.0
Description The gh teacher download command clones student assignment repositories and writes autograde artifacts, specifically result.json and results.json, into the working tree. Because the write operation follows symlinks, a student can commit these files as symlinks to redirect the write process to arbitrary paths on the teacher's system, such as ~/.zshrc, ~/.ssh/authorized keys, or .git/hooks/* files. Since the content of these files is controlled by the student, this allows for arbitrary file writes and subsequent code execution with the privileges of the teacher's gh token, which typically includes admin:org, repo, and workflow permissions.
Recommendations Update to version 1.11.0. Avoid running gh teacher download against untrusted student repositories. Run gh teacher download inside a disposable sandbox or container without access to sensitive host files or credentials. Inspect cloned trees for symlinked, hardlinked, or special result.json and results.json entries before the artifact-refresh step.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-QX2G-VPWQ-466C
Found an issue in the description? Have something to add? Feel free to write us 👾