CVE-2026-12003

MEDIUMPre-NVD 5.35.3
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 5.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.1%, top 96% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
Trending — 4 sources updated this week
5.3EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 5.3Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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 written to 'PCbuild/', the value of VPATH is set to '..\..', which results in a landmark of '..\..\Modules\setup.local'. This path is outside the install directory of Python, and may have different permissions, potentially allowing a low-privilege user to create the landmark and an alternative Lib folder that will be discovered by an otherwise restricted install.

Such a setup occurs with the legacy default install location for all users (in the now superseded EXE installer), due to how Windows allows all users to create folders in the root directory of their OS drive.

Our recommended mitigation on Windows is to migrate away from the legacy installer and use the new Python install manager to install for the current user. Installs where the directory two levels above the Python installation directory have equivalent permissions are unaffected (in general, a per-user install cannot be modified at all by other users, removing any escalation of privilege risk, and could be directly modified by a privileged user, making the potential tampering irrelevant). Alternative mitigations might include preemptively creating and restricting access to a Modules directory. Be aware that only 3.13 and 3.14 will receive updated legacy installers - earlier fixes are only provided as sources.

Platforms other than Windows allow VPATH to be overridden, but as they don't usually use a separated directory in the build for binaries, are unlikely to have a landmark reference outside of the install directory.

The landmark detection involving VPATH is a fallback for when a more specific landmark - .\pybuilddir.txt - is absent, and was included for compatibility. Future releases of Python will no longer include the fallback, and so builds will need to generate or preserve the pybuilddir.txt file in order to work in-tree. This landmark file has been generated on Windows since 3.11, and on other platforms for longer.

CVSS v3
5.3
EG Score
5.3(medium)
EG Risk
24(Track)
EG Risk 24/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity53% × 45%
Exploitation0% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
4%
KEV
Not listed

Published

June 16, 2026

Last Modified

August 13, 2026

Advisory Details (2)

Auto-updated Jun 16, 2026
No patch confirmed yet. Sources: github_pr.
github_pr

gh-151544: Fixes CVE-2026-12003 by removing the fallback to %VPATH%/Modules/Setup.local for discovering sources in getpath.py

