{"id":"CVE-2026-42301","sourceIdentifier":"security-advisories@github.com","published":"2026-05-09T04:16:25.923","lastModified":"2026-07-24T21:10:00.143","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"pyp2spec generates working Fedora RPM spec file for Python projects. Prior to version 0.14.1, pyp2spec was writing PyPI package metadata (e.g. the summary field) into the generated spec file without escaping RPM macro directives. When a packager then runs rpmbuild, those directives get evaluated, so a malicious package can execute arbitrary commands on the build machine. This issue has been patched in version 0.14.1."},{"lang":"es","value":"pyp2spec genera un archivo spec RPM de Fedora funcional para proyectos Python. Antes de la versión 0.14.1, pyp2spec escribía los metadatos del paquete PyPI (por ejemplo, el campo 'summary') en el archivo spec generado sin escapar las directivas de macro RPM. Cuando un empaquetador ejecuta rpmbuild, esas directivas se evalúan, por lo que un paquete malicioso puede ejecutar comandos arbitrarios en la máquina de compilación. Este problema ha sido parcheado en la versión 0.14.1."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"befeleme","product":"pyp2spec","versions":[{"version":"< 0.14.1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-05-11T17:33:41.998650Z","id":"CVE-2026-42301","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-20"},{"lang":"en","value":"CWE-94"}]}],"references":[{"url":"https://github.com/befeleme/pyp2spec/releases/tag/v0.14.1","source":"security-advisories@github.com"},{"url":"https://github.com/befeleme/pyp2spec/security/advisories/GHSA-r35x-v8p8-xvhw","source":"security-advisories@github.com"}]}