Read the docs
TI-2026-11426 Aliases CVE-2026-13501GHSA-q226-w36v-hhxv

antlr ANTLR4 gofmt GoTarget.java GoTarget command injection

Priority MEDIUM 55CWE-74Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-77.

Summary

A security vulnerability has been detected in antlr ANTLR4 up to 4.13.2. Affected by this vulnerability is the function GoTarget of the file tool/src/org/antlr/v4/codegen/target/GoTarget.java of the component gofmt. The manipulation leads to command injection. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01414 72nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

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

Affected products

VendorProductAffected versionsFixed inStatusSource
antlrANTLR44.13.0; 4.13.1; 4.13.2—No fix listedCNA
  • ANTLR4 Vendorantlr Affected 4.13.0; 4.13.1; 4.13.2 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:antlr:antlr4:*:*:*:*:*:*:*:*——antlr
  • cpe:2.3:a:antlr:antlr4:*:*:*:*:*:*:*:* Versions — — ·antlr

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-13501
  2. 2026-10-03 Alias added: GHSA-q226-w36v-hhxv

References

  • TI-2026-11428 antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal CVSS 4.0MEDIUM 6.9
  • TI-2026-11425 antlr ANTLR4 Grammar Action Block OutputFile.java code injection CVSS 4.0MEDIUM 6.9
  • TI-2026-11427 antlr ANTLR4 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject toctou CVSS 4.0LOW 2.0

Sources