Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Perl app using vulnerable adapter
-
DeliverySubmit input with embedded newline and StatsD payload
-
ExploitApplication emits tainted metric/tag string
-
ExecutionAdapter writes raw bytes to UDP socket
-
PersistCollector parses injected secondary metric
-
ImpactForged data poisons dashboards and alerts
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | Exploitation requires that the vulnerable application (1) uses Metrics::Any::Adapter::DogStatsd at a version below 0.04, and (2) passes attacker-influenced string data - typically HTTP headers, URL components, query parameters, or form fields - into either a metric name/value or into the _tags helper without prior sanitization. There is no authentication requirement at the adapter layer (the CVSS vector specifies PR:N/UI:N), but practical exploitation is bounded by the calling application's data flow: if all metric and tag values are derived from server-controlled constants or trusted enumerations, the bug is not reachable. Additionally, the impact is limited to whichever downstream collector (DogStatsD agent, Datadog, StatsD relay, SIEM) ingests the resulting packets, and the attack surface is one-way UDP write to that collector - there is no direct code execution on the host running the Perl process. |
| Impact | The published CVSS:3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N yields 9.1 (Critical), but this score appears inflated relative to the real-world impact: the vulnerability is a metric-injection / observability-data-integrity flaw, not remote code execution, and 'network' attack vector presumes the attacker can reach a code path that feeds untrusted strings into the adapter - exploitation is therefore application-dependent, not a direct network service exposure. The EPSS score of 0.03% (8th percentile) and the absence of CISA KEV listing or any public PoC are consistent with this lower practical risk; the most likely real impact is corruption of metrics, dashboards, alerting thresholds and billable telemetry, plus potential downstream log/SIEM injection if metrics are forwarded to systems that interpret control characters. Confidentiality and availability impact ratings of 'H' in the published vector are difficult to justify from the description (the issue is fundamentally an integrity problem on telemetry data) and should be treated cautiously - verify with the upstream advisory at seclists.org/oss-sec/2026/q2/879 before using the 9.1 score for prioritization. |
| Exploit ScenarioDerived | A web application uses Metrics::Any::Adapter::DogStatsd to record per-request metrics and tags derived from HTTP input (e.g. tagging by user-agent or URL path); an attacker submits a request whose user-agent contains an embedded newline followed by a forged metric line such as 'evil.counter:1000000|c|#env:prod', causing the adapter to emit two metrics in one UDP packet and pollute the victim's dashboards, SLO alerting, or billing telemetry. No public PoC has been published, but exploitation requires only the ability to influence a string that the application passes to the adapter, making opportunistic abuse straightforward wherever such untrusted-to-telemetry data flow exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Metric injection in the Perl module Metrics::Any::Adapter::DogStatsd before 0.04 allows remote attackers to inject arbitrary StatsD/DogStatsD metrics by smuggling newline characters through unsanitized metric names and tags. Because the StatsD protocol treats newlines as packet delimiters for multiple metrics, attacker-controlled values forwarded into the adapter can forge additional metrics or tag payloads on the wire, with no public exploit identified at time of analysis and an EPSS score of 0.03% indicating low near-term exploitation probability.
RemediationAI
Vendor-released patch: Metrics::Any::Adapter::DogStatsd 0.04 - upgrade via cpan/cpanm/Carton (e.g. 'cpanm Metrics::Any::Adapter::DogStatsd@0.04') and simultaneously update Metrics::Any::Adapter::Statsd to 0.04 to address the related parent-module issue (CVE-2026-50637), per the release notes at https://metacpan.org/release/PEVANS/Metrics-Any-Adapter-Statsd-0.04/changes and the oss-security advisory at https://seclists.org/oss-sec/2026/q2/879. Where immediate upgrade is not possible, apply caller-side compensating controls: strip or reject '\n', '\r', '|', ':', '#' and '@' in any user-controlled string before passing it as a metric name, value, or tag (side effect: legitimate values containing these characters will be mangled or rejected), and avoid using request-derived data such as URL paths, user-agent strings or form fields directly as metric/tag identifiers (side effect: reduces dashboard granularity but eliminates the injection sink). As a network-layer defense, restrict egress of the StatsD/DogStatsD UDP port (default 8125) to only the intended collector host so that injected packets cannot be redirected, and consider terminating telemetry at a local agent that re-serializes metrics from a structured form rather than forwarding raw text.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerable component is the CPAN distribution Metrics::Any::Adapter::DogStatsd authored by PEVANS, which extends Metrics::Any::Adapter::Statsd to support Datadog's DogStatsD extensions (tag support beyond plain StatsD). The StatsD line-oriented UDP protocol allows multiple metrics in a single packet separated by '\n' newlines, and DogStatsD additionally permits per-metric tags appended after a '|#' separator. The root cause is CWE-93 (Improper Neutralization of CRLF Sequences, 'CRLF Injection'): neither the metric-emit path inherited from the Statsd parent adapter nor the internal _tags helper validates or escapes newline characters and StatsD control characters ('|', ':', '#', '@') in caller-supplied metric names or tag values, so any attacker-controlled string flowing into the adapter is concatenated directly into the wire payload. A sibling vulnerability in the parent Metrics::Any::Adapter::Statsd module is tracked alongside this issue (see related CVE-2026-50637 referenced in the advisory).
Know when Metrics gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Network-reachable via injected strings with no auth or UI (AV:N/AC:L/PR:N/UI:N); impact is limited integrity corruption of telemetry data, with no confidentiality or availability effect.
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
Metrics::Any::Adapter::DogStatsd versions before 0.04 contain a metric injection vulnerability (CVSS 9.1) allowing attackers to forge monitoring metrics by injecting newline characters through unsanitized input. Organizations relying on this Perl module risk observability blind spots that could mask operational and security incidents. No public exploit has been identified at time of analysis, and the EPSS score of 0.0% indicates minimal near-term exploitation probability, enabling orderly remediation.
Apply vendor patch (upgrade to Metrics::Any::Adapter::DogStatsd 0.04 or later).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
A vulnerability was found in KBase Metrics. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
Metric injection in the Perl module Metrics::Any::Adapter::Statsd before version 0.04 allows remote attackers to inject
Metric injection via unsanitized newline characters affects Metrics::Any::Adapter::SignalFx versions before 0.04 for Per
EUVD-2026-36105
GHSA-m93c-ch8c-q8cj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB