{"data":{"id":"1326a789-bc3f-4476-9cdf-071e82ce6e96","title":"GHSA-mr7h-w2qc-ffc2: pytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpoint","summary":"A path traversal flaw in the /v1/runs API endpoint of lightning-ai/pytorch-lightning v2.2.4 is reached when the tar.gz files it extracts are malicious. When LightningApp runs with the plugin_server, an attacker can deploy a tar.gz plugin with embedded files that carry path traversal sequences. This lets arbitrary files be written to any directory on the victim's local file system, potentially leading to remote code execution.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-mr7h-w2qc-ffc2","publishedAt":"2024-06-27T21:32:08.000Z","cveId":"CVE-2024-5980","cweIds":["CWE-22","CWE-434"],"cvssScore":"9.1","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["lightning@< 2.3.3 (fixed: 2.3.3)","pytorch-lightning@< 2.3.3 (fixed: 2.3.3)"],"affectedPackageNames":["lightning","pytorch-lightning"],"affectedPackageRefs":["pypi:lightning","pypi:pytorch-lightning"],"affectedVendors":[],"affectedVendorsRaw":["pytorch-lightning","LightningApp"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.01318,"epssPercentile":0.71772,"epssCheckedAt":"2026-12-03T19:40:32.670Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://huntr.com/bounties/55a6ac6f-89c7-42ea-86f3-c6e93a2679f3"],"patchCommitUrls":["https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a","https://github.com/Lightning-AI/pytorch-lightning/pull/20039"],"ssvcExploitation":"poc","nvdStatus":"Modified","referencesCheckedAt":"2026-12-03T19:59:55.136Z","kevDateAdded":null,"advisoryAliases":["GHSA-mr7h-w2qc-ffc2"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2024-06-27T21:32:08.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-1","CAPEC-126"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity","confidentiality","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["lightning@2.3.3","pytorch-lightning@2.3.3"],"affectedPurls":["pkg:pypi/lightning","pkg:pypi/pytorch-lightning"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"published","date":"2024-06-27","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}