PT-2026-53114 · Antlr4 · Antlr4

·

CVE-2026-13503

·

Published

2026-06-28

·

Updated

2026-06-29

CVSS v4.0

5.5

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions ANTLR4 versions prior to 4.13.3
Description An issue exists in the tokenVocab Grammar Option Handler where the getImportedVocabFile() function in the tool/src/org/antlr/v4/parse/TokenVocabParser.java file is susceptible to path traversal. This allows a remote attacker to manipulate file paths to access unauthorized locations.
Recommendations Update to a version newer than 4.13.2. As a temporary mitigation, restrict the use of the getImportedVocabFile() function.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-13503

Affected Products

Antlr4