VULNERABILITY INTELLIGENCE

CVE-2008-5983

CVSS score6.9 MEDIUM
EPSS probability0.49%
CISA KEVNot currently listed
Published2009-01-28
Last modified2026-06-16
CVSS vectorAV:L/AC:M/Au:N/C:C/I:C/A:C

Description

Untrusted search path vulnerability in the PySys_SetArgv API function in Python 2.6 and earlier, and possibly later versions, prepends an empty string to sys.path when the argv[0] argument does not contain a path separator, which might allow local users to execute arbitrary code via a Trojan horse Python file in the current working directory.

Weakness classification

  • CWE-426: Untrusted Search Path

Primary references