Autolab is vulnerable to remote code execution (RCE) via MOSS functionality
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 remote code execution vulnerability was discovered in Autolab's MOSS functionality, whereby an instructor with access to the feature might be able to execute code on the server hosting Autolab. This vulnerability has been patched in version 2.10.0. As a workaround, disable the MOSS feature if it is unneeded by replacing the body of `run_moss` in `app/controllers/courses_controller.rb` with `render(plain: "Feature disabled", status: :bad_request) && return`.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-41955
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:31 UTC · Revision 1
Source evidence
Autolab is vulnerable to remote code execution (RCE) via MOSS functionality
core-osv · Original sourcePublished 14 Jan 2023, 00:09 UTC
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 remote code execution vulnerability was discovered in Autolab's MOSS functionality, whereby an instructor with access to the feature might be able to execute code on the server hosting Autolab. This vulnerability has been patched in version 2.10.0. As a workaround, disable the MOSS feature if it is unneeded by replacing the body of `run_moss` in `app/controllers/courses_controller.rb` with `render(plain: "Feature disabled", status: :bad_request) && return`.
osv:CVE-2022-41955
Complete source record
{
"id": "aa3cc85213cd0edc2151e95b70f98db5c0935ebdcdee777514966e638bed3ef8",
"url": "https://osv.dev/vulnerability/CVE-2022-41955",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Autolab is vulnerable to remote code execution (RCE) via MOSS functionality",
"summary": "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 remote code execution vulnerability was discovered in Autolab's MOSS functionality, whereby an instructor with access to the feature might be able to execute code on the server hosting Autolab. This vulnerability has been patched in version 2.10.0. As a workaround, disable the MOSS feature if it is unneeded by replacing the body of `run_moss` in `app/controllers/courses_controller.rb` with `render(plain: \"Feature disabled\", status: :bad_request) && return`.",
"evidence": "osv:CVE-2022-41955",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-41955",
"aliases": [
"CVE-2022-41955",
"GHSA-x5r3-vf3p-3269"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/autolab/autolab",
"type": "GIT",
"events": [
{
"introduced": "cd657951bbf92512d47a61f5551038a4ea4ff479"
},
{
"fixed": "67f6644ae586a6031bb08a94ff04e50181bc8ab3"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "2.0.1"
},
{
"last_affected": "2.9.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:autolabproject:autolab:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.2"
},
{
"fixed": "2.10.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.9.0",
"v2.8.0",
"v2.7.0",
"v2.6.0",
"v2.4.0",
"v2.3.0",
"v2.2.1",
"2.2.1",
"2.2.0",
"v2.2.0",
"v2.0.8",
"2.1.0",
"2.0.8",
"v2.0.7",
"v2.0.6",
"v2.0.5",
"2.0.4",
"v2.0.3",
"v2.0.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-41955.json"
}
}
],
"modified": "2026-10-28T02:30:31.571523425Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41955.json",
"https://github.com/autolab/Autolab/security/advisories/GHSA-x5r3-vf3p-3269",
"https://nvd.nist.gov/vuln/detail/CVE-2022-41955",
"https://securitylab.github.com/advisories/GHSL-2022-100_Autolab/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41955.json"
}
},
"related_cves": [
{
"value": "CVE-2022-41955",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498476,
"published_at": "2023-01-14T00:09:07.032+00:00"
}