RCE in Befeleme Pyp2spec
CVE-2026-42301
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (12.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 12th percentile — 12.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Befeleme Pyp2spec — versions < 0.14.1
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-42301?
- CVE-2026-42301 is a high-severity vulnerability in Befeleme Pyp2spec, classified under Improper Input Validation. CVSS score: 7.8/10. Published 2026-05-09.
- How severe is CVE-2026-42301?
- High severity. CVSS v3 base score is 7.8 out of 10.