Advisory

PYSEC-2026-208

Also known as: CVE-2026-49818, GHSA-f6vj-48fm-hmvx

Summary

The record has no summary.

Details

The Apache Airflow Samba provider's GCSToSambaOperator joined GCS object names to the SMB destination path without a containment check, so an object named with ../ segments resolved a write path outside the configured destination_path. An attacker able to write objects into the source GCS bucket — typically an external data producer distinct from the trusted DAG author — could write files to arbitrary locations on the Samba target when the operator ran. Upgrade apache-airflow-providers-samba to 4.12.6 or later, which validates the resolved destination stays within destination_path.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2026-06-09 09:16 UTC
Modified
2026-08-04 13:45 UTC

Affected packages and fixes

apache-airflow-providers-samba

PyPI · All systems

Affected

  • introduced 0, fixed 4.12.6 (ecosystem)

Fixed versions

4.12.6

Fix

  • Fixed version 4.12.6
    pip install --upgrade apache-airflow-providers-samba==4.12.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences