Read the docs
TI-2012-04866 Aliases CVE-2012-5825GHSA-pwx5-xg7g-wpc5

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—tweepy (PyPI)before 3.03.0Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:tweepy:tweepy:*:*:*:*:*:*:*:*before 3.0.0VulnerableTweepy
  • cpe:2.3:a:tweepy:tweepy:*:*:*:*:*:*:*:* Versions before 3.0.0 Vulnerable ·Tweepy

Remediation

  • Fix · GHSA-pwx5-xg7g-wpc5 tweepy (PyPI) Fixed in 3.0 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2012-5825
  2. 2026-10-03 Alias added: GHSA-pwx5-xg7g-wpc5

References

Sources