Skip to main content
VulnerabilityPublished Updated

CVE-2025-71176: Locust · pytest has vulnerable tmpdir handling

Affects locustSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.8 Medium : upgrade to 2.43.4_1 when convenient.

Data as of 4 Dec 2026, 18:36 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.43.4_1, 9.0.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.

What to do

Upgrade locust to 2.43.4_1; pytest to 9.0.3.

Affected software

ProductAffectedFixed in
Homebrewlocustpkg:brew/locustOther threatsAffected
  • >=2.40.0 <2.43.4_1
Fixed in
  • 2.43.4_1
PyPIpytestpkg:pypi/pytestOther threatsAffected
  • <9.0.3
Fixed in
  • 9.0.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in Locust version 2.43.4_1 that addresses this vulnerability. Users should upgrade to version 2.43.4_1 or later to remediate the issue.

Description

CVE-2025-71176 is a vulnerability in pytest versions through 9.0.2 on UNIX systems where the use of predictable temporary directories named /tmp/pytest-of-{user} can allow local users to cause denial of service or potentially escalate privileges. This affects Locust versions from 2.40.0 up to but not including 2.43.4_1. The vulnerability has a medium severity with a CVSS score of 6.8.

References

Community reviews

Loading reviews…