Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. elysia
  4. ›
  5. CVE-2026-30837

CVE-2026-30837: Elysia has a string URL format ReDoS

March 10, 2026

t.String({ format: 'url' }) is vulnerable to redos

Repeating a partial url format (protocol and hostname) multiple times cause regex to slow down significantly

'http://a'.repeat(n)

Here’s a table demonstrating how long it takes to process repeated partial url format

n repeatelapsed_ms
102433.993
2048134.357
4096537.608
81922155.842
163848618.457
3276834604.139

References

  • github.com/EdamAme-x/elysia-poc-redos
  • github.com/advisories/GHSA-f45g-68q3-5w8x
  • github.com/elysiajs/elysia
  • github.com/elysiajs/elysia/security/advisories/GHSA-f45g-68q3-5w8x
  • nvd.nist.gov/vuln/detail/CVE-2026-30837

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.26

Fixed versions

  • 1.4.26

Solution

Upgrade to version 1.4.26 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/elysia/CVE-2026-30837.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:51 +0000.