{"schemaVersion":3,"id":"CVE-2026-50203","aliases":["GHSA-qf38-jq28-3ccq","PYSEC-2026-218","CGA-7jhh-h7hp-3j3p","CGA-8qvm-4m5g-4425","CGA-567j-x37w-4x7x","CGA-8f8m-rr28-7hrf"],"status":"published","duplicateOf":null,"title":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.","dates":{"published":"2026-06-17T01:47:49.652Z","modified":"2026-06-17T14:56:45.456Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00879,"percentile":0.58338,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.25299999999999995,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00626},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00879,"percentile":0.58338}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00626,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00879,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00879,"percentile":0.58338}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"apache software foundation","product":"apache airflow sftp provider","name":"Apache Airflow SFTP provider","label":"apache airflow sftp provider","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.8.1","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_airflow_sftp_provider"},{"vendor":"apache","product":"apache-airflow-providers-sftp","name":"apache-airflow-providers-sftp","label":"apache-airflow-providers-sftp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.8.1","eol":null,"hubHref":"/vendor/apache/apache-airflow-providers-sftp"},{"vendor":"chainguard","product":"airflow-2","name":"airflow-2","label":"airflow-2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/airflow-2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"airflow-3","name":"airflow-3","label":"airflow-3","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/airflow-3","purlType":"apk","versions":[{"text":"< 3.2.2-r7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.2-r7","eol":null,"hubHref":null},{"vendor":"wolfi","product":"airflow-3","name":"airflow-3","label":"airflow-3","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/airflow-3","purlType":"apk","versions":[{"text":"< 3.2.2-r7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.2-r7","eol":null,"hubHref":null},{"vendor":"PyPI","product":"apache-airflow-providers-sftp","name":"apache-airflow-providers-sftp","label":"apache-airflow-providers-sftp","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/apache-airflow-providers-sftp","purlType":"pypi","versions":[{"text":"< 5.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.8.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/apache/airflow/pull/67985","label":"github.com/apache/airflow/pull/67985","hostname":"github.com","tags":["Patch","WEB","FIX","Issue Tracking"]},{"url":"https://lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx","label":"lists.apache.org/thread/7f4b284oh44c1n95oq8mh1qc7y1lr9dx","hostname":"lists.apache.org","tags":["Vendor Advisory","WEB","Advisory","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/16/3","label":"www.openwall.com/lists/oss-security/2026/06/16/3","hostname":"www.openwall.com","tags":["WEB","Advisory","Mailing List","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50203","label":"nvd.nist.gov/vuln/detail/CVE-2026-50203","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/airflow","label":"github.com/apache/airflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-sftp/PYSEC-2026-218.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-sftp/PYSEC-2026-218.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-qf38-jq28-3ccq","label":"github.com/advisories/GHSA-qf38-jq28-3ccq","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.python.org","label":"pypi.python.org","hostname":"pypi.python.org","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50203.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50203.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-8WX9-CQQ4-89F2"]},"timeline":[{"kind":"published","date":"2026-06-17T01:47:49.652Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-17T14:56:45.456Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T03:20:24.112Z","stale":false,"partial":false}}