CVE Explorer
CVE-2026-12003
To allow builds of Python to be run from an in-tree layout (rather than
an installed file layout), the VPATH variable is defined at build time
and used to locate certain landmarks - specifically,
Modules/setup.local. When this landmark is found relative to VPATH
relative to the executable, Python assumes it is running in a source
tree and generates a different default sys.path. This code remains in
release builds, so that release-ready builds can be built in-tree.
On Windows, since builds are w
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"CPython","repo":"https://github.com/python/cpython","vendor":"Python Software Foundation","versions":[{"lessThan":"3.15.0b3","status":"affected","version":"0","versionType":"python"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.3,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpac…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-427","description":"CWE-427","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/cna/problemTypes/0/descriptions/0
Source references
8 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/06/16/8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/adp/1/references/0
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/16c40f944b7bff724a403cf4902763d095bb4b2a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/cna/references/3
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/9e863fab283eddca9c2a8f9d1ee30f4dc243e314"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/cna/references/4
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/a86de0bc236fbb9452f98998fc8437e9fca35700"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/cna/references/5
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/b93d6d3399adbd3a5037b6b92fc3587c85ac5d56"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/cna/references/6
{"tags":["issue-tracking"],"url":"https://github.com/python/cpython/issues/151544"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/cna/references/1
{"tags":["patch"],"url":"https://github.com/python/cpython/pull/151545"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/cna/references/0
{"tags":["vendor-advisory"],"url":"https://https://mail.python.org/archives/list/security-announce@python.org/thread/JIFOBO7UX3LY4VJKJUOKYJV62CFR2IRH/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7e5d0623ce33820bd64f1832a4d8958d475e9d581ee8047c6025f0e60c37b8d7 · sha256:0e9d46a7da136c36… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.