CVE-2024-56327
Malicious plugin names, recipients, or identities can cause arbitrary binary execution in pyrage
Also known as GHSA-47h8-jmp3-9f28, PYSEC-2026-1839
Mitigation
- Upgrade pyrage to 1.2.3 or later.
Who should check
- Projects that depend on PyPI package pyrage (>= 1.2.0, < 1.2.3)
- Anyone running woodruffw pyrage >= 1.2.0, < 1.2.3
Vulnerability facts
- Affected
- pyrage >= 1.2.0, < 1.2.3
- Fixed in
- 1.2.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.75% chance of exploitation in 30 days (percentile 51, 2026-11-26)
- CWE
- CWE-94
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-56327. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-56327.md Affected: pyrage >= 1.2.0, < 1.2.3 Fixed in: 1.2.3 Steps: 1. Search this machine and project for pyrage (PyPI), woodruffw pyrage: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- 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
- https://github.com/str4d/rage/security/advisories/GHSA-4fg7-vxc8-qx5w
- https://nvd.nist.gov/vuln/detail/CVE-2024-56327
- https://github.com/advisories/GHSA-47h8-jmp3-9f28
FAQ
Is CVE-2024-56327 being exploited?
There is no confirmed exploitation: CVE-2024-56327 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.75% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-56327?
High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2024-56327?
pyrage >= 1.2.0, < 1.2.3.
Is there a fix for CVE-2024-56327?
Yes. Fixed in 1.2.3. Upgrade pyrage to 1.2.3 or later.
How do I check if I'm affected by CVE-2024-56327?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.