CVE-2024-29735 json
Apache Airflow: Potentially harmful permission changing by log task handler
published 2024-03-26 2 y ago modified 2026-09-08 2 mo ago also BIT-airflow-2024-29735 , EUVD-2024-0900 , GHSA-cff3-5qrp-hqx7 , PYSEC-2026-1132
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
Improper Preservation of Permissions vulnerability in Apache Airflow.This issue affects Apache Airflow from 2.8.2 through 2.8.3.
Airflow's local file task handler in Airflow incorrectly set permissions for all parent folders of log folder, in default configuration adding write access to Unix group of the folders. In the case Airflow is run with the root user (not recommended) it added group write permission to all folders up to the root of the filesystem.
If your log files are stored in the home directory, these permission changes might impact your ability to run SSH operations after your home directory becomes group-writeable.
This issue does not affect users who use or extend Airflow using Official Airflow Docker reference images ( https://hub.docker.com/r/apache/airflow/ ) - those images require to have group write permission set anyway.
You are affected only if you install Airflow using local installation / virtualenv or other Docker images, but the issue has no impact if docker containers are used as intended, i.e. where Airflow components do not share containers with other applications and users.
Also you should not be affected if your umask is 002 (group write enabled) - this is the default on many linux systems.
Recommendation for users using Airflow outside of the containers:
* if you are using root to run Airflow, change your Airflow user to use non-root * upgrade Apache Airflow to 2.8.4 or above * If you prefer not to upgrade, you can change the https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#file-task-handler-new-folder-permissions to 0o755 (original value 0o775). * if you already ran Airflow tasks before and your default umask is 022 (group write disabled) you should stop Airflow components, check permissions of AIRFLOW_HOME/logs in all your components and all parent directories of this directory and remove group write access for all the parent directories
Patch / fix
- pypi apache-airflow 2.8.4
- bitnami airflow 2.8.4
- apache airflow 2.8.4
- github.com/apache/airflow@aae4a83 commit
- github.com/apache/airflow#37310 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.46% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | apache-airflow | >=2.8.2, <2.8.4 |
2.8.4 |
| bitnami | airflow | >=2.8.2, <2.8.4 |
2.8.4 |
Affected products
- Apache Software Foundation Apache Airflow
- apache airflow
Classification
- Weakness
-
- CWE-281 Improper Preservation of Permissions
References
-
github.com
/apache/airflow/pull/37310
patch, web, issue-tracking
-
github.com
/apache/airflow/commit/aae4a83cdfb3be4afeefd88a7bfa3c4d8d184958
web
-
lists.apache.org
/thread/8khb1rtbznh100o325fb8xw5wjvtv536
vendor-advisory, web, mailing-list, advisory
-
openwall.com
/lists/oss-security/2024/03/26/2
web, mailing-list, discussion
-
nvd.nist.gov
/vuln/detail/CVE-2024-29735
advisory, web
-
github.com
/apache/airflow/issues/37200
web
-
airflow.apache.org
/docs/apache-airflow/stable/configurations-ref.html#file-task-handler-new-folder-permissions
web
-
github.com
/apache/airflow
package
-
pypi.org
/project/apache-airflow
package
-
github.com
/advisories/GHSA-cff3-5qrp-hqx7
advisory
Sources
- CVE List CVE-2024-29735
- GitHub Advisory GHSA-cff3-5qrp-hqx7
- NVD CVE-2024-29735
- OSV BIT-airflow-2024-29735
- OSV PYSEC-2026-1132
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.