CVE-2026-107840yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels
Updated under an hour ago ()
Does this affect you?
It affects jhaals yopass. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.44%, higher than 37% of scored CVEs.
Do this next
Free account, 1 product
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
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-400
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.44% (percentile 37)
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Oct 9, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
jhaals yopass jhaals:yopass (from the name) | before 14.7.0 | CNA record |
References
- https://github.com/jhaals/yopass/security/advisories/GHSA-6r69-c6wg-7g8mx-refsource-confirm
- https://github.com/jhaals/yopass/pull/3773x-refsource-misc
- https://github.com/jhaals/yopass/commit/61e31ead04a4fc27ce80bed226af41c7c0426ccfx-refsource-misc
- https://github.com/jhaals/yopass/commit/78d0c14f7085048130199662a2ec8a18ec8d6ebbx-refsource-misc
- https://github.com/jhaals/yopass/releases/tag/14.7.0x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.