# GO-2026-6720: yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels in github.com/jhaals/yopass

- Database: Go
- Published: 2026-10-19
- Modified: 2026-10-19

## Tracked as

- [CVE-2026-107840](https://cve.now/CVE-2026-107840.md): yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels

## Also published as

- [GHSA-6R69-C6WG-7G8M](https://cve.now/GHSA-6R69-C6WG-7G8M.md) (GitHub)

## Affected versions

- github.com/jhaals/yopass (Go): fixed in 0.0.0-20260727191436-61e31ead04a4

## Description

yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels in github.com/jhaals/yopass

## References

- https://github.com/jhaals/yopass/security/advisories/GHSA-6r69-c6wg-7g8m
- https://nvd.nist.gov/vuln/detail/CVE-2026-107840
- https://github.com/jhaals/yopass/commit/61e31ead04a4fc27ce80bed226af41c7c0426ccf
- https://github.com/jhaals/yopass/commit/78d0c14f7085048130199662a2ec8a18ec8d6ebb
- https://github.com/jhaals/yopass/pull/3773
- https://github.com/jhaals/yopass/releases/tag/14.7.0

Page: https://cve.now/GO-2026-6720

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
