Feed
5.6MEDIUM

CVE-2024-35195Requests `Session` object does not verify requests after making first request with verify=False

A medium-severity vulnerability reachable with local access, needing high privileges and user interaction. EPSS estimates a 0.4% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.4%
percentile 24%
Priority
3/100 low
how it is computed
Fix
Named by a source
CVE published 20 May 2024

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.4% (+0)

Immediate actions

Who should check

  • requests (PyPI) pkg:pypi/requests

    • Affected< 2.32.0Fixed in2.32.0OSV (PYSEC-2026-1873)

Confirmed facts

CVSS
5.6 MEDIUM (version 3.1)
Score from
PYSEC-2026-1873
Attack vector
local
Attack complexity
high
Privileges required
high
User interaction
required
Weakness
CWE-670

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)When using a `requests.Session`, if the first request to a given origin is made with `verify=False`, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if `verify=True` is explicitly specified later. This occurs because the underlying connection is reused from the session's connection pool, causing the initial TLS verification setting to persist for the lifetime of the pooled connection. As a result, applications may unintentionally send requests without certificate verification, leading to potential man-in-the-middle attacks and compromised confidentiality or integrity. This behavior affects versions of `requests` prior to 2.32.0.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 50 min ago · osv 49 min ago · nvd 49 min ago · epss 49 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-9wx4-h78v-vm56, PYSEC-2026-1873