GHSA-2p6r-x3vv-xqm2
rpassword affected by partial password reveal when input is interrupted
GHSA-2p6r-x3vv-xqm2 is a low vulnerability (CVSS 3.8) in rpassword, published May 6, 2026. No source lists public exploit code. Fixed in rpassword 7.5.0.
- Severity
- 3.8 LowCVSS 3.1, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
7.5.0rpassword +1 more
Description
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.
Attack profile
How easy it is to exploit
- Attack vector
- Physical
- Complexity
- High
- Privileges needed
- High
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Affected packages
What each source reports
GitHub Advisories Score used 3.8
rpassword affected by partial password reveal when input is interrupted
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.
- Record
GHSA-2p6r-x3vv-xqm2- CVSS 3.1
- 3.8 Low
CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-200, CWE-755
- Updated
- 2026-11-02
OSV 3.8
rpassword affected by partial password reveal when input is interrupted
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.
- Record
GHSA-2p6r-x3vv-xqm2- CVSS 3.1
- 3.8 Low
CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-200, CWE-755
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.