A AegiFlow
HIGHCVSS 7.5EPSS 0.4%

CVE-2026-107840

CVE-2026-107840 updated by NVD

Published
2026-10-09
Modified
2026-10-18
EPSS percentile
37%
Sources
github-advisory, nvd

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
Gogithub.com/jhaals/yopass—0.0.0-20260727191436-61e31ead04a4

Remediation: Upgrade to 0.0.0-20260727191436-61e31ead04a4 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.