CVE-2026-13501

MEDIUM

antlr ANTLR4 gofmt GoTarget.java GoTarget command injection

Title source: cna
STIX 2.1

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.

References (5)

Core 5
Core References
Vdb Entry, Technical Description vdb-entry technical-description
VDB-374496 | antlr ANTLR4 gofmt GoTarget.java GoTarget command injection
https://vuldb.com/vuln/374496
Signature, Permissions Required signature permissions-required
VDB-374496 | CTI Indicators (IOB, IOC, TTP, IOA)
https://vuldb.com/vuln/374496/cti
Third Party Advisory third-party-advisory
CVE-2026-13501 | CVE Analysis and Report
https://vuldb.com/cve/CVE-2026-13501
Third Party Advisory third-party-advisory
Submit #838569 | antlr ANTLR4 4.13.2 Command Injection
https://vuldb.com/submit/838569
Exploit exploit issue-tracking
https://github.com/wooyun123/wooyun/issues/6

Scores

CVSS v3 5.3
EPSS 0.0068
EPSS Percentile 48.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-74 CWE-77
Status published
Products (3)
antlr/ANTLR4 4.13.0
antlr/ANTLR4 4.13.1
antlr/ANTLR4 4.13.2
Published Jun 28, 2026
Tracked Since Jun 28, 2026