NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍 PyPI
Not in CISA KEV

Python Requests Session FixationGHSA-pg2w-x9wp-vw92

Fix: kennethreitz/requests@3bd8afb

GHSA-pg2w-x9wp-vw92 is a security vulnerability in requests. A fix is available for requests — see the affected versions and patch details below.

Also known asCVE-2015-2296PYSEC-2015-17
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
3.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs88th percentile — riskier than 88% of all scored CVEsHighest risk
0.45%1.67%2.89%4.11%1.1%3.2%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

1 pkg affected
🐍requests

Real-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

The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a redirect.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIrequests≥ 2.1.0&&< 2.6.02.6.0pip install --upgrade 'requests==2.6.0'

Affected Products

3 products · 14 configurations
OS
ubuntu linuxcanonical
2 versions
14.0414.10
OS
mageiamageia_project
1 version
4.0
Application
requestspython
11 versions
2.1.02.2.12.3.02.4.02.4.12.4.22.4.32.5.02.5.12.5.22.5.3

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for requests, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update requests to 2.6.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-pg2w-x9wp-vw92 is resolved across your whole dependency graph.

  3. Workarounds

    Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.

Frequently Asked Questions

The `resolve_redirects` function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a redirect.
O3 Security · Impact-Aware SCA

Is GHSA-pg2w-x9wp-vw92 in your dependencies?

Find it across PyPI, including transitive dependencies.

Python Requests Session Fixation