{"id":"DHI-dp4l-3avm-g2vl-dwyh","summary":"Impact:","details":"Impact:\n\nA 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-:c or /:a-:b-:c-:d. The backtrack protection added in path-to-regexp@0.1.12 only 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.\n\nPatches:\n\nUpgrade to path-to-regexp@0.1.13\n\nCustom regex patterns in route definitions (e.g., /:a-:b([^-/]+)-:c([^-/]+)) are not affected because they override the default capture group.\n\nWorkarounds:\n\nAll 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-:c to /:a-:b([^-/]+)-:c([^-/]+).\n\nIf paths cannot be rewritten and versions cannot be upgraded, another alternative is to limit the URL length.","modified":"2026-11-17T07:30:14.021513876Z","published":"2026-11-11T19:07:25Z","upstream":["CVE-2026-4867"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-dp4l-3avm-g2vl-dwyh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4867"},{"type":"ADVISORY","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"WEB","url":"https://github.com/advisories/GHSA-9wv6-86v2-598j"},{"type":"WEB","url":"https://blakeembrey.com/posts/2024-09-web-redos"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-4867"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-37ch-88jc-xwx2"},{"type":"ADVISORY","url":"https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-37ch-88jc-xwx2"},{"type":"WEB","url":"https://github.com/pillarjs/path-to-regexp/releases/tag/v.0.1.13"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-4867"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-4867"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-4867"}],"affected":[{"package":{"name":"langfuse-2","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/langfuse-2"},"versions":["2.95.12-0","2.95.12-1","2.95.12-10","2.95.12-11","2.95.12-12","2.95.12-13","2.95.12-2","2.95.12-3","2.95.12-4","2.95.12-5","2.95.12-6","2.95.12-7","2.95.12-8","2.95.12-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-dp4l-3avm-g2vl-dwyh.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}