Description
Using untrusted, non-normalized input as-is for metrics data (such as metric names, tag keys, or tag values) is a dangerous antipattern that general-purpose instrumentation should never perform. When such unsafe instrumentation is used, the application becomes vulnerable to injection and spoofing attacks because micrometer-registry-statsd and micrometer-core do not sanitize newline characters (\n, \r) by default prior to this fix.

* For the StatsD registry in micrometer-registry-statsd (when using the Datadog or Etsy flavor), because the StatsD protocol is newline-delimited, this allows for line-protocol injection (cross-metric spoofing).
* For LoggingMeterRegistry in micrometer-core, because metric output is printed line-by-line to log files, this allows for both metric spoofing (if downstream log-metrics scrapers or parsers ingest the log lines as separate metrics) and general log spoofing.




Specifically, an application is vulnerable when all the following are true:

* The application uses a vulnerable version of io.micrometer:micrometer-registry-statsd or io.micrometer:micrometer-core.
* The application uses the Datadog or Etsy flavor of the StatsD registry, or uses LoggingMeterRegistry.
* The application instruments meters using user-controlled, unvalidated input for metric names, tag keys, or tag values.




When vulnerable, an attacker can break out of the current metric or log line by injecting line terminators. This allows them to spoof arbitrary metrics (e.g., system load, standard JVM metrics, or other business metrics) across the metrics registry namespace (either directly via StatsD protocol or via downstream log-metric scrapers/parsers), as well as inject arbitrary log entries to spoof general log records.
Published: 2026-08-21
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Untrusted, unnormalized inputs are incorporated directly into metric names, tag keys, or tag values by micrometer-registry-statsd and micrometer-core, allowing attackers to insert newline or carriage return characters. These injected characters break the line boundary in the StatsD protocol or in log output, enabling attackers to inject arbitrary metric definitions or log entries that appear legitimate to downstream collectors or log scrapers. The impact is unintended metric spoofing across the registry namespace and the creation of malformed or deceptive log lines that may conceal malicious activity.

Affected Systems

The vulnerability affects VMware:Spring Micrometer components, specifically micrometer-registry-statsd and micrometer-core. All versions of these libraries that do not perform newline sanitization are impacted. Applications that use the Datadog or Etsy flavors of the StatsD registry or the LoggingMeterRegistry with user-controlled metric input are directly at risk.

Risk and Exploitability

With a CVSS score of 5.9, the flaw is considered medium severity. EPSS data is not available, and the vulnerability is not listed in CISA KEV. The likely attack vector involves supplying crafted metric names or tags via interfaces that instrument metrics, such as web endpoints or configuration files. Once an attacker injects newline characters, they can forge metrics like system load or enterprise metrics, or inject arbitrary log entries, potentially leading to misleading monitoring dashboards or log-based alarm systems.

Generated by OpenCVE AI on August 21, 2026 at 12:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade micrometer-registry-statsd and micrometer-core to a patched release that sanitizes newline characters
  • Validate and sanitize all user‑controlled inputs used as metric names, tag keys, or tag values, ensuring no or characters are present
  • If upgrade is not immediately possible, consider disabling the StatsD or LoggingMeterRegistry components or replacing them with safer alternatives and monitor log files for suspicious entries

Generated by OpenCVE AI on August 21, 2026 at 12:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Fri, 21 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-74

Fri, 21 Aug 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring micrometer
Vendors & Products Spring
Spring micrometer

Fri, 21 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-532

Fri, 21 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 11:00:00 +0000

Type Values Removed Values Added
Description Using untrusted, non-normalized input as-is for metrics data (such as metric names, tag keys, or tag values) is a dangerous antipattern that general-purpose instrumentation should never perform. When such unsafe instrumentation is used, the application becomes vulnerable to injection and spoofing attacks because micrometer-registry-statsd and micrometer-core do not sanitize newline characters (\n, \r) by default prior to this fix. * For the StatsD registry in micrometer-registry-statsd (when using the Datadog or Etsy flavor), because the StatsD protocol is newline-delimited, this allows for line-protocol injection (cross-metric spoofing). * For LoggingMeterRegistry in micrometer-core, because metric output is printed line-by-line to log files, this allows for both metric spoofing (if downstream log-metrics scrapers or parsers ingest the log lines as separate metrics) and general log spoofing. Specifically, an application is vulnerable when all the following are true: * The application uses a vulnerable version of io.micrometer:micrometer-registry-statsd or io.micrometer:micrometer-core. * The application uses the Datadog or Etsy flavor of the StatsD registry, or uses LoggingMeterRegistry. * The application instruments meters using user-controlled, unvalidated input for metric names, tag keys, or tag values. When vulnerable, an attacker can break out of the current metric or log line by injecting line terminators. This allows them to spoof arbitrary metrics (e.g., system load, standard JVM metrics, or other business metrics) across the metrics registry namespace (either directly via StatsD protocol or via downstream log-metric scrapers/parsers), as well as inject arbitrary log entries to spoof general log records.
Title Micrometer StatsD and Logging meter registries line-protocol and log injection vulnerability
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

Spring Micrometer
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-21T16:44:12.342Z

Reserved: 2026-07-04T18:13:34.323Z

Link: CVE-2026-59296

cve-icon Vulnrichment

Updated: 2026-08-21T11:55:35.874Z

cve-icon NVD

Status : Received

Published: 2026-08-21T11:17:05.780

Modified: 2026-08-21T17:16:32.373

Link: CVE-2026-59296

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T12:45:03Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-532

    Insertion of Sensitive Information into Log File

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')