目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-62303— Pistache REST 路由路径归一化拒绝服务漏洞

一分钟漏洞结论

影响对象
pistacheio pistache
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Pistache 是一个用 C++ 编写的高性能 REST 工具包。在 0.0.5 至 0.4.26 版本中, 中的 函数使用 配合 正则表达式来合并连续的斜杠。当使用 libstdc++ 时,若路径包含数万个连续斜杠字符,可能导致递归深度过大,从而耗尽栈空间并引发进程崩溃。 、 和 均会调用该规范化逻辑。未认证的远程利用需要部署环境允许足够长的请求路径,例如通过提高 的默认 4096 字节限制,或通过前端转发长路径。当攻击者能够控制路由或资源字符串并传入规范化器时,直接调用路由器 API 也会受到影响。在原生构建

CVSS 5.9 · Medium

影响版本矩阵 1

厂商产品 版本范围状态
pistacheio pistache >= 0.0.5, <= 0.4.26 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-62303 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Pistache: DoS via stack exhaustion in REST router path normalization (regex_replace on long slash runs)
来源: CVE Program / CVE List V5
Vulnerability Description
Pistache is a high-performance REST toolkit written in C++. From 0.0.5 through 0.4.26, `SegmentTreeNode::sanitizeResource()` in `src/server/router.cc` uses `std::regex_replace()` with the `//+` expression to collapse consecutive slashes. With libstdc++, a path containing tens of thousands of consecutive slash characters can recurse deeply enough to exhaust the stack and crash the process. `Router::route()`, `Router::addRoute()` and `Router::removeRoute()` reach this normalization. Unauthenticated remote exploitation is conditional on a deployment allowing sufficiently long request paths, such as by increasing `Endpoint::Options::maxRequestSize()` above the default 4096-byte limit or forwarding long paths through a front end. Direct router API use is also affected when attacker-controlled route or resource strings reach the normalizer. Native builds reproduced a crash around 24,000 consecutive slashes, although the exact threshold depends on the stack and standard library; the demonstrated failure is stack exhaustion rather than uninitialized-memory use. A source fix replaces recursive regular-expression normalization with an iterative pass, but no containing repository release was verified as of time of publication.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
pistacheio pistache >= 0.0.5, <= 0.4.26 -

二、漏洞 CVE-2026-62303 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-62303 的情报信息

请登录查看更多情报信息。

CVE-2026-62303 其他参考 (2)

IV. Related Vulnerabilities