CVE-2026-13501CWE-74CWE-77

antlr ANTLR4 gofmt GoTarget.java GoTarget command injection

Medium · published June 28, 2026

CVSS v4.0
4.8
EPSS
1%
Percentile
67.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
4.8 · MEDIUM
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
EPSS
0.01180 · 67.4th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2026-06-28T14:30Z
EPSS history
Timeline
  • 28 JUN 14:30Z
    antlr ANTLR4 gofmt GoTarget.java GoTarget command injection
    cvelistv5