Upstream fix in progress (PR #151545 · python/cpython, state=open)

https://github.com/python/cpython/pull/151545
generic

[CVE-2026-12003] In-tree search paths can be enabled without modifying install directory · Issue #151544 · python/cpython · GitHub

https://github.com/python/cpython/issues/151544

Vendor Advisories for CVE-2026-12003(2)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(5 across 4 ecosystems)
Debian:14(2)
PackageVulnerable rangeFixed inDependents
python3.133.13.11-1 ... 3.13.9-1 (9 versions)
python3.143.14.0-1 ... 3.14.7-2 (26 versions)
Debian:11(1)
PackageVulnerable rangeFixed inDependents
python3.93.9.10-1 ... 3.9.9-4 (29 versions)
Debian:12(1)
PackageVulnerable rangeFixed inDependents
python3.113.11.2-6 ... 3.11.9-1 (28 versions)
Debian:13(1)
PackageVulnerable rangeFixed inDependents
python3.133.13.11-1 ... 3.13.9-1 (13 versions)

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 5× in last 7d / 33× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 204 total refreshes for this CVE.

  1. 2026-09-18 19:27 UTCEPSS rescore
  2. 2026-09-16 05:14 UTCEPSS rescore
  3. 2026-09-14 03:31 UTCEG score recompute
  4. 2026-09-14 03:31 UTCVendor advisory
  5. 2026-09-14 03:31 UTCGHSA enrichment
  6. 2026-09-13 16:46 UTCEPSS rescore
  7. 2026-09-12 15:00 UTCEPSS rescore
  8. 2026-09-11 14:52 UTCEPSS rescore
  9. 2026-09-11 09:36 UTCEPSS rescore
  10. 2026-09-10 09:34 UTCEPSS rescore
  11. 2026-09-08 22:00 UTCEPSS rescore
  12. 2026-09-07 16:01 UTCEPSS rescore
  13. 2026-09-06 13:47 UTCEPSS rescore
  14. 2026-09-04 05:06 UTCEPSS rescore
  15. 2026-09-02 14:11 UTCEPSS rescore
  16. 2026-09-01 13:53 UTCEPSS rescore
  17. 2026-09-01 04:39 UTCEPSS rescore
  18. 2026-08-30 22:48 UTCEG score recompute
  19. 2026-08-30 22:48 UTCVendor advisory
  20. 2026-08-30 22:48 UTCGHSA enrichment
  21. 2026-08-30 19:17 UTCEPSS rescore
  22. 2026-08-30 01:21 UTCEPSS rescore
  23. 2026-08-28 21:40 UTCEPSS rescore
  24. 2026-08-27 14:24 UTCEPSS rescore
  25. 2026-08-25 13:48 UTCEPSS rescore
Show 75 more
  1. 2026-08-24 23:24 UTCEG score recompute
  2. 2026-08-24 23:24 UTCVendor advisory
  3. 2026-08-24 23:24 UTCGHSA enrichment
  4. 2026-08-23 09:26 UTCEG score recompute
  5. 2026-08-23 09:26 UTCVendor advisory
  6. 2026-08-23 09:26 UTCGHSA enrichment
  7. 2026-08-23 00:19 UTCEPSS rescore
  8. 2026-08-21 23:48 UTCEPSS rescore
  9. 2026-08-21 09:46 UTCEG score recompute
  10. 2026-08-21 09:46 UTCVendor advisory
  11. 2026-08-21 09:46 UTCGHSA enrichment
  12. 2026-08-20 22:55 UTCEPSS rescore
  13. 2026-08-20 11:21 UTCEG score recompute
  14. 2026-08-20 11:21 UTCVendor advisory
  15. 2026-08-20 11:21 UTCGHSA enrichment
  16. 2026-08-19 17:03 UTCEPSS rescore
  17. 2026-08-19 13:07 UTCEG score recompute
  18. 2026-08-19 13:07 UTCVendor advisory
  19. 2026-08-19 13:07 UTCGHSA enrichment
  20. 2026-08-18 13:48 UTCEPSS rescore
  21. 2026-08-16 22:00 UTCEG score recompute
  22. 2026-08-16 22:00 UTCVendor advisory
  23. 2026-08-16 22:00 UTCGHSA enrichment
  24. 2026-08-16 14:56 UTCEPSS rescore
  25. 2026-08-16 02:14 UTCEPSS rescore
  26. 2026-08-15 22:28 UTCEG score recompute
  27. 2026-08-15 22:28 UTCVendor advisory
  28. 2026-08-15 22:28 UTCGHSA enrichment
  29. 2026-08-15 01:30 UTCEPSS rescore
  30. 2026-08-14 22:23 UTCVendor advisory
  31. 2026-08-14 22:23 UTCGHSA enrichment
  32. 2026-08-14 00:09 UTCEG score recompute
  33. 2026-08-14 00:09 UTCGHSA enrichment
  34. 2026-08-13 22:00 UTCEPSS rescore
  35. 2026-08-13 01:23 UTCEG score recompute
  36. 2026-08-13 01:23 UTCGHSA enrichment
  37. 2026-08-13 00:41 UTCEG score recompute
  38. 2026-08-13 00:41 UTCGHSA enrichment
  39. 2026-08-12 21:49 UTCEG score recompute
  40. 2026-08-12 21:49 UTCGHSA enrichment
  41. 2026-08-12 13:50 UTCEPSS rescore
  42. 2026-08-11 23:35 UTCEG score recompute
  43. 2026-08-11 23:35 UTCGHSA enrichment
  44. 2026-08-11 13:42 UTCEPSS rescore
  45. 2026-08-11 01:22 UTCEG score recompute
  46. 2026-08-11 01:22 UTCGHSA enrichment
  47. 2026-08-11 00:34 UTCEG score recompute
  48. 2026-08-11 00:34 UTCGHSA enrichment
  49. 2026-08-10 23:59 UTCEPSS rescore
  50. 2026-08-10 19:24 UTCGHSA enrichment
  51. 2026-08-09 18:16 UTCEG score recompute
  52. 2026-08-09 18:16 UTCGHSA enrichment
  53. 2026-08-09 13:46 UTCEPSS rescore
  54. 2026-08-08 20:03 UTCEG score recompute
  55. 2026-08-08 20:03 UTCGHSA enrichment
  56. 2026-08-08 16:37 UTCEPSS rescore
  57. 2026-08-07 21:49 UTCEG score recompute
  58. 2026-08-07 21:49 UTCGHSA enrichment
  59. 2026-08-06 23:36 UTCEG score recompute
  60. 2026-08-06 23:36 UTCGHSA enrichment
  61. 2026-08-06 13:46 UTCEPSS rescore
  62. 2026-08-06 01:21 UTCEG score recompute
  63. 2026-08-06 01:21 UTCGHSA enrichment
  64. 2026-08-06 00:50 UTCEG score recompute
  65. 2026-08-06 00:50 UTCGHSA enrichment
  66. 2026-08-05 19:17 UTCEPSS rescore
  67. 2026-08-05 14:28 UTCEG score recompute
  68. 2026-08-05 14:28 UTCGHSA enrichment
  69. 2026-08-05 13:49 UTCEG score recompute
  70. 2026-08-05 13:49 UTCGHSA enrichment
  71. 2026-08-05 01:19 UTCEG score recompute
  72. 2026-08-05 01:19 UTCGHSA enrichment
  73. 2026-08-05 00:51 UTCEG score recompute
  74. 2026-08-05 00:51 UTCGHSA enrichment
  75. 2026-08-04 15:09 UTCEPSS rescore

Frequently asked(5)

What is CVE-2026-12003?
CVE-2026-12003 is a medium vulnerability published on June 16, 2026. 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…
When was CVE-2026-12003 disclosed?
CVE-2026-12003 was first published in the National Vulnerability Database on June 16, 2026, with the most recent update on August 13, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-12003 actively exploited?
CVE-2026-12003 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 95.6% of all scored CVEs.
What is the CVSS score of CVE-2026-12003?
CVE-2026-12003 has a CVSS v3 base score of 5.3 (NVD).
How do I remediate CVE-2026-12003?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-12003, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-12003

Explore →

Is Your Infrastructure Affected by CVE-2026-12003?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.