{"cve":"CVE-2026-107840","nvd":{"published":"2026-10-09T18:17:05.953","modified":"2026-10-16T17:17:04.113","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400"],"references":["https://github.com/jhaals/yopass/commit/61e31ead04a4fc27ce80bed226af41c7c0426ccf","https://github.com/jhaals/yopass/commit/78d0c14f7085048130199662a2ec8a18ec8d6ebb","https://github.com/jhaals/yopass/pull/3773","https://github.com/jhaals/yopass/releases/tag/14.7.0","https://github.com/jhaals/yopass/security/advisories/GHSA-6r69-c6wg-7g8m"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:58:01.639778232+00:00"},"epss":{"cve":"CVE-2026-107840","score":0.00444,"percentile":0.38383,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-6r69-c6wg-7g8m","url":"https://osv.dev/vulnerability/GHSA-6r69-c6wg-7g8m","summary":"yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels","modified":"2026-10-19T21:41:22.334512920Z","packages":[{"ecosystem":"Go","name":"github.com/jhaals/yopass","purl":"pkg:golang/github.com/jhaals/yopass","ranges":["<0.0.0-20260727191436-61e31ead04a4"],"fixed":["0.0.0-20260727191436-61e31ead04a4"]}]},{"id":"GO-2026-6720","url":"https://osv.dev/vulnerability/GO-2026-6720","summary":"yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels in github.com/jhaals/yopass","modified":"2026-10-19T21:31:52.276950050Z","packages":[{"ecosystem":"Go","name":"github.com/jhaals/yopass","purl":"pkg:golang/github.com/jhaals/yopass","ranges":["<0.0.0-20260727191436-61e31ead04a4"],"fixed":["0.0.0-20260727191436-61e31ead04a4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}