{"id":"CVE-2026-114134","summary":"Black: GitHub Action installs unvalidated required-version from pyproject.toml","details":"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.","aliases":["GHSA-cg8m-r9f2-5wm2"],"modified":"2026-11-14T02:30:51.865966347Z","published":"2026-11-05T20:22:14.467Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114134.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-829"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114134.json"},{"type":"ADVISORY","url":"https://github.com/psf/black/security/advisories/GHSA-cg8m-r9f2-5wm2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114134"},{"type":"FIX","url":"https://github.com/psf/black/commit/ac1f71563aeccf73cf13ece00f231d9d6c66a514"},{"type":"FIX","url":"https://github.com/psf/black/pull/5510"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/psf/black","events":[{"introduced":"0"},{"fixed":"258e7dbf348bc23cb70b8cdf693481c04634ebcc"},{"fixed":"ac1f71563aeccf73cf13ece00f231d9d6c66a514"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"26.10.1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ac1f71563aeccf73cf13ece00f231d9d6c66a514"}]}]}}],"versions":["26.10.0","26.5.1","26.5.0","26.3.1","26.3.0","26.1.0","25.12.0","25.11.0","25.9.0","25.1.0","24.10.0","24.8.0","24.4.2","24.4.1","24.4.0","24.3.0","24.2.0","24.1.1","24.1.0","23.12.1","23.12.0","23.11.0","23.10.1","23.10.0","23.9.1","23.9.0","23.7.0","23.3.0","23.1.0","22.12.0","22.10.0","22.8.0","22.6.0","22.3.0","22.1.0","21.12b0","21.11b1","21.11b0","21.10b0","21.9b0","21.8b0","21.7b0","21.6b0","21.5b2","21.5b1","21.5b0","21.4b2","21.4b1","21.4b0","20.8b1","20.8b0","19.10b0","19.3b0","18.9b0","18.6b4","18.6b3","18.6b2","18.6b1","18.6b0","18.5b1","18.5b0","18.4a4","18.4a3","18.4a2","18.4a1","18.4a0","18.3a4","18.3a3","18.3a2","18.3a1","18.3a0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114134.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}