{"data":{"id":"b6d1091b-f7a7-4587-a962-1417cbf3f629","title":"GHSA-g2j9-7rj2-gm6c: Langflow has an Arbitrary File Write (RCE) via v2 API","summary":"GHSA-g2j9-7rj2-gm6c reports an Arbitrary File Write in Langflow via the POST /api/v2/files/ endpoint. The multipart upload filename is passed unchecked to LocalStorageService, which lacks a containment check, so an authenticated attacker can write files anywhere on the host, potentially leading to Remote Code Execution. The reporter tested this against langflowai/langflow:latest (v1.7.3).","solution":"Sanitize the multipart filename before processing by stripping directory components with pathlib's name attribute and rejecting empty names or names containing \"..\" with HTTP 400. Also add a canonical path containment check inside LocalStorageService.save_file.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-g2j9-7rj2-gm6c","publishedAt":"2026-03-19T17:46:43.000Z","cveId":"CVE-2026-33309","cweIds":null,"cvssScore":null,"cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["langflow@>= 1.2.0, <= 1.8.1 (fixed: 1.9.0)"],"affectedPackageNames":["langflow"],"affectedPackageRefs":["pypi:langflow"],"affectedVendors":[],"affectedVendorsRaw":["Langflow"],"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.13467,"epssCheckedAt":"2026-11-04T12:08:35.508Z","kevDateAdded":null,"advisoryAliases":["GHSA-g2j9-7rj2-gm6c"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-03-19T17:46:43.000Z","fixReleasedAt":"2026-04-14T22:39:34.554Z","daysToFix":26,"fixCheckedAt":"2026-10-29T21:39:44.916Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["integrity","confidentiality","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"langflow","fixedVersion":"1.9.0","matchedVersion":"1.9.0","fixReleasedAt":"2026-04-14T22:39:34.554Z","daysToFix":26,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:39:44.770Z"}]}}