Live threats

All CVEs / befeleme

CVE-2026-42301befeleme pyp2spec

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
—
Auth required
Yes
Published
May 9, 2026
Updated
Jul 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for pyp2spec.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pyp2spec < 0.14.1 0.14.1 pip install "pyp2spec>=0.14.1"
PyPI pyp2spec < 0.14.1 0.14.1 pip install "pyp2spec>=0.14.1"

Per OSV / GitHub Advisories (GHSA-r35x-v8p8-xvhw, PYSEC-2026-3003). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.