CVE-2026-49818

MEDIUM CVSS 3.1: 6.5 EPSS 0.62%
Updated Jul 23, 2026
Apache
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions before 4.12.6
Fixed In 4.12.6
Type CWE-22 (Path Traversal)
Vendor Apache
Public PoC No

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`.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Apache Apache-Airflow-Providers-Samba
cpe:2.3:a:apache:apache-airflow-providers-samba:*:*:*:*:*:*:*:*
— 4.12.6