{"id":"CVE-2023-35798","aliases":["CVE-2023-35798","GHSA-q57w-826p-46jr","PYSEC-2026-1150","PYSEC-2026-2370"],"related":[],"kind":"vulnerability","state":"published","title":"Airflow Apache ODBC and MSSQL Providers Arbitrary File Read Vulnerability","summary":"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.\n\nThis issue affects Apache Airflow ODBC Provider: before 4.0.0; Apache Airflow MSSQL Provider: before 3.4.1.\n\nIt is recommended to upgrade to a version that is not affected","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nThis issue affects Apache Airflow ODBC Provider: before 4.0.0; Apache Airflow MSSQL Provider: before 3.4.1.\n\nIt is recommended to upgrade to a version that is not affected","source":"cvelist"}],"published":"2023-06-27T11:39:51.759Z","modified":"2026-07-13T16:43:35.796Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.0.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow ODBC Provider","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"3.4.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow MSSQL Provider","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.0.0"}],"ecosystem":"PyPI","package":"apache-airflow-providers-odbc","purl":"pkg:pypi/apache-airflow-providers-odbc","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.4.1"}],"ecosystem":"PyPI","package":"apache-airflow-providers-microsoft-mssql","purl":"pkg:pypi/apache-airflow-providers-microsoft-mssql","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.4.1"}],"vendor":"apache","product":"apache-airflow-providers-microsoft-mssql","cpe":"cpe:2.3:a:apache:apache-airflow-providers-microsoft-mssql:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"4.0.0"}],"vendor":"apache","product":"apache-airflow-providers-odbc","cpe":"cpe:2.3:a:apache:apache-airflow-providers-odbc:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.4.1"}],"ecosystem":"PyPI","package":"apache-airflow-providers-microsoft-mssql","purl":"pkg:pypi/apache-airflow-providers-microsoft-mssql","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.0.0"}],"ecosystem":"PyPI","package":"apache-airflow-providers-odbc","purl":"pkg:pypi/apache-airflow-providers-odbc","source":"pysec"}],"references":[{"url":"https://github.com/apache/airflow/pull/31984","tags":["patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.apache.org/thread/951rb9m7wwox5p30tdvcfjxq8j1mp4pj","tags":["mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35798","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/airflow/commit/b6836986846058e9e5fa271fb7b22ae721020787","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/apache-airflow-providers-microsoft-mssql","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-q57w-826p-46jr","tags":["advisory"],"sources":["pysec"]},{"url":"https://pypi.org/project/apache-airflow-providers-odbc","tags":["package"],"sources":["pysec"]}],"credits":["id_No2015429 of 3H Secruity Team"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-07T18:24:53.811Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-35798","url":"https://www.cve.org/CVERecord?id=CVE-2023-35798","licence":"CVE Terms of Use","modified":"2024-10-07T18:25:05.749Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q57w-826p-46jr","url":"https://github.com/advisories/GHSA-q57w-826p-46jr","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:35.796Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-35798","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35798","licence":"Public domain","modified":"2026-06-17T06:05:14.010Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1150","url":"https://osv.dev/vulnerability/PYSEC-2026-1150","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:35.796Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2370","url":"https://osv.dev/vulnerability/PYSEC-2026-2370","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:35.796Z"}],"updatedAt":"2026-11-25T22:58:25.241Z","epss":{"score":0.01263,"percentile":0.70497,"date":"2026-12-01T12:00:22.000Z"}}