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

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.26%, higher than 70% of CVEs (2026-12-01)
- Published: 2023-06-27T11:39:51.759Z
- Modified: 2026-07-13T16:43:35.796Z
- Also known as: GHSA-q57w-826p-46jr, PYSEC-2026-1150, PYSEC-2026-2370
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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

(As written by CVE List.)

## Affected

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

## Every score

- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/apache/airflow/pull/31984> (patch, vendor-advisory, web)
- <https://lists.apache.org/thread/951rb9m7wwox5p30tdvcfjxq8j1mp4pj> (mailing-list, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-35798> (advisory)
- <https://github.com/apache/airflow/commit/b6836986846058e9e5fa271fb7b22ae721020787> (web)
- <https://github.com/apache/airflow> (package)
- <https://pypi.org/project/apache-airflow-providers-microsoft-mssql> (package)
- <https://github.com/advisories/GHSA-q57w-826p-46jr> (advisory)
- <https://pypi.org/project/apache-airflow-providers-odbc> (package)

## Sources

- CVE List: [CVE-2023-35798](https://www.cve.org/CVERecord?id=CVE-2023-35798), CVE Terms of Use, modified 2024-10-07
- GitHub Advisory Database: [GHSA-q57w-826p-46jr](https://github.com/advisories/GHSA-q57w-826p-46jr), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2023-35798](https://nvd.nist.gov/vuln/detail/CVE-2023-35798), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1150](https://osv.dev/vulnerability/PYSEC-2026-1150), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-2370](https://osv.dev/vulnerability/PYSEC-2026-2370), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2023-35798 · Whole record: https://cve.day/CVE-2023-35798.json · Rebuilt by cve.day 2026-11-25T22:58:25.241Z
