CVE-2026-13501: Command Injection in antlr ANTLR4
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.
AI Analysis
Technical Summary
CVE-2026-13501 is a command injection vulnerability affecting the GoTarget function in the gofmt component of antlr ANTLR4 up to version 4.13.2. The vulnerability requires local access to exploit and allows execution of arbitrary commands via manipulation of the affected function. The vendor was notified but has not issued a response or patch. The vulnerability has a CVSS 4.8 (medium) score and public exploit details have been disclosed.
Potential Impact
An attacker with local access can exploit this vulnerability to execute arbitrary commands on the affected system. This could lead to unauthorized actions or compromise of the local environment where ANTLR4 is used. Remote exploitation is not possible according to the available data.
Mitigation Recommendations
No official fix or patch is currently available from the vendor. Users should restrict local access to trusted users only and monitor for suspicious activity related to the GoTarget function. Check the vendor advisory regularly for updates or patches addressing this vulnerability.
CVE-2026-13501: Command Injection in antlr ANTLR4
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.
CVSS v4.0
Score 4.8medium
Affected software
pkg:maven/org.antlr/antlr4cpe:2.3:a:antlr:antlr4:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-13501 is a command injection vulnerability affecting the GoTarget function in the gofmt component of antlr ANTLR4 up to version 4.13.2. The vulnerability requires local access to exploit and allows execution of arbitrary commands via manipulation of the affected function. The vendor was notified but has not issued a response or patch. The vulnerability has a CVSS 4.8 (medium) score and public exploit details have been disclosed.
Potential Impact
An attacker with local access can exploit this vulnerability to execute arbitrary commands on the affected system. This could lead to unauthorized actions or compromise of the local environment where ANTLR4 is used. Remote exploitation is not possible according to the available data.
Mitigation Recommendations
No official fix or patch is currently available from the vendor. Users should restrict local access to trusted users only and monitor for suspicious activity related to the GoTarget function. Check the vendor advisory regularly for updates or patches addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-06-27T18:28:01.063Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a41387727e9c797191e0dc4
Added to database: 06/28/2026, 15:06:31 UTC
Last enriched: 07/05/2026, 23:22:11 UTC
Last updated: 08/12/2026, 12:41:08 UTC
Views: 118
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.