CVE-2025-6075 Affecting pytest package, versions <0:6.0.2-2.module+el8.10.0+1582+bc278001


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-PYTEST-14534129
  • published19 Dec 2025
  • disclosed31 Oct 2025

Introduced: 31 Oct 2025

CVE-2025-6075  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 pytest to version 0:6.0.2-2.module+el8.10.0+1582+bc278001 or higher.
This issue was patched in RLSA-2025:23530.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pytest package and not the pytest package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.

CVSS Base Scores

version 3.1