{"id":"CVE-2026-13501","aliases":["CVE-2026-13501"],"related":[],"kind":"vulnerability","state":"published","title":"antlr ANTLR4 gofmt GoTarget.java GoTarget command injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se ha detectado una vulnerabilidad de seguridad en antlr ANTLR4 hasta la versión 4.13.2. Afectada por esta vulnerabilidad es la función GoTarget del archivo tool/src/org/antlr/v4/codegen/target/GoTarget.java del componente gofmt. La manipulación conduce a inyección de comandos. El ataque solo puede realizarse desde un entorno local. El exploit ha sido divulgado públicamente y puede ser utilizado. El proveedor fue contactado tempranamente sobre esta divulgación pero no respondió de ninguna manera.","source":"nvd"}],"published":"2026-06-28T14:30:08.236Z","modified":"2026-10-25T17:10:00.197Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS: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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-74","CWE-77"],"affected":[{"ranges":[{"version":"4.13.0","status":"affected"},{"version":"4.13.1","status":"affected"},{"version":"4.13.2","status":"affected"}],"vendor":"antlr","product":"ANTLR4","cpe":"cpe:2.3:a:antlr:antlr4:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://vuldb.com/vuln/374496","tags":["technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/vuln/374496/cti","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/cve/CVE-2026-13501","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/838569","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wooyun123/wooyun/issues/6","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]}],"credits":["jiazhou (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-29T14:16:13.815Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-13501","url":"https://www.cve.org/CVERecord?id=CVE-2026-13501","licence":"CVE Terms of Use","modified":"2026-06-29T14:53:25.912Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-13501","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13501","licence":"Public domain","modified":"2026-10-25T17:10:00.197Z"}],"updatedAt":"2026-11-25T22:59:26.577Z","epss":{"score":0.01011,"percentile":0.64126,"date":"2026-12-01T12:00:22.000Z"}}