{
  "id": "CVE-2026-50203",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-50203",
  "published_at": "2026-06-17T01:47:49.652Z",
  "title": "Apache Airflow SFTP provider: Path traversal in SFTPHook.retrieve_directory allows local file write outside the destination directory via malicious server-supplied directory-entry names",
  "vendor": "Apache Software Foundation",
  "product": "Apache Airflow SFTP provider",
  "cvss": {
    "score": 9.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A path traversal in the SFTP provider (`SFTPHook.retrieve_directory` / `SFTPOperator(operation=get)`) let a malicious or compromised remote SFTP server write files outside the configured local destination directory via crafted directory-entry names. No Airflow account is required — the attack surface is any deployment downloading directories from an untrusted SFTP server. Upgrade `apache-airflow-providers-sftp` to 5.8.1 or later.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:apache:apache-airflow-providers-sftp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache Airflow SFTP provider",
        "ranges": [
          "\u003c 5.8.1"
        ],
        "fixed_in": [
          "5.8.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Apache Airflow SFTP provider to 5.8.1 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/apache/airflow/pull/67985"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
