{"id":"CVE-2026-114134","published":"2026-11-05T20:22:14Z","modified":"2026-11-09T17:42:32Z","title":"Black: GitHub Action installs unvalidated required-version from pyproject.toml","vendor":"psf","product":"black","tier":"tail","description":{"text":"Black is the uncompromising Python code formatter. Prior to 26.10.1, the Black GitHub Action with use_pyproject: true accepts tool.black.required-version from pyproject.toml without validating that it is a released Black version specifier. An attacker who can submit a pull request can change that field to a direct reference to attacker-controlled code, causing the workflow to install and execute the code in the victim repository's GitHub Actions context. This issue is fixed in version 26.10.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00404,"percentile":0.35519,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://github.com/psf/black/security/advisories/GHSA-cg8m-r9f2-5wm2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/psf/black/pull/5510","tags":["x_refsource_MISC"]},{"url":"https://github.com/psf/black/commit/ac1f71563aeccf73cf13ece00f231d9d6c66a514","tags":["x_refsource_MISC"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":7.1},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"psf","affectedVersions":[{"vendor":"psf","product":"black","versions":["< 26.10.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-09T17:37:05.046230Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"black","vulnerableRanges":["<26.10.1"],"patched":["26.10.1"],"from":["GHSA-cg8m-r9f2-5wm2"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-117785","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-psf-black-cve-2026-31900","parents":[{"from":"CVE-2026-31900","to":"CVE-2026-114134","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["action/main.py"],"commits":["https://github.com/psf/black/commit/ac1f71563aeccf73cf13ece00f231d9d6c66a514","https://github.com/psf/black/commit/0a2560b981364dde4c8cf8ce9d164c40669a8611"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-21503","published":"2024-03-19","fixed":"24.3.0","kev":false},{"cve":"CVE-2026-31900","published":"2026-03-11","fixed":"26.3.0","kev":false},{"cve":"CVE-2026-32274","published":"2026-03-12","fixed":"26.3.1","kev":false,"link":{"from":"CVE-2026-32274","to":"CVE-2026-114134","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:black","fromFixed":"26.3.1","toFixed":"26.10.1","daysApart":238}]}},{"cve":"CVE-2026-114134","published":"2026-11-05","fixed":"26.10.1","kev":false}],"package":"PyPI:black"}}