{"id":"CVE-2026-50203","aliases":["CVE-2026-50203","GHSA-qf38-jq28-3ccq","PYSEC-2026-218"],"related":[],"kind":"vulnerability","state":"published","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","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Un salto de ruta en el proveedor SFTP (’SFTPHook.retrieve_directory’ / ’SFTPOperator(operation=get)’) permitió que un servidor SFTP remoto malicioso o comprometido escribiera archivos fuera del directorio de destino local configurado mediante nombres de entrada de directorio manipulados. No se requiere una cuenta de Airflow; la superficie de ataque es cualquier implementación que descargue directorios de un servidor SFTP no confiable. Actualice ’apache-airflow-providers-sftp’ a 5.8.1 o posterior.","source":"nvd"}],"published":"2026-06-17T01:47:49.652Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.8.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow SFTP provider","package":"apache-airflow-providers-sftp","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.8.1"}],"ecosystem":"PyPI","package":"apache-airflow-providers-sftp","purl":"pkg:pypi/apache-airflow-providers-sftp","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.8.1"}],"vendor":"apache","product":"apache-airflow-providers-sftp","cpe":"cpe:2.3:a:apache:apache-airflow-providers-sftp:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.8.1"}],"ecosystem":"PyPI","package":"apache-airflow-providers-sftp","purl":"pkg:pypi/apache-airflow-providers-sftp","source":"pysec"}],"references":[{"url":"https://github.com/apache/airflow/pull/67985","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/16/3","tags":["advisory","mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50203","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-sftp/PYSEC-2026-218.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-qf38-jq28-3ccq","tags":["advisory"],"sources":["pysec"]}],"credits":["secuholic","Venkatraman Kumar (r3dw0lfsec), Securin","Jarek Potiuk"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-06-17T14:56:30.527Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-50203","url":"https://www.cve.org/CVERecord?id=CVE-2026-50203","licence":"CVE Terms of Use","modified":"2026-06-17T14:56:45.456Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qf38-jq28-3ccq","url":"https://github.com/advisories/GHSA-qf38-jq28-3ccq","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:50.316Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-50203","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50203","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-218","url":"https://osv.dev/vulnerability/PYSEC-2026-218","licence":"CC-BY-4.0","modified":"2026-07-13T16:45:11.324Z"}],"updatedAt":"2026-11-25T22:59:24.923Z","epss":{"score":0.00626,"percentile":0.51348,"date":"2026-12-01T12:00:22.000Z"}}