PYSEC-2026-218

Vulnerability from pysec - Published: 2026-06-17 13:20 - Updated: 2026-06-18 11:27
VLAI
Details

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.

Impacted products
Name purl
apache-airflow-providers-sftp pkg:pypi/apache-airflow-providers-sftp
Aliases

{
  "affected": [
    {
      "ecosystem_specific": {},
      "package": {
        "ecosystem": "PyPI",
        "name": "apache-airflow-providers-sftp",
        "purl": "pkg:pypi/apache-airflow-providers-sftp"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.8.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.0",
        "1.0.0b1",
        "1.0.0b2",
        "1.0.0rc1",
        "1.1.0",
        "1.1.0rc1",
        "1.1.1",
        "1.1.1rc1",
        "1.2.0",
        "1.2.0rc1",
        "2.0.0",
        "2.0.0rc1",
        "2.0.0rc2",
        "2.1.0",
        "2.1.0rc1",
        "2.1.0rc2",
        "2.1.1",
        "2.1.1rc1",
        "2.2.0",
        "2.2.0rc1",
        "2.3.0",
        "2.3.0rc1",
        "2.4.0",
        "2.4.0rc1",
        "2.4.1",
        "2.4.1rc1",
        "2.5.0",
        "2.5.0rc1",
        "2.5.1",
        "2.5.1rc1",
        "2.5.2",
        "2.5.2rc1",
        "2.6.0",
        "2.6.0rc1",
        "3.0.0",
        "3.0.0rc1",
        "3.0.0rc2",
        "3.1.0rc1",
        "4.0.0",
        "4.0.0rc1",
        "4.1.0",
        "4.1.0rc1",
        "4.10.0",
        "4.10.0rc1",
        "4.10.1",
        "4.10.1rc1",
        "4.10.2",
        "4.10.2rc1",
        "4.10.3",
        "4.10.3rc1",
        "4.11.0",
        "4.11.0rc1",
        "4.11.1",
        "4.11.1rc1",
        "4.2.0",
        "4.2.0rc1",
        "4.2.1",
        "4.2.1rc1",
        "4.2.1rc2",
        "4.2.2",
        "4.2.2rc1",
        "4.2.3",
        "4.2.3rc1",
        "4.2.4",
        "4.2.4rc1",
        "4.3.0",
        "4.3.0rc1",
        "4.3.0rc2",
        "4.3.1",
        "4.3.1rc1",
        "4.4.0",
        "4.4.0rc1",
        "4.5.0",
        "4.5.0rc1",
        "4.6.0",
        "4.6.0rc1",
        "4.6.1",
        "4.6.1rc1",
        "4.7.0",
        "4.7.0rc1",
        "4.8.0",
        "4.8.0rc1",
        "4.8.1",
        "4.8.1rc1",
        "4.9.0",
        "4.9.0rc1",
        "4.9.1",
        "4.9.1rc1",
        "5.0.0",
        "5.0.0rc1",
        "5.0.0rc2",
        "5.1.0",
        "5.1.0rc1",
        "5.1.1",
        "5.1.1rc1",
        "5.1.2",
        "5.1.2rc1",
        "5.2.0",
        "5.2.0rc1",
        "5.2.1",
        "5.2.1rc1",
        "5.3.0",
        "5.3.0rc1",
        "5.3.1",
        "5.3.1rc1",
        "5.3.2",
        "5.3.2rc1",
        "5.3.3",
        "5.3.3rc1",
        "5.3.4",
        "5.3.4rc1",
        "5.4.0",
        "5.4.0rc1",
        "5.4.1",
        "5.4.1rc1",
        "5.4.2",
        "5.4.2rc1",
        "5.5.0",
        "5.5.0rc1",
        "5.5.1",
        "5.5.1rc1",
        "5.6.0",
        "5.6.0rc1",
        "5.7.0",
        "5.7.0rc1",
        "5.7.1",
        "5.7.1rc1",
        "5.7.2",
        "5.7.2rc1",
        "5.7.3",
        "5.7.3rc1",
        "5.7.4",
        "5.7.4rc1",
        "5.8.0",
        "5.8.0rc1",
        "5.8.1rc1"
      ]
    }
  ],
  "aliases": [
    "CVE-2026-50203"
  ],
  "details": "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 \u2014 the attack surface is any deployment downloading directories from an untrusted SFTP server. Upgrade `apache-airflow-providers-sftp` to 5.8.1 or later.",
  "id": "PYSEC-2026-218",
  "modified": "2026-06-18T11:27:41.032705Z",
  "published": "2026-06-17T13:20:47.213Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://www.openwall.com/lists/oss-security/2026/06/16/3"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/airflow/pull/67985"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…