Security mailing lists by PureSourceCode

CVE-2026-107840

HIGH 7.5CVSS 3.1

yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels

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.

Published
9 Oct 2026
Last modified
19 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-400
Also known as
GHSA-6r69-c6wg-7g8mGO-2026-6720
Sources
NVDJSONOSV GHSA-6r69-c6wg-7g8mJSONOSV GO-2026-6720JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/jhaals/yopass < 0.0.0-20260727191436-61e31ead04a4 0.0.0-20260727191436-61e31ead04a4

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 9 Oct 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Oct 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.