{"id":"CVE-2026-13501","published":"2026-06-28T14:30:08Z","modified":"2026-06-29T14:53:25Z","title":"antlr ANTLR4 gofmt GoTarget.java GoTarget command injection","vendor":"antlr","product":"ANTLR4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01414,"percentile":0.73386,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://vuldb.com/vuln/374496","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/374496/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-13501","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/838569","tags":["third-party-advisory"]},{"url":"https://github.com/wooyun123/wooyun/issues/6","tags":["exploit","issue-tracking"]}],"priority":{"score":23.4,"factors":[{"name":"EPSS percentile","points":14.68},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"antlr","affectedVersions":[{"vendor":"antlr","product":"ANTLR4","versions":["4.13.0","4.13.1","4.13.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-29T14:16:13.815767Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39999","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/wooyun123/wooyun/issues/6"]}