Vulnerabilities in pkg:pypi/apache-airflow-providers-samba
PACKAGECVE-2026-49818 is a MODERATE (CVSS 6.5) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Apache airflow providers samba libraries in the PyPI ecosystem. The issue involves apache airflow has a path traversal issue. Remediation is available by upgrading affected packages to version 4.12.6.
pkg:pypi/apache-airflow-providers-samba
Vulnerability advisories affecting package pkg:pypi/apache-airflow-providers-samba. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-f6vj-48fm-hmvx | CVE-2026-49818 | MODERATE | Apache Airflow has a Path Traversal issue |
CVE-2026-49818 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2026-49818
To remediate this vulnerability, upgrade all affected Apache airflow providers samba dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install apache-airflow-providers-samba>=4.12.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-airflow-providers-samba
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-49818, inspect your installed packages using pip:
pip show apache-airflow-providers-samba
Analyze the terminal output to locate any version of Apache airflow providers samba in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.12.6), your application is affected.
Note: The pip show apache-airflow-providers-samba command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where 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. In Apache airflow providers samba, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-49818 Affected Apache airflow providers samba Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-airflow-providers-samba
|
PyPI |
< 4.12.6
|
4.12.6
|
References
Frequently Asked Questions
What is CVE-2026-49818?
Which Apache airflow providers samba versions are affected?
What version fixes CVE-2026-49818?
Is apache-airflow-providers-samba affected?
What is the CVSS score of CVE-2026-49818?
What CWE is associated with CVE-2026-49818?
How can I check PyPI dependencies for CVE-2026-49818?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f6vj-48fm-hmvx",
"modified" : "2026-07-31T16:37:52Z",
"published" : "2026-06-09T09:32:07Z",
"aliases" : [ "CVE-2026-49818" ],
"summary" : "Apache Airflow has a Path Traversal issue",
"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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow-providers-samba"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.12.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-49818"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/67857"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/commit/bc1df029af15cb1d35d5ca0d33bf9235500137cc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/airflow"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-samba/PYSEC-2026-208.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/3vs0m3p51psgf54tts18d6336g24x3sf"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/06/09/8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-31T16:37:52Z",
"nvd_published_at" : "2026-06-09T09:16:30Z"
}
}