NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

GHSA-2p6r-x3vv-xqm2: rpassword affected by partial password reveal when input is interrupted

lowCVSS 3.1 3.8

rpassword maintainers were made aware of a possible issue with a partial password reveal when input is interrupted. To quote @squell: @conradkleinespel I've confirmed this problem with SequoiaPGP, which I think uses rpassword, e.g.: Suppose we use pkill -9 sq in a different terminal right after the password has been typed in: $ sq key generate --userid "barf" --with-password Enter password to protect the key: Killed…

Published May 6, 2026

Affected packages

rpassword

Ecosystem
Rust (crates.io)
Affected
<= 7.4.0
Fixed in
7.5.0
Check
cargo tree -i rpassword

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

rpassword maintainers were made aware of a possible issue with a partial password reveal when input is interrupted.

To quote @squell:

@conradkleinespel I've confirmed this problem with SequoiaPGP, which I think uses rpassword, e.g.: > > Suppose we use pkill -9 sq in a different terminal right after the password has been typed in: > > $ sq key generate --userid "barf" --with-password > Enter password to protect the key: Killed > $ hello^C > > Where the password I typed in is "hello".

This has been fixed in version v7.5.0 and above.

Credited to DevLaTron, squell.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology