Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-13501: Command Injection in antlr ANTLR4

0
Medium
VulnerabilityCVE-2026-13501cvecve-2026-13501
Published: 06/28/2026 (06/28/2026, 14:30:08 UTC)
Source: CVE Database V5
Vendor/Project: antlr
Product: ANTLR4

Description

ANTLR4 versions 4.13.0, 4.13.1, and 4.13.2 contain a command injection vulnerability in the GoTarget function of the gofmt component. This vulnerability allows an attacker with local access to execute arbitrary commands. The vulnerability has been publicly disclosed, but no vendor response or patch is currently available. The CVSS score is 4.8, indicating a medium severity risk.

CVSS v4.0

Score 4.8medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

org.antlr/antlr4
pkg:maven/org.antlr/antlr4
Affected versions
=4.13.0=4.13.1=4.13.2
CPE configurations
cpe: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

AILast updated: 06/28/2026, 15:21:21 UTC

Technical Analysis

CVE-2026-13501 is a command injection vulnerability found in the GoTarget function within the gofmt component of antlr ANTLR4 versions 4.13.0 through 4.13.2. The vulnerability requires local access to exploit and allows an attacker to execute arbitrary commands on the affected system. The vulnerability was publicly disclosed without vendor response or an available patch at the time of publication.

Potential Impact

An attacker with local access can exploit this vulnerability to execute arbitrary commands on the affected system, potentially leading to unauthorized actions or system compromise. The impact is limited by the requirement for local access and the absence of user interaction.

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. Check the vendor advisory regularly for updates or patches addressing this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 06/28/2026, 15:21:21 UTC

Last updated: 06/28/2026, 15:21:21 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses