Skip to content
On CISA KEVCritical

CVE-2022-42889Commons Text Code Injection

Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded.

Published Oct 13, 2022 · Updated Nov 10, 2026 · Also known as Act4Shell, CLEANSTART-2026-ML52514, CLSA-2026-1794314901, DEBIAN-CVE-2022-42889, GHSA-599f-7c49-w659, ROOT-APP-MAVEN-CVE-2022-42889, TR-23-0229, Text4Shell, UBUNTU-CVE-2022-42889, openSUSE-SU-2024:12409-1

Key Facts

Patch immediately
  • CVE-2022-42889 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Commons Text (Apache), Security Threat Response Manager (Juniper), Bluexp (Netapp) and 22 more products.
  • It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Oct 20, 2022. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 95% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Apache Commons Text 1.10.0, Apache Commons Text Apache Commons Text*, Apache Commons Text 1.10.0-1.1.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

95%

Higher than 99.9% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

83/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Oct 20, 2022

7 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

4

Reports of active use

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CIRCL KEVOct 20, 2022n/aNot reported
Industry KEV feedOct 20, 2022n/aNot reported

Affected Products

57 affected entries in total
ProductAffected versionsFixed in
Commons TextApacheSee advisory1.10.0
Security Threat Response ManagerJuniper7.5.0, 7.5.0-up1, 7.5.0-up2, 7.5.0-up37.5.0
BluexpNetappSee advisoryn/a
Jsa1500JuniperSee advisoryn/a
Jsa3500JuniperSee advisoryn/a
20 more affected products in the full CVE brief

Patched Releases

Apache Commons Text

1.10.0, Apache Commons Text*, 1.10.0-1.1

apache-commons-text-javadoc

1.10.0-1.1

candlepin

0:4.2.13-1.el8sat

Commons Text

1.10.0-1

eap7-apache-cxf

0:3.1.16-4.redhat_00003.1.ep7.el7

eap7-hal-console

0:3.2.17-1.Final_redhat_00001.1.el7eap

eap7-jackson-annotations

0:2.10.4-2.redhat_00004.1.el7eap

eap7-jackson-core

0:2.10.4-2.redhat_00004.1.el7eap

eap7-jackson-databind

0:2.10.4-4.redhat_00004.1.el7eap

eap7-jackson-jaxrs-providers

0:2.10.4-2.redhat_00004.1.el7eap

eap7-jackson-modules-base

0:2.10.4-4.redhat_00004.1.el7eap

eap7-jackson-modules-java8

0:2.10.4-2.redhat_00004.1.el7eap

eap7-jettison

0:1.5.2-2.redhat_00002.1.el7eap

eap7-netty

0:4.1.63-1.Final_redhat_00002.1.ep7.el7

eap7-resteasy

0:3.0.27-1.Final_redhat_00001.1.ep7.el7

eap7-snakeyaml

0:1.33.0-1.SP1_redhat_00001.1.ep7.el7

eap7-velocity

0:1.7.0-3.redhat_00006.1.ep7.el7

eap7-wildfly

0:7.1.9-2.GA_redhat_00002.1.ep7.el7

io.root.org.apache.commons:commons-text

1.9-root.io.1

jenkins

2-plugins-0:4.14.1706516441-1.el8

Security Threat Response Manager

7.5.0

libsolv

0.7.20-6.el8+sp999

org.apache.commons:commons-text

1.10.0, 1.9-aikido.1, 1.9-tuxcare.2

python-jinja2

2.7.2-4.el7+sp999

seal-libsolv

0.7.20-6.el8+sp999

Timeline

  1. Publicly disclosed

    Oct 13, 2022

  2. Added to CIRCL KEV

    Oct 20, 2022

  3. Added to Industry KEV feed

    Oct 20, 2022

  4. Last updated

    Nov 10, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code

FAQ

Common Questions.

Is CVE-2022-42889 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 1, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.