CVE-2026-107840jhaals yopass
High 7.5 No auth needed
Follow: this CVE · jhaals · jhaals yopass We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 9, 2026
- Updated
- Oct 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for yopass.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/jhaals/yopass |
< 0.0.0-20260727191436-61e31ead04a4 |
0.0.0-20260727191436-61e31ead04a4 |
go get github.com/jhaals/yopass@v0.0.0-20260727191436-61e31ead04a4 |
| Go | github.com/jhaals/yopass |
< 0.0.0-20260727191436-61e31ead04a4 |
0.0.0-20260727191436-61e31ead04a4 |
go get github.com/jhaals/yopass@v0.0.0-20260727191436-61e31ead04a4 |
Per OSV / GitHub Advisories (GHSA-6r69-c6wg-7g8m, GO-2026-6720). Check the version in your lockfile before upgrading.
Affected products
- jhaals · yopass
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:24730-1 · Nov 12, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:22336-1 · Nov 12, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.