VulnerabilityCVE-2026-42301GHSA-r35x-v8p8-xvhw
Improper Input Validation leading to Improper Control of Generation of Code ('Code Injection') in pyp2spec
Not on CISA KEVCVSS 7.8 (v3.1)
Summary
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,
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)