{
  "id": "CVE-2026-95521",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-95521",
  "published_at": "2026-09-24T13:26:56.782Z",
  "title": "Rpm: rpm: shell command injection via macro expansion of source/spec file basenames when installing a source rpm",
  "vendor": "Red Hat",
  "product": "Red Hat",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A command injection flaw was found in rpm. Installing or rebuilding a source RPM whose source or spec file basenames contain a %() macro construct causes rpm to execute an attacker-controlled shell command via popen() while relocating the source file list. This allows arbitrary command execution as the invoking (typically non-root) user, simply by installing, rebuilding, or otherwise processing an untrusted .src.rpm.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "workarounds": [
      "To mitigate this issue, Red Hat recommends avoiding the installing or rebuilding of source RPMs from untrusted or unverified sources."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
