Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apache-airflow
  4. ›
  5. CVE-2024-27906

CVE-2024-27906: Apache Airflow: DAG Code and Import Error Permissions Ignored

February 29, 2024 (updated May 6, 2025)

Apache Airflow, versions before 2.8.2, has a vulnerability that allows authenticated users to view DAG code and import errors of DAGs they do not have permission to view through the API and the UI.

Users of Apache Airflow are recommended to upgrade to version 2.8.2 or newer to mitigate the risk associated with this vulnerability

References

  • github.com/advisories/GHSA-6v6w-h8m6-7mv2
  • github.com/apache/airflow
  • github.com/apache/airflow/commit/08d25607abe8593ecb90a84e338896bb79692d7b
  • github.com/apache/airflow/commit/0a95299691e2d6a9b874adfae94d246a7f681ec9
  • github.com/apache/airflow/commit/2adbe882e68df0e2b1084bc869616bb01e416aa7
  • github.com/apache/airflow/commit/2cb6027280bcf5e2b561f3ee7f55980f6ec4cc3a
  • github.com/apache/airflow/commit/90255d9d44a649025f588497f6c82177dad48326
  • github.com/apache/airflow/commit/9c4defa08268322b9db80123a22d7b56b2063446
  • github.com/apache/airflow/commit/a7fa258ba1c69a18e0f620499625f6026768dc24
  • github.com/apache/airflow/commit/bc2646be043f71b4d1ab7eefd2af65a60bf919f2
  • github.com/apache/airflow/commit/d944eb0de216d9e1d125fae5ce4af7440154deb4
  • github.com/apache/airflow/pull/37290
  • github.com/apache/airflow/pull/37468
  • github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-245.yaml
  • lists.apache.org/thread/on4f7t5sqr3vfgp1pvkck79wv7mq9st5
  • nvd.nist.gov/vuln/detail/CVE-2024-27906

Code Behaviors & Features

Detect and mitigate CVE-2024-27906 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.8.2

Fixed versions

  • 2.8.2

Solution

Upgrade to version 2.8.2 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere
  • CWE-862: Missing Authorization

Source file

pypi/apache-airflow/CVE-2024-27906.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:14:49 +0000.