Skip to content
OpenAdvisories
Critical · 9.1 Known exploited Scanner template Public exploit CVE-2020-17519 BIT-flink-2020-17519EUVD-2021-0481GHSA-395w-qhqr-9fr6

Apache Flink directory traversal attack: reading remote files through the REST API

Published Jan 5, 2021 · Updated Oct 21, 2025 · Assigned by apache

Description

A change introduced in Apache Flink 1.11.0 (and released in 1.11.1 and 1.11.2 as well) allows attackers to read any file on the local filesystem of the JobManager through the REST interface of the JobManager process. Access is restricted to files accessible by the JobManager process. All users should upgrade to Flink 1.11.3 or 1.12.0 if their Flink instance(s) are exposed. The issue was fixed in commit b561010b0ee741543c3953306037f00d7a9f0801 from apache/flink:master.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Flink Apache Flink 1.11.0 to 1.11.2 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

GitHub 14 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.flink:flink-runtime_2.11 >= 1.11.0, < 1.11.3 1.11.3 GHSA-395w-qhqr-9fr6
Maven org.apache.flink:flink-runtime_2.12 >= 1.11.0, < 1.11.3 1.11.3 GHSA-395w-qhqr-9fr6

References