High severity7.5NVD Advisory· Published Oct 9, 2026· Updated Oct 9, 2026
CVE-2026-107840
CVE-2026-107840
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.
Affected products
1Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-6r69-c6wg-7g8mghsaADVISORY
- github.com/jhaals/yopass/commit/61e31ead04a4fc27ce80bed226af41c7c0426ccfnvd
- github.com/jhaals/yopass/commit/78d0c14f7085048130199662a2ec8a18ec8d6ebbnvd
- github.com/jhaals/yopass/pull/3773nvd
- github.com/jhaals/yopass/releases/tag/14.7.0nvd
- github.com/jhaals/yopass/security/advisories/GHSA-6r69-c6wg-7g8mnvd
- nvd.nist.gov/vuln/detail/CVE-2026-107840ghsa
News mentions
0No linked articles in our index yet.