{"id":"CVE-2022-41131","aliases":["CVE-2022-41131","GHSA-cm43-f2pv-6v68","BIT-AIRFLOW-2022-41131","PYSEC-2026-772"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Airflow Hive Provider vulnerability (command injection via hive_cli connection)","summary":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Hive Provider, Apache Airflow allows an attacker to execute arbtrary commands in the task execution context, without write access to DAG files. This issue affects Hive Provider versions prior to 4.1.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case HIve Provider is installed (Hive Provider 4.1.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the HIve Provider version 4.1.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version that has lower version of the Hive Provider installed).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Hive Provider, Apache Airflow allows an attacker to execute arbtrary commands in the task execution context, without write access to DAG files. This issue affects Hive Provider versions prior to 4.1.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case HIve Provider is installed (Hive Provider 4.1.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the HIve Provider version 4.1.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version that has lower version of the Hive Provider installed).","source":"cvelist"},{"lang":"es","text":"Neutralización inadecuada de elementos especiales utilizados en una vulnerabilidad de comando del sistema operativo ('inyección de comando del sistema operativo') en Apache Airflow Hive Provider, Apache Airflow permite a un atacante ejecutar comandos arbitrarios en el contexto de ejecución de la tarea, sin acceso de escritura a los archivos DAG. Este problema afecta a las versiones del proveedor Hive anteriores a la 4.1.0. También afecta cualquier versión de Apache Airflow anterior a la 2.3.0 en caso de que esté instalado HIve Provider (Hive Provider 4.1.0 solo se puede instalar para Airflow 2.3.0+). Tenga en cuenta que debe instalar manualmente la versión 4.1.0 del proveedor Hive para eliminar la vulnerabilidad además de la versión 2.3.0+ de Airflow que tiene instalada una versión inferior del proveedor Hive).","source":"nvd"}],"published":"2022-11-22T00:00:00.000Z","modified":"2026-11-27T13:17:19.473Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.1.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow Hive Provider","source":"cvelist"},{"ranges":[{"type":"semver","version":"2.3.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Airflow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.0"}],"ecosystem":"PyPI","package":"apache-airflow-providers-apache-hive","purl":"pkg:pypi/apache-airflow-providers-apache-hive","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.3.0"}],"vendor":"apache","product":"airflow","cpe":"cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"4.1.0"}],"vendor":"apache","product":"apache-airflow-providers-apache-hive","cpe":"cpe:2.3:a:apache:apache-airflow-providers-apache-hive:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.0"}],"ecosystem":"PyPI","package":"apache-airflow-providers-apache-hive","purl":"pkg:pypi/apache-airflow-providers-apache-hive","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.0"}],"ecosystem":"Bitnami","package":"airflow","purl":"pkg:bitnami/airflow","source":"bitnami"}],"references":[{"url":"https://github.com/apache/airflow/pull/27647","tags":["advisory","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.apache.org/thread/wwo3qp0z8gv54yzn7hr04wy4n8gb0vhl","tags":["advisory","issue-tracking","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41131","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/apache/airflow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/apache-airflow-providers-apache-hive","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-cm43-f2pv-6v68","tags":["advisory"],"sources":["pysec"]}],"credits":["Apache Airflow PMC wants to thank id_No2015429 of 3H Security Team for reporting the issue."],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-29T15:11:00.216Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-41131","url":"https://www.cve.org/CVERecord?id=CVE-2022-41131","licence":"CVE Terms of Use","modified":"2026-11-27T12:56:28.601Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cm43-f2pv-6v68","url":"https://github.com/advisories/GHSA-cm43-f2pv-6v68","licence":"CC-BY-4.0","modified":"2026-07-07T11:56:41.894Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-41131","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41131","licence":"Public domain","modified":"2026-11-27T13:17:19.473Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-772","url":"https://osv.dev/vulnerability/PYSEC-2026-772","licence":"CC-BY-4.0","modified":"2026-07-07T11:56:41.894Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-AIRFLOW-2022-41131","url":"https://osv.dev/vulnerability/BIT-AIRFLOW-2022-41131","licence":"Apache-2.0","modified":"2026-09-08T08:45:17.410Z"}],"updatedAt":"2026-11-27T13:32:27.069Z","epss":{"score":0.0169,"percentile":0.77753,"date":"2026-12-01T12:00:22.000Z"}}