Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-107840— yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels

Quick assessment

Affected
jhaals yopass
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

yopass 是一项用于安全共享密钥、密码和文件的服务。在 14.7.0 版本之前, 中的 Prometheus 指标中间件直接使用了由攻击者控制的 值作为 和 的 method 标签。由于通配符路由接受任意 HTTP 方法标记,未认证的远程攻击者可以提交大量唯一的 HTTP 方法值,从而创建 Prometheus 注册表永远不会回收的指标序列。由此导致的单调内存增长可能因内存耗尽(OOM)而终止进程,同时不断膨胀的指标注册表还会降低 数据抓取延迟,并可能导致监控数据失真。该问题已在 14.7.0 版本中得到修复。

CVSS 7.5 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
jhaals yopass < 14.7.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-107840

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels
Source: CVE Program / CVE List V5
Vulnerability Description
yopass is a service for securely sharing secrets, passwords, and files. Prior to version 14.7.0, the Prometheus metrics middleware in pkg/server/server.go uses the attacker-controlled r.Method value directly as the method label for yopass_http_requests_total and yopass_http_request_duration_seconds. Because the catch-all route accepts arbitrary HTTP method tokens, an unauthenticated remote attacker can submit many unique methods and create metric series that the Prometheus registry never evicts. The resulting monotonic memory growth can OOM-kill the process, while the expanding registry also degrades /metrics scrape latency and can blind monitoring. This issue is fixed in version 14.7.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
jhaals yopass < 14.7.0 -

II. Public POCs for CVE-2026-107840

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-107840

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

Patches & Fixes for CVE-2026-107840 (3)

Vendor Advisories for CVE-2026-107840 (1)

Vendor Pages for CVE-2026-107840 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-107840

No comments yet


Leave a comment