Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
1.9
CVE-2026-13501: ANTLR4 up to 4.13.2: Local Command Injection via GoTarget
CVE-2026-13501
Summary
A vulnerability in ANTLR4's GoTarget function allows an attacker with local access to inject malicious commands. This could potentially be used to gain unauthorized access to the system. Update to a fixed version of ANTLR4 as soon as possible to mitigate this risk.
Original title
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 th...
Original description
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.
nvd CVSS2.0
4.3
nvd CVSS3.1
5.3
nvd CVSS4.0
1.9
Vulnerability type
CWE-74
Injection
CWE-77
Command Injection
Published: 28 Jun 2026 · Updated: 23 Jul 2026 · First seen: 28 Jun 2026