CVE-2026-50638
Analyzed Analyzed - Analysis Complete

Metric Injection in Metrics-Any-Adapter-DogStatsd Perl Module

Vulnerability report for CVE-2026-50638, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-10

Last updated on: 2026-06-24

Assigner: CPANSec

Description

Metrics::Any::Adapter::DogStatsd versions before 0.04 for Perl does not protect against metric injections. The statsd protocol (and extensions such as dogstatsd) allow mutiple metrics, separated by newlines, to be sent per packet. Metrics::Any::Adapter::DogStatsd which extends Metrics::Any::Adapter::Statsd, which has a similar vulnerability. In addition, the _tags function does not check tags for newlines or statsd control characters. The tags can be used for metric injections.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-10
Last Modified
2026-06-24
Generated
2026-07-01
AI Q&A
2026-06-10
EPSS Evaluated
2026-06-30
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
pevans metrics to 0.04 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-93 The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.
CWE-150 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability exists in Metrics::Any::Adapter::DogStatsd versions before 0.04 for Perl, where it does not protect against metric injections.

The statsd protocol and its extensions like dogstatsd allow multiple metrics to be sent in a single packet, separated by newlines.

Metrics::Any::Adapter::DogStatsd extends Metrics::Any::Adapter::Statsd, which has a similar vulnerability.

Specifically, the _tags function does not validate tags for newlines or statsd control characters, which can be exploited to inject additional metrics.

Impact Analysis

This vulnerability can allow an attacker to perform metric injections by exploiting the lack of validation in the _tags function.

By injecting malicious metrics, an attacker could potentially manipulate monitoring data, causing inaccurate or misleading metrics to be recorded.

This could impact system monitoring, alerting, and decision-making processes that rely on accurate metric data.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-50638. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart