{"id":"CVE-2026-13503","published":"2026-06-28T15:15:07Z","modified":"2026-06-29T13:11:20Z","title":"antlr ANTLR4 tokenVocab Grammar Option TokenVocabParser.java getImportedVocabFile path traversal","vendor":"antlr","product":"ANTLR4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00767,"percentile":0.56446,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://vuldb.com/vuln/374497","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/374497/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-13503","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/838686","tags":["third-party-advisory"]},{"url":"https://github.com/wooyun123/wooyun/issues/8","tags":["exploit","issue-tracking"]}],"priority":{"score":20.0,"factors":[{"name":"EPSS percentile","points":11.29},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"antlr","affectedVersions":[{"vendor":"antlr","product":"ANTLR4","versions":["4.13.0","4.13.1","4.13.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-29T13:11:13.336960Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-40001","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/wooyun123/wooyun/issues/8"]}