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
- 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
- Automatable
- yes
- Technical impact
- total
Affected products
Apache Commons Text
- affected: unspecified up to 1.9
- affected: 1.5 up to before Apache Commons Text*
References
- lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om
- [oss-security] 20221013 CVE-2022-42889: Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults (openwall.com)mailing-list
- [oss-security] 20221017 Re: CVE-2022-42889: Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults (openwall.com)mailing-list
- security.netapp.com/advisory/ntap-20221020-0004
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0022
- GLSA-202301-05 (security.gentoo.org)vendor-advisory
- 20230214 OXAS-ADV-2022-0002: OX App Suite Security Advisory (seclists.org)mailing-list
- packetstormsecurity.com/files/171003/OX-App-Suite-Cross-Sit…
- packetstormsecurity.com/files/176650/Apache-Commons-Text-1.…
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
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