Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.7%top 51%

CVE-2026-49818: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache Airflow Samba provider

0
Medium
Published: 06/09/2026 (06/09/2026, 09:32:07 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Airflow Samba provider

Description

A path traversal vulnerability (CWE-22) exists in the Apache Airflow Samba provider's GCSToSambaOperator. This operator improperly joins Google Cloud Storage (GCS) object names to the SMB destination path without validating that the resolved path remains within the intended destination directory. An attacker able to write objects to the source GCS bucket could exploit this to write files to arbitrary locations on the Samba target. The issue affects versions prior to 4.12.6. A fix is available in version 4.12.6 that validates the resolved destination path.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected software

apache-airflow-providers-samba
pkg:pypi/apache-airflow-providers-samba
Affected versions
<4.12.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/31/2026, 21:30:53 UTC

Technical Analysis

The Apache Airflow Samba provider's GCSToSambaOperator concatenates GCS object names to the SMB destination path without containment checks, allowing path traversal via '../' segments in object names. This enables an attacker with write access to the source GCS bucket to cause the operator to write files outside the configured destination_path on the Samba target. The vulnerability is addressed in apache-airflow-providers-samba version 4.12.6 by validating that the resolved destination path stays within the intended directory.

Potential Impact

An attacker who can write objects to the source GCS bucket can exploit this vulnerability to write files to arbitrary locations on the Samba target system when the GCSToSambaOperator runs. This could lead to unauthorized file creation or modification on the target system, potentially impacting confidentiality and integrity. The CVSS score is 6.5 (medium severity), indicating a moderate impact with network attack vector, low attack complexity, no privileges required, no user interaction, and limited confidentiality and integrity impact.

Mitigation Recommendations

Upgrade apache-airflow-providers-samba to version 4.12.6 or later, which includes validation to ensure the resolved destination path remains within the configured destination_path. This official fix addresses the path traversal vulnerability. No other mitigations are specified or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-06-01T17:37:44.180Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a27e32a8dd33fbd8512607b

Added to database: 06/09/2026, 09:55:54 UTC

Last enriched: 07/31/2026, 21:30:53 UTC

Last updated: 07/31/2026, 21:30:53 UTC

Views: 69

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses