# CVE-2024-29735: Apache Airflow: Potentially harmful permission changing by log task handler

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.59% (percentile 76, 2026-11-26)
- **CWE:** CWE-281
- **Aliases:** BIT-airflow-2024-29735, GHSA-cff3-5qrp-hqx7, PYSEC-2026-1132
- **Published:** 2024-03-26T16:52:40.770Z
- **Modified:** 2026-07-07T17:57:01.251Z

## Who should check

- Projects that depend on PyPI package apache-airflow (\>= 2.8.2, \< 2.8.4)
- Anyone running Apache Software Foundation Apache Airflow \>= 2.8.2, \<= 2.8.3

## Description

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

## Affected and fixed versions

- PyPI `apache-airflow`: affected \>= 2.8.2, \< 2.8.4; fixed 2.8.4 (osv)
- Apache Software Foundation Apache Airflow: \>= 2.8.2, \<= 2.8.3 (cvelist)

## Mitigation

- Upgrade apache-airflow to 2.8.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-29735. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-29735.md
Affected: apache-airflow >= 2.8.2, < 2.8.4
Fixed in: 2.8.4

Steps:
1. Search this machine and project for apache-airflow (PyPI), Apache Software Foundation Apache Airflow: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-29735 being exploited?

There is no confirmed exploitation: CVE-2024-29735 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.59% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-29735?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-29735?

apache-airflow \>= 2.8.2, \< 2.8.4.

### Is there a fix for CVE-2024-29735?

Yes. Fixed in 2.8.4. Upgrade apache-airflow to 2.8.4 or later.

### How do I check if I'm affected by CVE-2024-29735?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/8khb1rtbznh100o325fb8xw5wjvtv536>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-29735>
- vendor: <https://github.com/advisories/GHSA-cff3-5qrp-hqx7>
- patch: <https://github.com/apache/airflow/pull/37310>
- patch: <https://github.com/apache/airflow/commit/aae4a83cdfb3be4afeefd88a7bfa3c4d8d184958>
- other: <http://www.openwall.com/lists/oss-security/2024/03/26/2>
- other: <https://github.com/apache/airflow/issues/37200>
- other: <https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#file-task-handler-new-folder-permissions>
- other: <https://github.com/apache/airflow>
- other: <https://pypi.org/project/apache-airflow>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-29735>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cff3-5qrp-hqx7> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1132> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-29735> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-29735>
