Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Unit 42 reported that weaknesses in Azure Data Factory’s managed Apache Airflow integration could let someone who could change an Airflow DAG move from running code in a worker to controlling the Kubernetes cluster and accessing credentials and cloud resources available to that deployment. The findings describe a serious privilege chain in the cluster Unit 42 examined—not proof that an unauthenticated attacker could take over arbitrary Azure tenants or Microsoft infrastructure.

What Unit 42 found in Azure Data Factory’s managed Airflow integration

Azure Data Factory is Microsoft’s cloud data integration service. Its managed Apache Airflow integration runs on an Azure-managed Azure Kubernetes Service (AKS) cluster. Airflow schedules and orchestrates workflows defined in Python DAG files, which the instance imports from a connected repository or storage location.

Unit 42 reported three related weaknesses: the Airflow runner’s Kubernetes role-based access control (RBAC) permissions included cluster-admin privileges; secrets associated with Microsoft’s internal Geneva service were handled in a way that exposed credentials; and Geneva authentication was weak. Together, those issues could turn control of a workflow file into a route to broader access within the examined deployment.

How the reported attack chain worked

The demonstration began with the ability to modify a DAG file or its connected source—not with an unauthenticated request to Azure. Unit 42 identified possible routes to that write access: permissions on DAG storage, a shared access signature (SAS) token, or compromised credentials for a connected Git repository.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Change a DAG source. An attacker with write access could add malicious code to a workflow file.
  2. Wait for Airflow to import it. When the Airflow instance imported the modified DAG, the code ran in an Airflow worker and gave the researchers a shell in that worker.
  3. Use the worker’s Kubernetes permissions. The service account mounted in the worker pod had cluster-admin privileges, allowing control of the cluster and access to cluster secrets. Unit 42 also describes using a privileged pod to reach the host.
  4. Investigate identities and reachable services. From the host, the researchers report enumerating managed identities and Azure resources, then using secrets found in the Airflow deployment to access Geneva-related APIs.
  5. Abuse available API access. Unit 42 says some APIs allowed writes to storage accounts, Event Hubs, and other internal systems. The researchers also reported that event data could be manipulated to send false logs.

These are reported findings about the tested environment and the access available there. They do not establish that every deployment exposed the same resources or that arbitrary Azure customer accounts were compromised.

What the disclosure does—and does not—establish

Unit 42 said the cluster it tested was isolated from other clusters and available only to the researchers. That scope matters: the report supports concern about a managed-service configuration and a chain of excessive privileges, but it does not demonstrate cross-tenant takeover of arbitrary customers, access across Microsoft infrastructure, or a real-world compromise of customer environments.

The starting condition also matters. The demonstrated chain depended on the ability to alter a DAG or its connected source. The report is not evidence of an attack that required no access to the workflow’s storage, repository, or credentials.

How this differs from other Azure security reports

Two other Azure stories can appear alongside this disclosure, but they concern different components and must not be treated as the same incident or given the same remediation instructions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Report Affected component Starting point and scope Mitigation or customer action stated
Unit 42 managed-Airflow findings Azure Data Factory’s managed Apache Airflow integration on AKS Researchers began with the ability to modify a DAG or connected source. Unit 42 said its tested cluster was isolated from other clusters and available only to the researchers. Unit 42 thanked Microsoft MSRC for helping resolve the issues. Its cited post gives no patch identifier, rollout date, or specific customer-action checklist.
Microsoft’s 2022 advisory for CVE-2022-29972 A third-party ODBC connector for Amazon Redshift in Azure Data Factory and Synapse Integration Runtime A separate connector vulnerability, not the managed-Airflow privilege chain. Microsoft said it had mitigated the attack paths by April 15, 2022. Its post said customers using self-hosted Integration Runtime with auto-update disabled needed version 5.17.8154.2; other customer configurations listed there required no further action.
Microsoft’s January 2023 SSRF post Azure Digital Twins, Azure Functions, API Management, and Azure Machine Learning A separate set of four vulnerabilities; Data Factory was not one of the services listed. Microsoft stated that the four vulnerabilities had no material impact to Azure services or infrastructure.

Practical safeguards for managed Airflow deployments

The reported chain highlights where access controls can interrupt escalation. These measures address the kinds of exposure described; they are not a substitute for checking Microsoft’s current service-specific guidance.

  • Limit who can change DAGs. Restrict write access to DAG storage and connected repositories, and protect SAS tokens and Git credentials that grant that access.
  • Use least privilege for workflow runners. Review Kubernetes service-account permissions and avoid granting cluster-admin to Airflow workers unless that level of access is specifically required.
  • Review workload identities and reachable resources. Audit managed identities, cloud roles, and access available to managed workloads, including permissions involving storage, DNS, Event Hubs, and internal service endpoints.
  • Protect and rotate credentials. Treat exposed secrets as a credential risk: limit their use, review where they are available, and rotate them when exposure is suspected.
  • Monitor configuration and access changes. Use policy and audit controls to detect risky permission changes and unexpected activity in connected services.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What customers should verify about remediation

Unit 42’s conclusion thanks Microsoft’s Microsoft Security Response Center (MSRC) for helping resolve the issues. The cited post does not identify a remediation version, say when a service rollout occurred, or list a required customer action. Customers should verify current remediation status and any recommended steps directly with Microsoft rather than applying the instructions for CVE-2022-29972 to this separate managed-Airflow report.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.