# CVE-2024-51499: MarkUs Arbitrary File Write leading up to remote code execution (student accounts)

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA: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.44%, higher than 73% of CVEs (2026-11-30)
- Published: 2024-11-18T19:52:30.504Z
- Modified: 2026-06-17T08:05:48.740Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

MarkUs is a web application for the submission and grading of student assignments. In versions prior to 2.4.8, an arbitrary file write vulnerability accessible via the update_files method of the SubmissionsController allows authenticated users (e.g. students) to write arbitrary files to any location on the web server MarkUs is running on (depending on the permissions of the underlying filesystem). e.g. This can lead to a delayed remote code execution in case an attacker is able to write a Ruby file into the config/initializers/ subfolder of the Ruby on Rails application. MarkUs v2.4.8 has addressed this issue. No known workarounds are available at the application level aside from upgrading.

(As written by CVE List.)

## Affected

- MarkUsProject Markus: < 2.4.8; before 2.4.8

## Every score

- GitHub_M: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MarkUsProject/Markus/security/advisories/GHSA-j95p-7936-f75w> (third-party-advisory)
- <https://github.com/MarkUsProject/Markus/pull/7026> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-51499 · Whole record: https://cve.day/CVE-2024-51499.json · Rebuilt by cve.day 2026-11-25T22:58:48.392Z
