Apache Commons Text Vulnerability (Text4shell)

Anandhu Krishnan
Published on
14 May 2024


Apache Commons Text, a popular Java library for processing and manipulating text data, has been found to be vulnerable to remote code execution (RCE) due to insecure interpolation defaults prior to version 1.10.0. This vulnerability allows an attacker to inject arbitrary shell commands by injecting malicious input into the affected application.


To mitigate this issue, upgrade Apache Commons Text to a version of 1.10.0 or later.

Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Anandhu Krishnan
Anandhu Krishnan
Lead Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment