CVE-2026-13503: Path Traversal in antlr ANTLR4
A vulnerability was detected in antlr ANTLR4 up to 4.13.2. Affected by this issue is the function getImportedVocabFile of the file tool/src/org/antlr/v4/parse/TokenVocabParser.java of the component tokenVocab Grammar Option Handler. The manipulation results in path traversal. The attack can be executed remotely. The exploit is now public 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-13503 is a path traversal vulnerability affecting the getImportedVocabFile function in the TokenVocabParser.java file of ANTLR4 up to version 4.13.2. The issue allows remote attackers to manipulate file paths to access files outside the intended directory scope. The vulnerability is confirmed in versions 4.13.0, 4.13.1, and 4.13.2. The vendor has not responded to disclosure requests, and no official fix or mitigation has been published. The exploit is publicly available, increasing the risk of exploitation.
Potential Impact
Successful exploitation of this vulnerability can lead to unauthorized file access on systems running affected ANTLR4 versions. This may expose sensitive information or configuration files. The vulnerability can be exploited remotely without authentication, increasing the attack surface. However, there is no indication of privilege escalation or code execution from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting access to the vulnerable component and monitor for any suspicious activity related to file access. Avoid exposing the vulnerable functionality to untrusted inputs or networks where possible.
CVE-2026-13503: Path Traversal in antlr ANTLR4
Description
A vulnerability was detected in antlr ANTLR4 up to 4.13.2. Affected by this issue is the function getImportedVocabFile of the file tool/src/org/antlr/v4/parse/TokenVocabParser.java of the component tokenVocab Grammar Option Handler. The manipulation results in path traversal. The attack can be executed remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
CVSS v4.0
Score 6.9medium
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-13503 is a path traversal vulnerability affecting the getImportedVocabFile function in the TokenVocabParser.java file of ANTLR4 up to version 4.13.2. The issue allows remote attackers to manipulate file paths to access files outside the intended directory scope. The vulnerability is confirmed in versions 4.13.0, 4.13.1, and 4.13.2. The vendor has not responded to disclosure requests, and no official fix or mitigation has been published. The exploit is publicly available, increasing the risk of exploitation.
Potential Impact
Successful exploitation of this vulnerability can lead to unauthorized file access on systems running affected ANTLR4 versions. This may expose sensitive information or configuration files. The vulnerability can be exploited remotely without authentication, increasing the attack surface. However, there is no indication of privilege escalation or code execution from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting access to the vulnerable component and monitor for any suspicious activity related to file access. Avoid exposing the vulnerable functionality to untrusted inputs or networks where possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-06-27T18:28:07.035Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a41430127e9c797192bc4d4
Added to database: 06/28/2026, 15:51:29 UTC
Last enriched: 07/05/2026, 23:27:37 UTC
Last updated: 08/12/2026, 12:41:08 UTC
Views: 93
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.