Tweepy does not verify that the server hostname matches a domain name in the subject's…
Priority LOW 33CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
Tweepy does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to use of the Python httplib library.
Why it matters now
EPSS 0.00604 49th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed tweepy (PyPI): 3.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | tweepy (PyPI) | before 3.0 | 3.0 | Patch available | GHSA-pwx5-xg7g-wpc5 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- tweepy (PyPI) Vendor— Affected before 3.0 Fixed in 3.0 Patch available GHSA-pwx5-xg7g-wpc5
Remediation
- Fix · GHSA-pwx5-xg7g-wpc5 tweepy (PyPI) Fixed in 3.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2012-5825
- 2026-10-03 Alias added: GHSA-pwx5-xg7g-wpc5
References
Sources
- CVE-2012-5825 · CVE Program
- CVE-2012-5825 · NVD
- FIRST EPSS
- GHSA-pwx5-xg7g-wpc5 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-5825 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences