Skip to main content

Locust: urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation (CVE-2025-50181)

0
Medium
Published: 08/13/2026 (08/13/2026, 17:03:02 UTC)
Source: GCVE Database
Product: locust

Description

A vulnerability in urllib3 used by Locust (CVE-2025-50181) causes the 'retries' parameter on PoolManager instantiation to be ignored when attempting to disable HTTP redirects. This means that disabling redirects at the PoolManager level does not work as intended, potentially leaving applications vulnerable to SSRF exploitation if they rely on this mechanism for mitigation. The issue affects Locust versions from 2.2.1 up to but not including 2.37.10_2. A patch is available to address this behavior.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

Homebrewmore threats →ghsa
locust
pkg:brew/locust
Affected versions
>=2.2.1 <2.37.10_2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/18/2026, 01:57:44 UTC

Technical Analysis

urllib3 handles redirects and retries via the Retry object. While redirects can be disabled per request, disabling redirects globally by setting the 'retries' parameter on PoolManager instantiation is ignored due to this vulnerability. Applications that attempt to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level remain vulnerable because redirects are still followed. The vulnerability affects Locust versions >=2.2.1 and <2.37.10_2. The recommended remediation is to upgrade to a patched urllib3 version and disable redirects at the request level instead of relying on PoolManager-level settings.

Potential Impact

Applications using vulnerable versions of Locust that disable redirects at the PoolManager level remain susceptible to SSRF or open redirect exploitation because redirects are not actually disabled. This can lead to unauthorized information disclosure or other impacts related to SSRF attacks. The CVSS 3.1 score is 5.3 (medium severity), reflecting network attack vector, high complexity, low privileges required, no user interaction, unchanged scope, and high confidentiality impact.

Mitigation Recommendations

Upgrade to a patched version of urllib3 that addresses this issue. Until upgraded, disable redirects explicitly at the request() level rather than relying on the retries parameter during PoolManager instantiation. No other mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-locust-CVE-2025-50181
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6aac8dfa55bf5e2cf5490331

Added to database: 09/18/2026, 01:03:54 UTC

Last enriched: 09/18/2026, 01:57:44 UTC

Last updated: 09/18/2026, 01:57:44 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses