CubePath

CVE-2022-42889

Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults

Description

Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is "${prefix:name}", where "prefix" is used to locate an instance of org.apache.commons.text.lookup.StringLookup that performs the interpolation. Starting with version 1.5 and continuing through 1.9, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - "script" - execute expressions using the JVM script execution engine (javax.script) - "dns" - resolve dns records - "url" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Text 1.10.0, which disables the problematic interpolators by default.

Official description from the CVE record, published by apache. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org

Key data

EPSS

Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days.
Score
0.99931 (99.9% probability)
Percentile
99.97%
Scores of
Nov 10, 2026
Model
v2026.06.15

CISA assessment as of Jan 24, 2024

Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA.
Automatable
yes
Technical impact
total

Affected products

Products listed in the CVE record, as the CNA published them.
  • Apache Commons Text

    • affected: unspecified up to 1.9
    • affected: 1.5 up to before Apache Commons Text*

Timeline

  1. ID reserved
  2. Record published
  3. Record last updated

Look up another CVE

About CubePath

CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection.

Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:49 UTC. Sources and licenses