# CVE-2022-38170: Overly permissive umask for daemons

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 50% of CVEs (2026-12-01)
- Published: 2022-09-02T07:10:21.000Z
- Modified: 2026-11-27T13:17:17.950Z
- Also known as: GHSA-q8h9-pqcx-59hw, BIT-AIRFLOW-2022-38170, PYSEC-2022-261
- Weaknesses: CWE-362, CWE-732
- Assigned by: apache

## Description

In Apache Airflow prior to 2.3.4, an insecure umask was configured for numerous Airflow components when running with the `--daemon` flag which could result in a race condition giving world-writable files in the Airflow home directory and allowing local users to expose arbitrary file contents via the webserver.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Airflow: up to 2.3.3
- apache-airflow (PyPI): before 2.3.4
- apache airflow: before 2.3.4
- airflow (Bitnami): before 2.3.4

## Every score

- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv> (advisory, mailing-list, mitigation, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/09/02/3> (advisory, mailing-list, mitigation, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/09/02/12> (advisory, mailing-list, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/09/21/2> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-38170> (advisory, web)
- <https://github.com/apache/airflow/commit/b6a2cd1aa34f69a36ea127e4f7f5ba87f4aca420> (web)
- <https://github.com/apache/airflow/commit/bf01d10cd348e679916034de1befb79ec6e46ff8> (web)
- <https://github.com/apache/airflow/commit/c14ea8f0f34944d2ecfa9021d167602e8b2b8b90> (web)
- <https://github.com/advisories/GHSA-q8h9-pqcx-59hw> (advisory)
- <https://github.com/apache/airflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2022-261.yaml> (web)

## Sources

- CVE List: [CVE-2022-38170](https://www.cve.org/CVERecord?id=CVE-2022-38170), CVE Terms of Use, modified 2026-11-27
- GitHub Advisory Database: [GHSA-q8h9-pqcx-59hw](https://github.com/advisories/GHSA-q8h9-pqcx-59hw), CC-BY-4.0, modified 2024-09-11
- NVD: [CVE-2022-38170](https://nvd.nist.gov/vuln/detail/CVE-2022-38170), Public domain, modified 2026-11-27
- PyPA Advisory Database: [PYSEC-2022-261](https://osv.dev/vulnerability/PYSEC-2022-261), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-AIRFLOW-2022-38170](https://osv.dev/vulnerability/BIT-AIRFLOW-2022-38170), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-38170 · Whole record: https://cve.day/CVE-2022-38170.json · Rebuilt by cve.day 2026-11-27T13:32:13.899Z
