{"data":{"id":"7edabf7e-8978-4169-962f-d155601b0874","title":"GHSA-ghq9-vc6f-8qjf: TorchGeo Remote Code Execution Vulnerability","summary":"TorchGeo versions 0.4 through 0.6.0 used an `eval` statement in its model weight API, which could let an unauthenticated remote attacker execute arbitrary commands. Platforms exposing `torchgeo.models.get_weight()` or `torchgeo.trainers` as an external API could be affected.","solution":"The `eval` statement was replaced with a fixed enum lookup. Users are encouraged to upgrade to TorchGeo 0.6.1 or newer. In unpatched versions, input validation and sanitization can be used to avoid the vulnerability.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-ghq9-vc6f-8qjf","publishedAt":"2026-04-01T00:03:56.000Z","cveId":"CVE-2024-49048","cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["torchgeo@>= 0.4, <= 0.6.0 (fixed: 0.6.1)"],"affectedPackageNames":["torchgeo"],"affectedPackageRefs":["pypi:torchgeo"],"affectedVendors":["Microsoft"],"affectedVendorsRaw":["TorchGeo","PyTorch"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.01239,"epssCheckedAt":"2026-11-21T00:11:46.695Z","kevDateAdded":null,"advisoryAliases":["GHSA-ghq9-vc6f-8qjf"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-04-01T00:03:56.000Z","fixReleasedAt":"2024-10-10T18:23:25.252Z","daysToFix":-538,"fixCheckedAt":"2026-10-29T21:39:07.999Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"api","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"torchgeo","fixedVersion":"0.6.1","matchedVersion":"0.6.1","fixReleasedAt":"2024-10-10T18:23:25.252Z","daysToFix":-538,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:39:07.798Z"}]}}