Local Privilege Escalation present only on the Windows version of PyInstaller
Published Jan 14, 2020
7.7
HIGHCVSS 4.0
EPSS 0.69%
Description
In PyInstaller before version 3.6, only on Windows, a local privilege escalation vulnerability is present in this particular case: If a software using PyInstaller in "onefile" mode is launched by a privileged user (at least more than the current one) which have his "TempPath" resolving to a world writable directory. This is the case for example if the software is launched as a service or as a scheduled task using a system account (TempPath will be C:\Windows\Temp). In order to be exploitable the software has to be (re)started after the attacker launch the exploit program, so for a service launched at startup, a service restart is needed (e.g. after a crash or an upgrade).
Affected products
-
- Version < 3.6StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| PyInstaller | PyInstaller | n/a |
|
- < 3.6
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (GHSA) ▾
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.69% (0.00695) | 51.28th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.69% (0.00689) | 47.73th | v5 (v2026.06.15) |
| Mar 30, 2025 | 3.01% (0.03008) | 85.38th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.56% (0.06562) | 84.82th | v4 (v2025.03.14) |
| Mar 28, 2025 | 3.01% (0.03008) | 85.40th | v4 (v2025.03.14) |
| Mar 27, 2025 | 6.56% (0.06562) | 89.81th | v4 (v2025.03.14) |
| Mar 20, 2025 | 4.05% (0.04047) | 87.52th | v4 (v2025.03.14) |
| Mar 19, 2025 | 6.56% (0.06562) | 89.97th | v4 (v2025.03.14) |
| Mar 17, 2025 | 4.45% (0.04450) | 88.31th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.40% (0.01404) | 49.02th | v2 (v2022.01.01) |
| Feb 3, 2022 | 10.21% (0.10210) | 87.43th | v1 |
| Jan 6, 2022 | 10.21% (0.10210) | 87.29th | v1 |
| Sep 1, 2021 | 2.47% (0.02472) | 78.56th | v1 |
| Apr 14, 2021 | 2.47% (0.02472) | 0.00th | v1 |
References (6)
- https://github.com/advisories/GHSA-7fcj-pq9j-wh2r Advisory
- https://github.com/pyinstaller/pyinstaller/commit/42a67148b3bdf9211fda8499fdc5b63acdd7e6cc
- https://github.com/pyinstaller/pyinstaller/commit/be948cf0954707671aa499da17b10c86b6fa5e5c
- https://github.com/pyinstaller/pyinstaller/security/advisories/GHSA-7fcj-pq9j-wh2r x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pyinstaller/PYSEC-2020-175.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2019-16784
Change history (0)
No recorded changes yet.