CVE-2026-13501

published 28 Jun 2026 · updated 29 Jun 2026

antlr ANTLR4 gofmt GoTarget.java GoTarget command injection

6.3MediumCVSS 5.3EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
antlr=4.13.0, =4.13.1, =4.13.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-13501 severity on Zeptric[![CVE-2026-13501](https://zeptric.io/badge/cve/CVE-2026-13501.svg)](https://zeptric.io/cve/CVE-2026-13501)