CVE-2026-86843: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Apache Software Foundation Apache Airflow Teradata provider
The Apache Airflow Teradata provider's compute-cluster example Dag declared every one of its Dag Params as unconstrained free text and templated them straight into the compute-cluster operators, which interpolate those values into Teradata DDL. A user who is permitted to trigger that Dag - a lower-trust role than the Dag author, and one that needs no Teradata credentials of its own - could therefore supply SQL fragments that execute under the connection the task runs as, and could additionally redirect the task at any other connection defined in the deployment, because the connection id was itself a free-text Param. Only deployments that run this example Dag, or a Dag copied from it, are affected; the provider's operator code is unchanged. Users of apache-airflow-providers-teradata are recommended to upgrade to version 3.7.0 or later, whose example constrains the Params to validated identifiers and a closed value set and removes connection selection and free-form option strings from trigger-time input. Upgrading does not change a Dag already copied from the example; users who copied it should apply the same constraints to their copy.
AI Analysis
Technical Summary
The Apache Airflow Teradata provider's compute-cluster example DAG improperly neutralizes special elements used in SQL commands, leading to an SQL injection vulnerability (CWE-89). The DAG's parameters are unconstrained free text, which are templated directly into Teradata DDL statements. A user authorized to trigger the DAG but without Teradata credentials can supply malicious SQL fragments that execute under the task's connection context. Additionally, the connection ID itself is a free-text parameter, allowing redirection of the task to other connections defined in the deployment. Only deployments running this example DAG or copies thereof are affected; the underlying operator code is unaffected. The vulnerability is fixed in version 3.7.0 by constraining parameters to validated identifiers and closed value sets and removing connection selection and free-form option strings from trigger-time input.
Potential Impact
An attacker with permission to trigger the vulnerable DAG can execute arbitrary SQL commands on the Teradata database using the connection privileges of the task. This can lead to unauthorized data access or modification. The vulnerability does not require the attacker to have Teradata credentials, only permission to trigger the DAG. The impact is limited to deployments running the vulnerable example DAG or copies of it; the provider's operator code is not vulnerable.
Mitigation Recommendations
Upgrade the Apache Airflow Teradata provider to version 3.7.0 or later, which constrains DAG parameters to validated identifiers and closed value sets and removes free-form connection selection from trigger-time input. For users who have copied the vulnerable example DAG, manually apply the same parameter constraints to their copies to mitigate the vulnerability. No other action is required if the example DAG is not used.
CVE-2026-86843: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Apache Software Foundation Apache Airflow Teradata provider
Description
The Apache Airflow Teradata provider's compute-cluster example Dag declared every one of its Dag Params as unconstrained free text and templated them straight into the compute-cluster operators, which interpolate those values into Teradata DDL. A user who is permitted to trigger that Dag - a lower-trust role than the Dag author, and one that needs no Teradata credentials of its own - could therefore supply SQL fragments that execute under the connection the task runs as, and could additionally redirect the task at any other connection defined in the deployment, because the connection id was itself a free-text Param. Only deployments that run this example Dag, or a Dag copied from it, are affected; the provider's operator code is unchanged. Users of apache-airflow-providers-teradata are recommended to upgrade to version 3.7.0 or later, whose example constrains the Params to validated identifiers and a closed value set and removes connection selection and free-form option strings from trigger-time input. Upgrading does not change a Dag already copied from the example; users who copied it should apply the same constraints to their copy.
Affected software
Apache Software Foundation
Apache Airflow Teradata provider
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Apache Airflow Teradata provider's compute-cluster example DAG improperly neutralizes special elements used in SQL commands, leading to an SQL injection vulnerability (CWE-89). The DAG's parameters are unconstrained free text, which are templated directly into Teradata DDL statements. A user authorized to trigger the DAG but without Teradata credentials can supply malicious SQL fragments that execute under the task's connection context. Additionally, the connection ID itself is a free-text parameter, allowing redirection of the task to other connections defined in the deployment. Only deployments running this example DAG or copies thereof are affected; the underlying operator code is unaffected. The vulnerability is fixed in version 3.7.0 by constraining parameters to validated identifiers and closed value sets and removing connection selection and free-form option strings from trigger-time input.
Potential Impact
An attacker with permission to trigger the vulnerable DAG can execute arbitrary SQL commands on the Teradata database using the connection privileges of the task. This can lead to unauthorized data access or modification. The vulnerability does not require the attacker to have Teradata credentials, only permission to trigger the DAG. The impact is limited to deployments running the vulnerable example DAG or copies of it; the provider's operator code is not vulnerable.
Mitigation Recommendations
Upgrade the Apache Airflow Teradata provider to version 3.7.0 or later, which constrains DAG parameters to validated identifiers and closed value sets and removes free-form connection selection from trigger-time input. For users who have copied the vulnerable example DAG, manually apply the same parameter constraints to their copies to mitigate the vulnerability. No other action is required if the example DAG is not used.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-09-08T14:46:36.995Z
- State
- PUBLISHED
Threat ID: 6abb9075f7a7c54106366ddc
Added to database: 09/29/2026, 10:18:29 UTC
Last enriched: 09/29/2026, 10:32:58 UTC
Last updated: 09/29/2026, 18:20:13 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.