Skip to content

fix: upgrade path-to-regexp to 8.4.0 (CVE-2026-4926) - #4

Open
anupamme wants to merge 1 commit into
smanx:masterfrom
anupamme:fix-repo-qwen2api-cve-2026-4926-path-to-regexp
Open

fix: upgrade path-to-regexp to 8.4.0 (CVE-2026-4926)#4
anupamme wants to merge 1 commit into
smanx:masterfrom
anupamme:fix-repo-qwen2api-cve-2026-4926-path-to-regexp

Conversation

@anupamme

Copy link
Copy Markdown

Summary

Upgrade path-to-regexp from 8.3.0 to 8.4.0 to fix CVE-2026-4926.

Vulnerability

Field Value
ID CVE-2026-4926
Severity HIGH
Scanner trivy
Rule CVE-2026-4926
File package-lock.json (dependency: path-to-regexp)
Assessment Present in dependency tree, not confirmed reachable

Description: path-to-regexp: path-to-regexp: Denial of Service via crafted regular expressions

Evidence

Scanner confirmation: trivy rule CVE-2026-4926 flagged this pattern.

Changes

  • package.json
  • package-lock.json

Behavior Preservation

The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security
@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

@anupamme is attempting to deploy a commit to the smanx's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploy Preview for qwen2api failed. Why did it fail? →

Name Link
🔨 Latest commit d5413f9
🔍 Latest deploy log https://app.netlify.com/projects/qwen2api/deploys/6a7ed2ebd60277000a9c36be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant