{"id":"CVE-2026-107840","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-107840","generatedAt":"2026-10-28T02:24:56.049Z","title":"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.","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.","published":"2026-10-09T18:17:06.000Z","lastModified":"2026-10-16T17:17:04.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"cwe":["CWE-400"],"affected":[],"epss":{"score":0.00444,"percentile":0.38406,"date":"2026-10-26","history":[{"date":"2026-10-10","score":0.00444,"percentile":0.36726}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.44%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-09T18:17:06.000Z","detail":{"score":"7.5","severity":"HIGH","publishedAt":"2026-10-09T18:17:05.953Z"},"summary":"New CVE, high severity (CVSS 7.5)."}],"references":[{"url":"https://github.com/jhaals/yopass/commit/61e31ead04a4fc27ce80bed226af41c7c0426ccf","source":"security-advisories@github.com"},{"url":"https://github.com/jhaals/yopass/commit/78d0c14f7085048130199662a2ec8a18ec8d6ebb","source":"security-advisories@github.com"},{"url":"https://github.com/jhaals/yopass/pull/3773","source":"security-advisories@github.com"},{"url":"https://github.com/jhaals/yopass/releases/tag/14.7.0","source":"security-advisories@github.com"},{"url":"https://github.com/jhaals/yopass/security/advisories/GHSA-6r69-c6wg-7g8m","source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107840","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}