Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @sync-in/server
  4. ›
  5. CVE-2026-58270

CVE-2026-58270: Sync-in Server has a ReDoS via Unsanitized Regex in Sync Diff `pathFilters`

September 22, 2026

In the vulnerable version, the sync diff endpoint accepted a user-controlled regex pattern through pathFilters and compiled it into a RegExp without complexity validation. The resulting regex was then executed synchronously against relative file paths during diff generation.

A catastrophic-backtracking pattern, such as ^(a+)+b, can block the affected Node.js event loop when evaluated against a worst-case path shape. In a single-process deployment, this can make the server unavailable to other users while the regex evaluation is running. Repeated malicious requests can sustain the denial of service.

References

  • github.com/Sync-in/server/commit/b1dcaa1d1c1bb17ab6c31a404cc9cead7efdd979
  • github.com/Sync-in/server/pull/228
  • github.com/Sync-in/server/releases/tag/v2.4.0
  • github.com/Sync-in/server/security/advisories/GHSA-jx63-h26r-8cph
  • github.com/advisories/GHSA-jx63-h26r-8cph
  • nvd.nist.gov/vuln/detail/CVE-2026-58270

Code Behaviors & Features

Detect and mitigate CVE-2026-58270 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.0

Fixed versions

  • 2.4.0

Solution

Upgrade to version 2.4.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/@sync-in/server/CVE-2026-58270.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 24 Sep 2026 00:17:28 +0000.