Skip to main content
← All vulnerabilities
CVE-2026-107840GO-2026-6720GHSA-6R69-C6WG-7G8M

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 14.7.0, 0.0.0-20260727191436-61e31ead04a4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • jhaals yopass

    fixed in 14.7.0

  • github.com/jhaals/yopassGo

    fixed in 0.0.0-20260727191436-61e31ead04a4

References 5

GitHub · jhaals/yopass