Security mailing lists by PureSourceCode

CVE-2019-16784

HIGH 7.8CVSS 3.1

Local Privilege Escalation in PyInstaller

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).

Published
14 Jan 2020
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-250CWE-732
Also known as
GHSA-7fcj-pq9j-wh2rPYSEC-2020-175
Sources
NVDJSONOSV GHSA-7fcj-pq9j-wh2rJSONOSV PYSEC-2020-175JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pyinstaller pyinstaller
cpe:2.3:a:pyinstaller:pyinstaller:*:*:*:*:*:*:*:*
< 3.6 3.6
OSV PyPI pyinstaller < 3.6 3.6

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 14 Jan 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Jan 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Jan 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.