Vulnerability

CVE-2026-42301

highCVSS 3.1 7.8Published 9 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /befeleme/pyp2spec/releases/tag/v0.14.1
  • github.com /befeleme/pyp2spec/security/advisories/GHSA-r35x-v8p8-xvhw

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning