Paramiko Unsafe randomness usage may allow access to sensitive informationGHSA-wqmm-q65g-2hqr
MEDIUMGHSA-wqmm-q65g-2hqr is a medium-severity (CVSS 6.5) vulnerability in paramiko. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for paramiko — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
paramikoReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
common.py in Paramiko 1.7.1 and earlier, when using threads or forked processes, does not properly use RandomPool, which allows one session to obtain sensitive information from another session by predicting the state of the pool.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | paramiko | all versions | 1.7.1-3pip install --upgrade 'paramiko==1.7.1-3' |
Affected Products
paramikopython_software_foundationResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for paramiko, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update paramiko to 1.7.1-3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-wqmm-q65g-2hqr is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-wqmm-q65g-2hqr in your dependencies?
Find it across PyPI, including transitive dependencies.