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
Mitigation
- Upgrade apache-airflow-providers-odbc to 4.0.0 or later.
- Upgrade apache-airflow-providers-microsoft-mssql to 3.4.1 or later.
Who should check
- Projects that depend on PyPI package apache-airflow-providers-odbc (< 4.0.0)
- Projects that depend on PyPI package apache-airflow-providers-microsoft-mssql (< 3.4.1)
- Anyone running Apache Software Foundation Apache Airflow ODBC Provider < 4.0.0
- Anyone running Apache Software Foundation Apache Airflow MSSQL Provider < 3.4.1
Vulnerability facts
- Affected
- apache-airflow-providers-odbc < 4.0.0; apache-airflow-providers-microsoft-mssql < 3.4.1
- Fixed in
- 4.0.0, 3.4.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.3 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.15% chance of exploitation in 30 days (percentile 67, 2026-11-26)
- CWE
- CWE-20
- Modified
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI apache-airflow-providers-odbc | < 4.0.0 | 4.0.0 | osv |
| PyPI apache-airflow-providers-microsoft-mssql | < 3.4.1 | 3.4.1 | osv |
| Apache Software Foundation Apache Airflow ODBC Provider | < 4.0.0 | — | cvelist |
| Apache Software Foundation Apache Airflow MSSQL Provider | < 3.4.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-35798. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-35798.md Affected: apache-airflow-providers-odbc < 4.0.0; apache-airflow-providers-microsoft-mssql < 3.4.1 Fixed in: 4.0.0, 3.4.1 Steps: 1. Search this machine and project for apache-airflow-providers-odbc (PyPI), apache-airflow-providers-microsoft-mssql (PyPI), Apache Software Foundation Apache Airflow ODBC Provider, Apache Software Foundation Apache Airflow MSSQL Provider: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2023-35798 being exploited?
There is no confirmed exploitation: CVE-2023-35798 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.15% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-35798?
Medium: CVSS 4.3 (v3.1, scored by NVD). Remote, login needed.
Which versions are affected by CVE-2023-35798?
apache-airflow-providers-odbc < 4.0.0; apache-airflow-providers-microsoft-mssql < 3.4.1.
Is there a fix for CVE-2023-35798?
Yes. Fixed in 4.0.0, 3.4.1. Upgrade apache-airflow-providers-odbc to 4.0.0 or later. Upgrade apache-airflow-providers-microsoft-mssql to 3.4.1 or later.
How do I check if I'm affected by CVE-2023-35798?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.