chore(monorepo): update pnpm-workspace.overrides path-to-regexp to >=0.1.13 [security] - #14
Open
renovate[bot] wants to merge 1 commit into
Open
chore(monorepo): update pnpm-workspace.overrides path-to-regexp to >=0.1.13 [security]#14renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/npm-path-to-regexp-vulnerability
branch
from
September 6, 2026 19:34
ee235ed to
d557251
Compare
renovate
Bot
force-pushed
the
renovate/npm-path-to-regexp-vulnerability
branch
from
September 12, 2026 19:53
d557251 to
b07413f
Compare
…0.1.13 [security]
renovate
Bot
force-pushed
the
renovate/npm-path-to-regexp-vulnerability
branch
from
September 14, 2026 03:45
b07413f to
c86d8fa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=0.1.12→>=0.1.13path-to-regexp contains a ReDoS
CVE-2024-52798 / GHSA-rhx6-c78j-4q9w
More information
Details
Impact
The regular expression that is vulnerable to backtracking can be generated in versions before 0.1.12 of
path-to-regexp, originally reported in CVE-2024-45296Patches
Upgrade to 0.1.12.
Workarounds
Avoid using two parameters within a single path segment, when the separator is not
.(e.g. no/:a-:b). Alternatively, you can define the regex used for both parameters and ensure they do not overlap to allow backtracking.References
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:PReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
path-to-regexp vulnerable to Regular Expression Denial of Service via multiple route parameters
CVE-2026-4867 / GHSA-37ch-88jc-xwx2
More information
Details
Impact
A bad regular expression is generated any time you have three or more parameters within a single segment, separated by something that is not a period (
.). For example,/:a-:b-:cor/:a-:b-:c-:d. The backtrack protection added inpath-to-regexp@0.1.12only prevents ambiguity for two parameters. With three or more, the generated lookahead does not block single separator characters, so capture groups overlap and cause catastrophic backtracking.Patches
Upgrade to path-to-regexp@0.1.13
Custom regex patterns in route definitions (e.g.,
/:a-:b([^-/]+)-:c([^-/]+)) are not affected because they override the default capture group.Workarounds
All versions can be patched by providing a custom regular expression for parameters after the first in a single segment. As long as the custom regular expression does not match the text before the parameter, you will be safe. For example, change
/:a-:b-:cto/:a-:b([^-/]+)-:c([^-/]+).If paths cannot be rewritten and versions cannot be upgraded, another alternative is to limit the URL length.
References
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
pillarjs/path-to-regexp (path-to-regexp)
v0.1.13Compare Source
Configuration
📅 Schedule: (in timezone America/New_York)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.