CVE-2024-56327
JSON

7.7high

Malicious plugin names, recipients, or identities can cause arbitrary binary execution in pyrage

Severity
7.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.50% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-47h8-jmp3-9f28PYSEC-2026-1839

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

Product or packageVersionsReported by
woodruffw pyrage>= 1.2.0, < 1.2.3CVE List
pyrage (PyPI)from 1.2.0 before 1.2.3GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M7.7high CVSS:4.0CVSS: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-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
PyPA Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-25CWE-94CWE-1395

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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, see advisory GHSA-32gq-x56h-299c.

Thanks to ⬡-49016 for reporting this issue.

NVD (es)

pyrage es un conjunto de enlaces de Python para la librería de cifrado de archivos rage (age en Rust). `pyrage` usa el cajón `age` de Rust para sus operaciones subyacentes, y `age` es vulnerable a GHSA-4fg7-vxc8-qx5w. Todos los detalles de GHSA-4fg7-vxc8-qx5w son relevantes para `pyrage` para las versiones especificadas en este aviso. Consulte GHSA-4fg7-vxc8-qx5w para obtener todos los detalles. Las versiones de `pyrage` anteriores a 1.2.0 carecen de compatibilidad con complementos y, por lo tanto, **no se ven afectadas**. Se solucionó un problema equivalente en [la implementación de referencia de Go de age](https://github.com/FiloSottile/age), consulte el aviso GHSA-32gq-x56h-299c. Este problema se ha solucionado en la versión 1.2.3 y se recomienda a todos los usuarios que actualicen. No existen workarounds para esta vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-56327 changed 2024-12-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-47h8-jmp3-9f28 changed 2026-07-07CC-BY-4.0
NVDCVE-2024-56327 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1839 changed 2026-07-07CC-BY-4.0