Read the docs
TI-2022-08691 Aliases CVE-2022-24881GHSA-fv3m-xhqw-9m79

Command Injection in Ballcat Codegen

Priority HIGH 76CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

Ballcat Codegen provides the function of online editing code to generate templates. In versions prior to 1.0.0.beta.2, attackers can implement remote code execution through malicious code injection of the template engine. This happens because Velocity and freemarker templates are introduced but input verification is not done. The fault is rectified in version 1.0.0.beta.2.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.03197 88th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed ballcat-codegen (ballcat-projects): 1.0.0.beta.2com.hccake:ballcat-codegen (Maven): 1.0.0.beta.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ballcat-projectsballcat-codegenbefore 1.0.0.beta.21.0.0.beta.2Patch availableCNA
—com.hccake:ballcat-codegen (Maven)before 1.0.0.beta.21.0.0.beta.2Patch availableGHSA-fv3m-xhqw-9m79
  • ballcat-codegen Vendorballcat-projects Affected before 1.0.0.beta.2 Fixed in 1.0.0.beta.2 Patch available CNA
  • com.hccake:ballcat-codegen (Maven) Vendor— Affected before 1.0.0.beta.2 Fixed in 1.0.0.beta.2 Patch available GHSA-fv3m-xhqw-9m79

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ballcat:codegen:*:*:*:*:*:*:*:*before 1.0.0VulnerableBallcat
  • cpe:2.3:a:ballcat:codegen:*:*:*:*:*:*:*:* Versions before 1.0.0 Vulnerable ·Ballcat

Remediation

  • Fix · CNA ballcat-codegen (ballcat-projects) Fixed in 1.0.0.beta.2
  • Fix · GHSA-fv3m-xhqw-9m79 com.hccake:ballcat-codegen (Maven) Fixed in 1.0.0.beta.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-24881
  2. 2026-10-03 Alias added: GHSA-fv3m-xhqw-9m79

References

Sources