4.8medium
antlr ANTLR4 gofmt GoTarget.java GoTarget command injection
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 1.01% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| antlr ANTLR4 | 4.13.0, 4.13.1, 4.13.2 | CVE List |
All scores
| VulDB | 4.8medium CVSS:4.0 | 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 |
| VulDB | 5.3medium CVSS:3.1 | 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 |
| VulDB | 5.3medium CVSS:3.0 | 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 |
| VulDB | 4.3medium CVSS:2.0 | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
Classification
What each source says
CVE List
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 (es)
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.
References
| https://vuldb.com/vuln/374496 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/374496/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-13501 | third-party-advisory | |
| https://vuldb.com/submit/838569 | third-party-advisory | |
| https://github.com/wooyun123/wooyun/issues/6 | exploit, issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-13501 changed 2026-06-29 | CVE Terms of Use |
| NVD | CVE-2026-13501 changed 2026-10-25 | Public domain |