Email me

Rust advisories / rage

Vulnerability MediumRUSTSEC-2024-0432 · rage

RUSTSEC-2024-0432: Malicious plugin names, recipients, or identities can cause arbitrary binary execution

Short answerA security vulnerability in the rage crate: Malicious plugin names, recipients, or identities can cause arbitrary binary execution. GitHub rates it Medium. Fixed in 0.10.1, 0.11.1, 0.6.1, 0.7.2, 0.8.2, 0.9.3: update to a fixed version.

Craterage
TypeVulnerability (code-execution)
Affected versionsFrom 0.6.0 before 0.6.1; from 0.7.0 before 0.7.2; from 0.8.0 before 0.8.2; from 0.9.0 before 0.9.3; from 0.10.0 before 0.10.1; from 0.11.0 before 0.11.1.
Fixed in0.10.1, 0.11.1, 0.6.1, 0.7.2, 0.8.2, 0.9.3
SeverityMedium (GitHub rating)
Published2024-12-18
Last changed2026-10-12
Also known asGHSA-4fg7-vxc8-qx5w, RUSTSEC-2024-0433

What to do

  1. See which version you have: cargo tree -i rage (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p rage. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example rage = "0.9.3") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

A plugin name containing a path separator may allow an attacker to execute an arbitrary binary.

Such a plugin name can be provided to the rage CLI through an attacker-controlled recipient or identity string, or an attacker-controlled plugin name via the -j flag.

On UNIX systems, a directory matching age-plugin-* needs to exist in the working directory for the attack to succeed.

The binary is executed with a single flag, either --age-plugin=recipient-v1 or --age-plugin=identity-v1. The standard input includes the recipient or identity string, and the random file key (if encrypting) or the header of the file (if decrypting). The format is constrained by the age-plugin protocol.

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.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Up next

Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