CVE-2026-107840

Source
https://cve.org/CVERecord?id=CVE-2026-107840
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107840.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-107840
Aliases
Published
2026-10-09T18:08:29Z
Modified
2026-10-10T10:30:38Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107840.json"
}
References

Affected packages

Git / github.com/jhaals/yopass

Affected ranges

Type
GIT
Repo
https://github.com/jhaals/yopass
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "14.7.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

1.*
1.1.5
10.*
10.0.0
10.1.0
10.2.0
11.*
11.0.0
11.1.0
11.1.1
11.1.2
11.14.4
11.15.0
11.15.1
11.16.0
11.17.0
11.18.0
11.19.0
11.19.1
11.2.0
11.20.0
11.3.0
11.3.1
11.4.1
11.4.2
11.4.3
11.4.4
11.4.5
11.4.6
11.5.0
11.5.1
12.*
12.0.0
12.1.0
12.2.0
12.3.0
12.4.0
12.5.0
13.*
13.0.0
13.1.0
14.*
14.0.0
14.1.0
14.1.1
14.2.0
14.3.0
14.4.0
14.5.0
14.6.0
2.*
2.2.0
2.2.2
3.*
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
4.*
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.1.0
5.*
5.0.0
5.0.1
5.0.2
6.*
6.0.0
6.0.1
6.0.2
6.1.0
6.2.0
7.*
7.0.0
8.*
8.0.0
8.0.1
8.0.2
8.0.3
8.1.0
8.2.0
9.*
9.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107840.json"