Patch Forecast
Amber warning
Patch this week.

CVE-2026-107840 · GHSA-6r69-c6wg-7g8m

yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels

Risk score
62/100
CVSS
7.5 v3.1
Exploit chance (30 days)
0.4%
Published
9 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
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-…
Affected
github.com/jhaals/yopass (go) < 0.0.0-20260727191436-61e31ead04a4
Fix
Upgrade github.com/jhaals/yopass to 0.0.0-20260727191436-61e31ead04a4 or later.
Exploitation
No known exploitation

Why it is Amber

  • CVSS 7.5 high
  • Remotely exploitable without logging in
  • On your watchlist: Go

Affected packages

PackageEcosystemVulnerableFixed in
github.com/jhaals/yopassgo< 0.0.0-20260727191436-61e31ead04a40.0.0-20260727191436-61e31ead04a4

References

Original 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.

Last activity 9 Oct 2026. Patch Forecast updates every hour.