CVE-2026-13501
published medium CVSS 4.0 · 4.8antlr ANTLR4 gofmt GoTarget.java GoTarget command injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| antlr | — | ANTLR44.13.0 · 4.13.1 · 4.13.2 | Affected | Not stated | VulDB |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 5.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| antlr | ANTLR4 | 4.13.0 (affected)4.13.1 (affected)4.13.2 (affected) | VulDB · cna |
Weaknesses
2- CWE-77 Command Injection
- CWE-74 Injection
References
5- https://github.com/wooyun123/wooyun/issues/6
- CVE-2026-13501 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-13501
- Submit #838569 | antlr ANTLR4 4.13.2 Command Injection https://vuldb.com/submit/838569
- VDB-374496 | antlr ANTLR4 gofmt GoTarget.java GoTarget command injection https://vuldb.com/vuln/374496
- VDB-374496 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/374496/cti
Provider assertions
2VulDB · cna
antlr ANTLR4 gofmt GoTarget.java GoTarget command injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e4506bbc5ffe9f83fa21af8adfd87220ab558bf3e44cdc57b2eb3fb353dab09f
- Ingested
- 23 Sep 2026, 09:01:28 UTC
- Source record
- Official CVE record