CVE-2026-42301
Last modified
CVE-2026-42301 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. pyp2spec generates working Fedora RPM spec file for Python projects. Prior to version 0.14.1, pyp2spec was writing PyPI package metadata (e.g. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-42301?
How severe is CVE-2026-42301?
How do I fix CVE-2026-42301?
Are you affected by CVE-2026-42301?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
