Skip to main content

CVE-2026-107840: CWE-400: Uncontrolled Resource Consumption in jhaals yopass

0
High
VulnerabilityCVE-2026-107840cvecve-2026-107840cwe-400
Published: 10/09/2026 (10/09/2026, 18:08:29 UTC)
Source: CVE Database V5
Vendor/Project: jhaals
Product: yopass

Description

yopass versions prior to 14.7.0 contain an uncontrolled resource consumption vulnerability in the Prometheus metrics middleware. The middleware uses the HTTP method value from requests directly as a label in Prometheus metrics without validation. Because the catch-all route accepts arbitrary HTTP methods, an unauthenticated attacker can submit many unique methods, causing the Prometheus registry to grow without eviction. This leads to monotonic memory growth that can cause the process to be killed due to out-of-memory conditions and degrade metrics scraping performance. The issue is fixed in version 14.7.0.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

jhaals

yopass

Affected versions
<14.7.0
GitHub Actionsmore threats →ai
jhaals/yopass
pkg:github/jhaals/yopass
Affected versions
<14.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/09/2026, 18:33:20 UTC

Technical Analysis

CVE-2026-107840 is an uncontrolled resource consumption vulnerability (CWE-400) in the Prometheus metrics middleware of yopass prior to version 14.7.0. The middleware uses the attacker-controlled HTTP method value (r.Method) directly as a label for Prometheus metrics (yopass_http_requests_total and yopass_http_request_duration_seconds). Since the catch-all route accepts arbitrary HTTP method tokens, an unauthenticated remote attacker can submit many unique HTTP methods, creating numerous metric series that the Prometheus registry never evicts. This causes monotonic memory growth that can lead to out-of-memory (OOM) kills of the yopass process and degrades the latency of /metrics scraping, potentially blinding monitoring systems. The vulnerability is resolved in version 14.7.0.

Potential Impact

An unauthenticated remote attacker can cause the yopass service to consume increasing amounts of memory by submitting many unique HTTP methods, leading to potential out-of-memory kills of the service process. This disrupts service availability and degrades monitoring by increasing scrape latency and potentially blinding Prometheus-based monitoring systems. There is no impact on confidentiality or integrity reported.

Mitigation Recommendations

Upgrade yopass to version 14.7.0 or later, where this vulnerability is fixed. No other mitigations are indicated. Patch status is confirmed fixed in version 14.7.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-08T22:34:49.290Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac930172cdf04f656768c05

Added to database: 10/09/2026, 18:19:03 UTC

Last enriched: 10/09/2026, 18:33:20 UTC

Last updated: 10/09/2026, 18:57:31 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses