{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:langflow:langflow:*:-:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.9.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a47f2ad17eb662e940c550cfccb64a87dddd7e0b"
            }
          ],
          "repo": "https://github.com/langflow-ai/langflow",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "tenable",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5027.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "last_affected": "0"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "The 'POST /api/v2/files' endpoint does not sanitize the 'filename' parameter from the multipart form data, allowing an attacker to write files to arbitrary locations on the filesystem using path traversal sequences ('../').",
  "id": "CVE-2026-5027",
  "modified": "2026-08-20T03:30:46.218242697Z",
  "published": "2026-03-27T14:54:53.609Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.tenable.com/security/research/tra-2026-26"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5027.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5027"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/langflow-ai/langflow"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Langflow - Path Traversal Arbitrary File Write via upload_user_file"
}