Home / Firejail Project / Firejail / CVE-2017-5940
CVE-2017-5940: is it exploited, and which versions of Firejail Project Firejail are affected and fixed?
CVE-2017-5940 is a privilege escalation (improper privilege management) vulnerability in Firejail Project Firejail. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: firejail from 0.9.38 through 0.9.38.10 and firejail from 0.9.40 through 0.9.44.6 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:44 UTC.
What is CVE-2017-5940?
Firejail before 0.9.44.6 and 0.9.38.x LTS before 0.9.38.10 LTS does not comprehensively address dotfile cases during its attempt to prevent accessing user files with an euid of zero, which allows local users to conduct sandbox-escape attacks via vectors involving a symlink and the --private option. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-5180.
From the CVE record by mitre, last updated August 5, 2024, 15:18 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| firejail project | firejail | from 0.9.38 through 0.9.38.10 | application |
| firejail project | firejail | from 0.9.40 through 0.9.44.6 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:21 UTC.
How severe is CVE-2017-5940?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD |
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-5940 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.36% probability of exploitation activity in the next 30 days, percentile 31.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-269 Improper Privilege Management
Where are the vendor advisories and references?
- https://github.com/netblue30/firejail/commit/b8a4ff9775318ca5e679183884a6a63f3da8f863 x_refsource_MISC
- GLSA-201702-03 vendor-advisory, x_refsource_GENTOO
- https://github.com/netblue30/firejail/commit/38d418505e9ee2d326557e5639e8da49c298858f x_refsource_MISC
- https://firejail.wordpress.com/download-2/release-notes/ x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2017/01/31/16 x_refsource_MISC
- https://github.com/netblue30/firejail/commit/903fd8a0789ca3cc3c21d84cd0282481515592ef x_refsource_MISC
- 96221 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- February 9, 2017
- Published
- February 9, 2017, 18:00 UTC
- CVE record updated
- August 5, 2024, 15:18 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:21 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:44 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Firejail?
- Jun 9, 2022CVE-2022-31214 Firejail Project Firejail: privilege escalation (improper privilege management)
- Feb 8, 2021CVE-2021-26910 Firejail Project Firejail: time-of-check time-of-use race condition
- Aug 11, 2020CVE-2020-17368 Firejail Project Firejail: OS command injection
- Aug 11, 2020CVE-2020-17367 Firejail Project Firejail: argument injection
- Jun 3, 2019CVE-2019-12589 Firejail Project Firejail: incorrect permissions on a critical resource
- May 31, 2019CVE-2019-12499 Firejail Project Firejail: n/a
- Apr 13, 2017CVE-2016-10123 Firejail Project Firejail: n/a
- Apr 13, 2017CVE-2016-10122 Firejail Project Firejail: n/a
Questions about CVE-2017-5940
Is CVE-2017-5940 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 0.36% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Firejail Project Firejail are affected by CVE-2017-5940?
firejail from 0.9.38 through 0.9.38.10 and firejail from 0.9.40 through 0.9.44.6, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2017-5940?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2017-5940?
High (8.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-5940?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.