CVE-2012-5577
Incorrect Default Permissions in keyring
Also known as GHSA-p86x-652p-6385, PYSEC-2019-181
Mitigation
- Upgrade keyring to 0.10 or later.
Who should check
- Projects that depend on PyPI package keyring (< 0.10)
- Anyone running Python keyring lib 0.10
Vulnerability facts
- Affected
- keyring < 0.10
- Fixed in
- 0.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.84% chance of exploitation in 30 days (percentile 79, 2026-11-26)
- CWE
- CWE-276
- Modified
Description
Python keyring lib before 0.10 created keyring files with world-readable permissions.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI keyring | < 0.10 | 0.10 | osv |
| Python keyring lib | 0.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2012-5577. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2012-5577.md Affected: keyring < 0.10 Fixed in: 0.10 Steps: 1. Search this machine and project for keyring (PyPI), Python keyring lib: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://security-tracker.debian.org/tracker/CVE-2012-5577
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-5577
- http://www.openwall.com/lists/oss-security/2012/11/27/3
- https://bitbucket.org/kang/python-keyring-lib/issue/67/set-go-rwx-on-keyring_passcfg
- https://bitbucket.org/kang/python-keyring-lib
- https://github.com/pypa/advisory-database/tree/main/vulns/keyring/PYSEC-2019-181.yaml
FAQ
Is CVE-2012-5577 being exploited?
There is no confirmed exploitation: CVE-2012-5577 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.84% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2012-5577?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2012-5577?
keyring < 0.10.
Is there a fix for CVE-2012-5577?
Yes. Fixed in 0.10. Upgrade keyring to 0.10 or later.
How do I check if I'm affected by CVE-2012-5577?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.