Summary
In affected Apache Airflow Microsoft Azure provider releases, the S3-to-Azure operator disables TLS certificate verification by default, regardless of the AWS connection's verification settings. If a network attacker can intercept traffic between an Airflow worker and Amazon S3, they may read signed requests and alter object keys or copied file contents.
Affected context
The issue affects deployments using Apache Airflow Microsoft Azure provider versions 10.2.0 through 15.3.0 when a DAG uses S3ToAzureBlobStorageOperator without setting s3_verify. In this configuration, the operator does not verify the S3 server's TLS certificate, even if the AWS connection specifies its own verification settings.
Exploit preconditions
- Attack surface: Network traffic between an Airflow worker and Amazon S3
- Required access: Ability to position on or otherwise intercept the network path; Airflow credentials are not stated as a prerequisite
- Trigger point: The operator makes an S3 connection while running a DAG without
s3_verifyset - Why exploitation is possible: TLS certificate verification is disabled, allowing an intermediary to impersonate the S3 endpoint and observe or modify traffic
Why this happens
The operator uses an insecure default for TLS certificate verification instead of inheriting the AWS connection's verification settings. Without checking the server certificate, the client cannot reliably confirm it is communicating with the intended S3 endpoint. This maps to CWE-295: Improper Certificate Validation.
Potential impact
- An attacker may read signed requests in intercepted traffic
- An attacker could alter listed object keys or copied file contents
- Data transferred from S3 to Azure Blob Storage may be exposed or tampered with
- Workflow results and downstream processes may be affected by modified data
General mitigation guidance
Defensive patterns focus on authenticating remote endpoints and limiting trust in network traffic.
- Enable TLS certificate verification by default and honor the connection's configured verification settings
- Use secure-by-default client configuration rather than requiring DAG authors to opt in to certificate checks
- Avoid transmitting sensitive data over connections that do not authenticate the remote endpoint
- Restrict worker network access to expected services and apply least-privilege permissions to cloud credentials
- Monitor and validate transferred data where appropriate
How teams detect issues like this
- Review operator configuration and code paths for disabled or overridden TLS certificate verification
- Use static analysis and code review checks to flag insecure TLS settings and defaults
- Enforce policy requiring certificate verification for outbound service connections
- Audit DAGs for uses of
S3ToAzureBlobStorageOperatorthat omits3_verify - Monitor network paths and egress controls for unexpected intermediaries or destinations

