CVE-2022-38170
Overly permissive umask for daemons
- Published
- Updated
- Reserved
- 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.
Timeline
ID reserved
By apache
- 22 days later
· 22 days later
Published
- 23 months later
· 23 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.62% · top 50% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.7.
Weakness
- Overly permissive umask for deamons
- CWE-732 (opens in a new tab)All about CWE-732 and its CVEs
Affected products
Apache Software Foundation · Apache Airflow
- affected Apache Airflow – ≤ 2.3.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIapache-airflowGHSA-q8h9-pqcx-59hw (opens in a new tab)
What to do
Workaround: Run without the `--daemon` flag via a process supervisor instead (systemd, runit, etc.).
References (4)
- https://lists.apache.org/thread/zn8mbbb1j2od5nc9zhrvb7rpsrg1vvzv (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20220902 CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20220902 Re: CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20220920 Re: CVE-2022-38170: Apache Airflow: Overly permissive umask for deamons (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-q8h9-pqcx-59hw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-38170)Record last updated .