{"id":"CVE-2026-107840","published":"2026-10-09T18:08:29Z","modified":"2026-10-09T19:25:28Z","title":"yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels","vendor":"jhaals","product":"yopass","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00793,"percentile":0.52962,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/jhaals/yopass/security/advisories/GHSA-6r69-c6wg-7g8m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jhaals/yopass/pull/3773","tags":["x_refsource_MISC"]},{"url":"https://github.com/jhaals/yopass/commit/61e31ead04a4fc27ce80bed226af41c7c0426ccf","tags":["x_refsource_MISC"]},{"url":"https://github.com/jhaals/yopass/commit/78d0c14f7085048130199662a2ec8a18ec8d6ebb","tags":["x_refsource_MISC"]},{"url":"https://github.com/jhaals/yopass/releases/tag/14.7.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":10.59},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"jhaals","affectedVersions":[{"vendor":"jhaals","product":"yopass","versions":["< 14.7.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-09T19:25:13.327928Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/jhaals/yopass","vulnerableRanges":["<0.0.0-20260727191436-61e31ead04a4"],"patched":["0.0.0-20260727191436-61e31ead04a4"],"from":["GHSA-6r69-c6wg-7g8m","GO-2026-6720"],"provenance":"source"}],"summary":{"text":"The yopass Prometheus metrics middleware in pkg/server/server.go uses the attacker-controlled HTTP request method directly as a label on its request count and duration metrics, so each new method token creates a series that is never evicted. An unauthenticated remote attacker who can reach the service can send requests with many distinct arbitrary HTTP method tokens through the catch-all route, with no user interaction or special configuration required, to grow process memory until it is killed by the out-of-memory handler and to degrade or blind the /metrics endpoint.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:02Z"},"euvd":{"id":"EUVD-2026-95935","exploited":false,"provenance":"source"}}