Live threats

All CVEs / jhaals

CVE-2026-107840jhaals yopass

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for yopass.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.