Read the docs
TI-2025-07562 Aliases CVE-2025-8262GHSA-9xhp-f235-5v37

yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos

Priority MEDIUM 57CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1333.

Summary

A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the function explodeHostedGitFragment of the file src/resolvers/exotics/hosted-git-resolver.js. The manipulation leads to inefficient regular expression complexity. It is possible to launch the attack remotely. The patch is identified as 97731871e674bf93bcbf29e9d3258da8685f3076. It is recommended to apply a patch to fix this issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00843 58th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
yarnpkgYarn1.22.0; 1.22.1; 1.22.2; 1.22.3; 1.22.4; 1.22.5; 1.22.6; 1.22.7; 1.22.8; 1.22.9; 1.22.10; 1.22.11; 1.22.12; 1.22.13; 1.22.14; 1.22.15; 1.22.16; 1.22.17; 1.22.18; 1.22.19; 1.22.20; 1.22.21; 1.22.22—No fix listedCNA
  • Yarn Vendoryarnpkg Affected 1.22.0; 1.22.1; 1.22.2; 1.22.3; 1.22.4; 1.22.5; 1.22.6; 1.22.7; 1.22.8; 1.22.9; 1.22.10; 1.22.11; 1.22.12; 1.22.13; 1.22.14; 1.22.15; 1.22.16; 1.22.17; 1.22.18; 1.22.19; 1.22.20; 1.22.21; 1.22.22 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*up to 1.22.22Vulnerableyarnpkg
  • cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:* Versions up to 1.22.22 Vulnerable ·yarnpkg

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-8262
  2. 2026-10-03 Alias added: GHSA-9xhp-f235-5v37

References

  • TI-2025-08532 yarnpkg Yarn request-manager.js setOptions redos CVSS 4.0MEDIUM 4.8
  • TI-2020-06549 Path traversal in yarn CVSS 3.1HIGH 7.5
  • TI-2019-08038 Link following in Yarn CVSS 3.1HIGH 7.8
  • TI-2021-03291 Yarn: untrusted search path CVSS 3.1HIGH 7.8
  • TI-2019-03856 Cleartext transmission of sensitive information in yarn CVSS 3.1HIGH 8.1
  • TI-2019-11707 Time-of-check time-of-use race condition in yarn CVSS 3.1MEDIUM 5.9

Sources