# CVE-2022-41956: Autolab is vulnerable to file disclosure via remote handin feature

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.03%, higher than 63% of CVEs (2026-11-30)
- Published: 2023-01-14T00:40:32.121Z
- Modified: 2026-06-17T05:04:08.043Z
- Weaknesses: CWE-22
- Assigned by: GitHub_M

## Description

Autolab is a course management service, initially developed by a team of students at Carnegie Mellon University, that enables instructors to offer autograded programming assignments to their students over the Web. A file disclosure vulnerability was discovered in Autolab's remote handin feature, whereby users are able to hand-in assignments using paths outside their submission directory. Users can then view the submission to view the file's contents. The vulnerability has been patched in version 2.10.0. As a workaround, ensure that the field for the remote handin feature is empty (Edit Assessment > Advanced > Remote handin path), and that you are not running Autolab as `root` (or any user that has write access to `/`). Alternatively, disable the remote handin feature if it is unneeded by replacing the body of `local_submit` in `app/controllers/assessment/handin.rb` with `render(plain: "Feature disabled", status: :bad_request) && return`.

(As written by CVE List.)

## Affected

- autolab Autolab: <= 2.9.0
- autolabproject autolab: before 2.10.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/autolab/Autolab/security/advisories/GHSA-g7x7-mgrv-f24x> (third-party-advisory)
- <https://securitylab.github.com/advisories/GHSL-2022-100_Autolab/>
- <https://www.stackhawk.com/blog/rails-path-traversal-guide-examples-and-prevention/> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-41956](https://www.cve.org/CVERecord?id=CVE-2022-41956), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-41956](https://nvd.nist.gov/vuln/detail/CVE-2022-41956), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41956 · Whole record: https://cve.day/CVE-2022-41956.json · Rebuilt by cve.day 2026-11-25T22:58:18.200Z
