Skip to content

← Public intelligence

PyPI package

apache-airflow

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

153 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.3PyPIAmendedPublished

    Apache Airflow Reflected Cross-site Scripting vulnerability in 404 Endpoint

    CVE-2017-12614 · GHSA-rv25-9wgj-xg75

    Affected
    • PyPI apache-airflow < 1.9.0
    Fixed in
    1.9.0· Vendor fix available
    Issue
    It was noticed an XSS in certain 404 pages that could be exploited to perform an XSS attack. Chrome will detect this as a reflected XSS attempt and prevent the page from loading. However Firefox and other browsers don't, and are vulnerable to this attack. Mitigation: The fix for this is to upgrade to Apache Airflow 1.9.0 or above.

    Recommended action: Upgrade to 1.9.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Medium, CVSS 5.3PyPIAmendedPublished

    Apache Airflow Cross-site Scripting Vulnerability

    CVE-2021-45229 · GHSA-65xw-pcqw-hjrh

    Affected
    • PyPI apache-airflow < 2.2.4rc1
    Fixed in
    2.2.4rc1· Vendor fix available
    Issue
    It was discovered that the "Trigger DAG with config" screen was susceptible to XSS attacks via the origin query argument. This issue affects Apache Airflow versions 2.2.3 and below.

    Recommended action: Upgrade to 2.2.4rc1 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. High, CVSS 8.7PyPIAmendedPublished

    OS Command injection in Apache Airflow

    CVE-2022-24288 · GHSA-3v7g-4pg3-7r6j

    Affected
    • PyPI apache-airflow < 2.2.4
    Fixed in
    2.2.4· Vendor fix available
    Issue
    In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them susceptible to OS Command Injection from the web UI.

    Recommended action: Upgrade to 2.2.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Medium, CVSS 6.5PyPIAmendedPublished

    Improper Privilege Management in apache-airflow

    CVE-2021-45230 · GHSA-4jh2-3c85-q67h

    Affected
    • PyPI apache-airflow < 2.2.0
    Fixed in
    2.2.0· Vendor fix available
    Issue
    In Apache Airflow prior to 2.2.0. This CVE applies to a specific case where a User who has "cancreate" permissions on DAG Runs can create Dag Runs for dags that they don't have "edit" permissions for.

    Recommended action: Upgrade to 2.2.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. Medium, CVSS 5.3PyPIAmendedPublished

    Missing Authorization in Apache Airflow

    CVE-2021-35936 · GHSA-m6h2-jx9v-58w6

    Affected
    • PyPI apache-airflow < 2.1.2
    Fixed in
    2.1.2· Vendor fix available
    Issue
    If remote logging is not used, the worker (in the case of CeleryExecutor) or the scheduler (in the case of LocalExecutor) runs a Flask logging server and is listening on a specific port and also binds on 0.0.0.0 by default. This logging server had no authentication and allows reading log files of DAG jobs. This issue affects Apache Airflow < 2.1.2.

    Recommended action: Upgrade to 2.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Medium, CVSS 5.3PyPIAmendedPublished

    Cross-site Scripting in Apache Airflow

    CVE-2021-28359 · GHSA-3xxv-p78r-4fc6

    Affected
    • PyPI apache-airflow < 1.10.15; >= 2.0.0a1, < 2.0.2
    Fixed in
    1.10.152.0.2· Vendor fix available
    Issue
    The "origin" parameter passed to some of the endpoints like '/trigger' was vulnerable to XSS exploit. This issue affects Apache Airflow versions <1.10.15 in 1.x series and affects 2.0.0 and 2.0.1 and 2.x series. This is the same as CVE-2020-13944 & CVE-2020-17515 but the implemented fix did not fix the issue completely. Update to Airflow 1.10.15 or 2.0.2. Please also update your Python version to the latest available PATCH releases of the installed MINOR versions, example update to Python 3.6.13 if you are on Python 3.6. (Those contain the fix for CVE-2021-23336 https://nvd.nist.gov/vuln/detail/CVE-2021-23336).

    Recommended action: Upgrade to 2.0.2 or 1.10.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. Medium, CVSS 6.9PyPIAmendedPublished

    Improper Authentication in Apache Airflow

    CVE-2021-26697 · GHSA-fh37-cx83-q542

    Affected
    • PyPI apache-airflow >= 2.0.0, <= 2.0.0
    Fixed in
    2.0.1rc1· Vendor fix available
    Issue
    The lineage endpoint of the deprecated Experimental API was not protected by authentication in Airflow 2.0.0. This allowed unauthenticated users to hit that endpoint. This is low-severity issue as the attacker needs to be aware of certain parameters to pass to that endpoint and even after can just get some metadata about a DAG and a Task. This issue only affects Apache Airflow 2.0.0.

    Recommended action: Upgrade to 2.0.1rc1 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. Medium, CVSS 5.3PyPIAmendedPublished

    Apache Airflow Cross-site Scripting

    CVE-2020-13944 · GHSA-4pwq-fj89-6rjc

    Affected
    • PyPI apache-airflow < 1.10.12
    Fixed in
    1.10.12· Vendor fix available
    Issue
    In Apache Airflow < 1.10.12, the origin parameter passed to some of the endpoints like /trigger and was vulnerable to a XSS exploit.

    Recommended action: Upgrade to 1.10.12 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. Critical, CVSS 9.3Exploited · CISA KEVPyPIAmendedPublished

    Authentication bypass in Apache Airflow

    CVE-2020-13927 · GHSA-hhx9-p69v-cx2j

    Affected
    • PyPI apache-airflow < 1.10.11
    Fixed in
    1.10.11· Vendor fix available
    Issue
    The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but this poses security risks to users who miss this fact. From Airflow 1.10.11 the default has been changed to deny all requests by default and is documented at https://airflow.apache.org/docs/1.10.11/security.html#api-authentication. Note this change fixes it for new installs but existing users need to change their config to default [api]authbackend = airflow.api.auth.backend.denyall as mentioned in the Updating Guide: https://github.com/apache/airflow/blob/1.10.11/UPDATING.md#experimental-api-will-deny-all-request-by-default

    Recommended action: Upgrade to 1.10.11 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)cisa.gov (2)github.com (3)cisa.gov (4)Source checked Evidence →
  10. High, CVSS 8.3PyPIAmendedPublished

    Incorrect Session Validation in Apache Airflow

    CVE-2020-17526 · GHSA-7mx5-x372-xh87

    Affected
    • PyPI apache-airflow < 1.10.14
    Fixed in
    1.10.14· Vendor fix available
    Issue
    Incorrect Session Validation in Apache Airflow Webserver versions prior to 1.10.14 with default config allows a malicious airflow user on site A where they log in normally, to access unauthorized Airflow Webserver on Site B through the session from Site A. This does not affect users who have changed the default value for [webserver] secretkey config.

    Recommended action: Upgrade to 1.10.14 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. Medium, CVSS 6.1PyPIAmendedPublished

    Apache Airflow cross-site scripting due to incomplete fix for CVE-2020-13944

    CVE-2020-17515 · GHSA-86vp-x3pr-79rx

    Affected
    • PyPI apache-airflow < 1.10.15rc1; >= 2.0.0b1, < 2.0.2rc1
    Fixed in
    2.0.2rc11.10.15rc1· Vendor fix available
    Issue
    The origin parameter passed to some of the endpoints like /trigger was vulnerable to XSS exploit. This issue affects Apache Airflow versions prior to 1.10.15. This is same as CVE-2020-13944 but the implemented fix in Airflow 1.10.13 did not fix the issue completely.

    Recommended action: Upgrade to 2.0.2rc1 (pre-release) or 1.10.15rc1 (pre-release) by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. High, CVSS 7.1PyPIAmendedPublished

    Improper Access Control in Apache Airflow

    CVE-2021-26559 · GHSA-ffw3-6mp6-jmvj

    Affected
    • PyPI apache-airflow >= 2.0.0, <= 2.0.0
    Fixed in
    2.0.1rc1· Vendor fix available
    Issue
    Improper Access Control on Configurations Endpoint for the Stable API of Apache Airflow allows users with Viewer or User role to get Airflow Configurations including sensitive information even when [webserver] exposeconfig is set to False in airflow.cfg. This allowed a privilege escalation attack. This issue affects Apache Airflow 2.0.0.

    Recommended action: Upgrade to 2.0.1rc1 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  13. Medium, CVSS 6.9PyPIAmendedPublished

    SSRF vulnerability in Apache Airflow

    CVE-2020-17513 · GHSA-6r3p-fcvm-xh7c

    Affected
    • PyPI apache-airflow < 1.10.13
    Fixed in
    1.10.13· Vendor fix available
    Issue
    In Apache Airflow versions prior to 1.10.13, the Charts and Query View of the old (Flask-admin based) UI were vulnerable for SSRF attack.

    Recommended action: Upgrade to 1.10.13 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  14. Low, CVSS 2.4PyPIAmendedPublished

    Apache Airflow logs passwords in plaintext

    CVE-2020-17511 · GHSA-cvcq-gmc3-q6m8

    Affected
    • PyPI apache-airflow < 1.10.13
    Fixed in
    1.10.13· Vendor fix available
    Issue
    In Airflow versions prior to 1.10.13, when creating a user using airflow CLI, the password gets logged in plain text in the Log table in Airflow Metadatase. The same happenes when creating a Connection with a password field.

    Recommended action: Upgrade to 1.10.13 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  15. Medium, CVSS 5.3PyPIAmendedPublished

    Stored XSS in Apache Airflow

    CVE-2020-9485 · GHSA-j38c-25fj-mr84

    Affected
    • PyPI apache-airflow < 1.10.11
    Fixed in
    1.10.11· Vendor fix available
    Issue
    An issue was found in Apache Airflow versions 1.10.10 and below. A stored XSS vulnerability was discovered in the Chart pages of the the "classic" UI.

    Recommended action: Upgrade to 1.10.11 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  16. Critical, CVSS 9.3PyPIAmendedPublished

    Command injection via Celery broker in Apache Airflow

    CVE-2020-11981 · GHSA-976r-qfjj-c24w

    Affected
    • PyPI apache-airflow < 1.10.11rc1
    Fixed in
    1.10.11rc1· Vendor fix available
    Issue
    An issue was found in Apache Airflow versions 1.10.10 and below. When using CeleryExecutor, if an attacker can connect to the broker (Redis, RabbitMQ) directly, it is possible to inject commands, resulting in the celery worker running arbitrary commands.

    Recommended action: Upgrade to 1.10.11rc1 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  17. Critical, CVSS 9.3PyPIAmendedPublished

    Insecure default config of Celery worker in Apache Airflow

    CVE-2020-11982 · GHSA-9g2w-5f3v-mfmm

    Affected
    • PyPI apache-airflow < 1.10.11
    Fixed in
    1.10.11· Vendor fix available
    Issue
    An issue was found in Apache Airflow versions 1.10.10 and below. When using CeleryExecutor, if an attack can connect to the broker (Redis, RabbitMQ) directly, it was possible to insert a malicious payload directly to the broker which could lead to a deserialization attack (and thus remote code execution) on the Worker.

    Recommended action: Upgrade to 1.10.11 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  18. High, CVSS 8.7Exploited · CISA KEVPyPIAmendedPublished

    Remote code execution (RCE) in Apache Airflow

    CVE-2020-11978 · GHSA-rvmq-4x66-q7j3

    Affected
    • PyPI apache-airflow < 1.10.11rc1
    Fixed in
    1.10.11rc1· Vendor fix available
    Issue
    An issue was found in Apache Airflow versions 1.10.10 and below. A remote code/command injection vulnerability was discovered in one of the example DAGs shipped with Airflow which would allow any authenticated user to run arbitrary commands as the user running airflow worker/scheduler (depending on the executor in use). If you already have examples disabled by setting loadexamples=False in the config then you are not vulnerable.

    Recommended action: Upgrade to 1.10.11rc1 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)cisa.gov (2)github.com (3)cisa.gov (4)Source checked Evidence →
  19. Medium, CVSS 5.1PyPIAmendedPublished

    Multiple stored XSS in RBAC Admin screens in Apache Airflow

    CVE-2020-11983 · GHSA-q4p3-qw5c-mhpc

    Affected
    • PyPI apache-airflow < 1.10.11
    Fixed in
    1.10.11· Vendor fix available
    Issue
    An issue was found in Apache Airflow versions 1.10.10 and below. It was discovered that many of the admin management screens in the new/RBAC UI handled escaping incorrectly, allowing authenticated users with appropriate permissions to create stored XSS attacks.

    Recommended action: Upgrade to 1.10.11 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  20. Medium, CVSS 4.6PyPIAmendedPublished

    XSS in Apache Airflow

    CVE-2019-12398 · GHSA-rjvg-q57v-mjjc

    Affected
    • PyPI apache-airflow < 1.10.5
    Fixed in
    1.10.5· Vendor fix available
    Issue
    In Apache Airflow before 1.10.5 when running with the "classic" UI, a malicious admin user could edit the state of objects in the Airflow metadata database to execute arbitrary javascript on certain page views. The new "RBAC" UI is unaffected.

    Recommended action: Upgrade to 1.10.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  21. Medium, CVSS 4.8PyPIAmendedPublished

    Apache Airflow vulnerable to XSS and local file disclosure

    CVE-2019-12417 · GHSA-q3p4-gw7r-wqjc

    Affected
    • PyPI apache-airflow < 1.10.6rc1
    Fixed in
    1.10.6rc1· Vendor fix available
    Issue
    A malicious admin user could edit the state of objects in the Airflow metadata database to execute arbitrary javascript on certain page views. This also presented a Local File Disclosure vulnerability to any file readable by the webserver process.

    Recommended action: Upgrade to 1.10.6rc1 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)osv.dev (2)github.com (3)Source checked Evidence →
  22. High, CVSS 8.7PyPIAmendedPublished

    Apache Airflow vulnerable to CSRF Attacks

    CVE-2019-0229 · GHSA-w6j4-3gh2-9f5j

    Affected
    • PyPI apache-airflow < 1.10.3
    Fixed in
    1.10.3· Vendor fix available
    Issue
    A number of HTTP endpoints in the Airflow webserver (both RBAC and classic) did not have adequate protection and were vulnerable to cross-site request forgery attacks.

    Recommended action: Upgrade to 1.10.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  23. Medium, CVSS 5.3PyPIAmendedPublished

    Apache Airflow vulnerable to Stored XSS

    CVE-2019-0216 · GHSA-8p7v-2jvj-v54r

    Affected
    • PyPI apache-airflow < 1.10.3
    Fixed in
    1.10.3· Vendor fix available
    Issue
    A malicious admin user could edit the state of objects in the Airflow metadata database to execute arbitrary javascript on certain page views.

    Recommended action: Upgrade to 1.10.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  24. Medium, CVSS 5.1PyPIAmendedPublished

    Apache Airflow vulnerable to Stored XSS

    CVE-2018-20244 · GHSA-99cv-8cvv-666c

    Affected
    • PyPI apache-airflow < 1.10.2
    Fixed in
    1.10.2· Vendor fix available
    Issue
    In Apache Airflow before 1.10.2, a malicious admin user could edit the state of objects in the Airflow metadata database to execute arbitrary javascript on certain page views.

    Recommended action: Upgrade to 1.10.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  25. High, CVSS 8.7PyPIAmendedPublished

    Improper Certificate Validation in Apache Airflow

    CVE-2018-20245 · GHSA-77rc-x84q-pv4f

    Affected
    • PyPI apache-airflow < 1.10.1
    Fixed in
    1.10.1· Vendor fix available
    Issue
    The LDAP auth backend (airflow.contrib.auth.backends.ldapauth) prior to Apache Airflow 1.10.1 was misconfigured and contained improper checking of exceptions which disabled server certificate checking.

    Recommended action: Upgrade to 1.10.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →