CVE-2026-107840
Last modified
CVE-2026-107840 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| jhaals | yopass | < 14.7.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-107840?
How severe is CVE-2026-107840?
How do I fix CVE-2026-107840?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-107834OWASP Coraza WAF is a golang modsecurity compatible web appl…5.3
- CVE-2026-107835OWASP Coraza WAF is a golang modsecurity compatible web appl…4
- CVE-2026-107836RIOT is an open-source microcontroller operating system desi…7.1
- CVE-2026-107837RIOT is an open-source microcontroller operating system desi…8.2
- CVE-2026-107838RIOT is an open-source microcontroller operating system desi…7.5
- CVE-2026-107839ageLANServer provides a cross-platform web server and launch…7.5
- CVE-2026-107841pacioli provides least-privilege governance and a governed a…5.7
- CVE-2026-107842Contao is an Open Source CMS. From version 4.0.0 until 5.3.5…5.3
- CVE-2026-107843Contao is an Open Source CMS. From version 4.1.0 until 5.3.5…5.3
- CVE-2026-107844Contao is an Open Source CMS. From version 5.0.0 until 5.3.5…5.3
- CVE-2026-107845Contao is an Open Source CMS. From version 4.0.0 until 5.3.5…9.3
- CVE-2026-10786Improper access control in the ticketing integration setting…6.5
Are you affected by CVE-2026-107840?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
