Bug 2468452 (CVE-2026-42301) - CVE-2026-42301 pyp2spec: python: pyp2spec: Arbitrary command execution via unescaped RPM macro directives
Summary: CVE-2026-42301 pyp2spec: python: pyp2spec: Arbitrary command execution via un...
Keywords:
Status: NEW
Alias: CVE-2026-42301
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2477913
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-09 05:02 UTC by OSIDB Bzimport
Modified: 2026-05-15 15:58 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-09 05:02:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.