{"answers":{"affected":"2 open source packages ship an affected version, including rpassword.","exploited":"There is no known exploitation of GHSA-2p6r-x3vv-xqm2 in the wild and no public exploit code.","fix":"Upgrade rpassword to 7.5.0 or later.","what":"GHSA-2p6r-x3vv-xqm2 is a vulnerability in rpassword, published on 6 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-2p6r-x3vv-xqm2 and fix it if it is affected.\n\nWhat it is: GHSA-2p6r-x3vv-xqm2 is a vulnerability in rpassword, published on 6 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-2p6r-x3vv-xqm2 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rpassword (crates.io): affected all versions; fixed in 7.5.0\n- rpassword (crates.io): affected all versions; fixed in 7.5.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-2p6r-x3vv-xqm2/ (Markdown: https://insights.sbomify.com/GHSA-2p6r-x3vv-xqm2/index.md)","id":"GHSA-2p6r-x3vv-xqm2","markdown":"https://insights.sbomify.com/GHSA-2p6r-x3vv-xqm2/index.md","name":"GHSA-2p6r-x3vv-xqm2","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Rust password library","requires_auth":"none","summary":"An attacker with local access can recover partial passwords if the input process is interrupted, affecting applications using the rpassword library.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"rpassword maintainers were made aware of a possible issue with a partial password reveal when input is interrupted.\n\nTo quote @squell:\n\n\u003e @conradkleinespel I've confirmed this problem with SequoiaPGP, which I think uses rpassword, e.g.:\n\u003e\n\u003e Suppose we use pkill -9 sq in a different terminal right after the password has been typed in:\n\u003e\n\u003e $ sq key generate --userid \"barf\" --with-password\n\u003e Enter password to protect the key: Killed\n\u003e $ hello^C\n\u003e\n\u003e Where the password I typed in is \"hello\".\n\nThis has been fixed in version v7.5.0 and above.","ecosystems":["crates.io"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"rpassword affected by partial password reveal when input is interrupted","id":"GHSA-2p6r-x3vv-xqm2","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":["7.5.0"],"introduced":["0"],"last_affected":[],"package":"rpassword","purl":null,"source":"GHSA-2p6r-x3vv-xqm2"},{"ecosystem":"crates.io","fixed":["7.5.0"],"introduced":["0"],"last_affected":[],"package":"rpassword","purl":"pkg:cargo/rpassword","source":"GHSA-2p6r-x3vv-xqm2"}],"products":null,"published":"2026-05-06","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker with local access can recover partial passwords if the input process is interrupted, affecting applications using the rpassword library.","url":"https://insights.sbomify.com/GHSA-2p6r-x3vv-xqm2/"}