Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2020-17519: Arbitrary file read in Apache Flink JobManager REST interface

Published Jan 5, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS98.0%100th percentile
CISA KEVYesAdded May 23, 2024
In the wildActivePer CISA KEV
Vendor
Apache Software Foundation
IdentifiersCVE-2020-17519CWE-22

CVE-2020-17519 is a path traversal vulnerability in the Apache Flink JobManager REST interface affecting versions 1.11.0, 1.11.1, and 1.11.2. A change introduced in version 1.11.0 allows remote attackers to read arbitrary files from the JobManager host's local filesystem, subject to the filesystem permissions of the JobManager process. The vulnerability is fixed in Flink 1.11.3 and 1.12.0.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Exploitation compromises the confidentiality of local files readable by the JobManager process. The disclosure scope depends on that process's filesystem permissions. File modification and code execution are not established consequences of this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Restrict access to the JobManager REST interface using network ACLs, firewalls, reverse-proxy allowlists, and network segmentation. Do not expose Flink management interfaces to untrusted networks or the public internet. Limit JobManager process privileges and filesystem permissions to reduce the scope of readable files.

Remediation

Patch, then assume compromise.

Upgrade affected Apache Flink installations to version 1.11.3, 1.12.0, or a later fixed release.

Public exploits

Exploits

5 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
apache_flink_jobmanager_traversal.rbThis repository contains a single Metasploit auxiliary scanner module targeting a directory traversal vulnerability (CVE-2020-17519) in Apache Flink JobManager REST API (versions 1.11.0 to 1.11.2). The module allows an unauthenticated attacker to read arbitrary files from the server by exploiting improper validation of user-supplied log file paths. The exploit works by sending a crafted HTTP GET request to the '/jobmanager/logs/<traversal>' endpoint, where the traversal string is constructed to access files outside the intended directory. The module also includes a check method to verify if the target is running a vulnerable version of Apache Flink by querying the '/config' endpoint. The code is written in Ruby and is designed to be used within the Metasploit framework. The exploit is operational, providing file read capabilities but not remote code execution. The only file in the repository is the Metasploit module itself.Disclosed Jan 5, 2021 · Framework: metasploit · ruby · networkWeaponizedCVE-2020-17519This repository contains a Metasploit auxiliary module (apache_flink_file_read.rb) that exploits an unauthenticated directory traversal vulnerability (CVE-2020-17519) in Apache Flink versions 1.11.0, 1.11.1, and 1.11.2. The exploit allows remote attackers to read arbitrary files from the server with the privileges of the web server user by sending a crafted HTTP GET request to the Flink web interface, specifically targeting the /jobmanager/logs endpoint with directory traversal sequences. The module is operational and provides file read capabilities, demonstrated by reading /etc/passwd. The README.md provides usage instructions, affected versions, and references. No hardcoded IPs or domains are present; the exploit is configurable for target host, port, file path, and traversal depth.dev-team-12x · Disclosed Jan 8, 2021 · Framework: metasploit · ruby · networkOperationalSimplesApachePathTraversalThis repository provides a Python-based tool for testing Apache HTTP Server and Apache Flink installations for path traversal vulnerabilities (CVE-2021-41773, CVE-2021-42013, CVE-2020-17519). The main script (main.py) orchestrates multi-threaded HTTP(S) requests to a list or range of target IPs, using a set of crafted path traversal payloads defined in assets/exploits.json. The tool attempts to access sensitive files (such as /etc/passwd) by exploiting improper input validation in vulnerable servers. Results are logged to output files, with successful exploitation attempts recorded in output/vuln.txt. The codebase is modular, with separate modules for threading, HTTP requests, file handling, and optional Shodan integration. The tool is operational and can be used to automate the detection and exploitation of these specific path traversal vulnerabilities across multiple targets.MrCl0wnLab · Disclosed Oct 13, 2021 · python · networkOperationalCVE-2020-17519This repository contains a Python exploit script (CVE-2020-17519.py) targeting the directory traversal vulnerability in Apache Flink's JobManager web interface (CVE-2020-17519). The exploit allows an attacker to read arbitrary files from the server by sending specially crafted HTTP GET requests to the /jobmanager/logs/ endpoint, using double-encoded traversal sequences (..%252f) and user-supplied file paths. The script supports single or multiple file path requests, multi-threading, proxy configuration, and can save valid responses to disk. The README provides usage instructions and example commands. The exploit is operational and can be used to extract sensitive files from vulnerable Apache Flink instances accessible over the network.GazettEl · Disclosed Mar 2, 2025 · python · networkOperationalvulhub-flink-cve-2020-17519This is primarily a deliberately vulnerable training environment with a valid, manually documented CVE-2020-17519 proof of concept, not a standalone automated exploit. The JobManager log-file handler double-decodes filename input, allowing ..%252f components to escape the log directory and disclose files readable by the process. The guides demonstrate /etc/passwd disclosure; no execution, filesystem modification, or shell payload is included. The 32 supplied files comprise 24 code/configuration files when infrastructure and workflow YAML are included: seven Terraform modules, one Ruby Vagrantfile, five shell scripts, two Dockerfiles, and nine YAML/YML files. app/ contains the vendored English and Chinese walkthroughs and upstream compose configuration. base/ records the upstream image Dockerfile; build/flink/ wraps vulhub/flink:1.11.2 and selects the jobmanager command. isoloom.yml is the central lab specification. Generated .isoloom/ outputs support Docker, Kubernetes, Docker-hosting VMs, Proxmox, and six cloud providers. GitHub workflows validate generated infrastructure, run lab checks, and register approved labs using secret-configured backend endpoints whose actual addresses are not supplied. The generated lab publishes REST/dashboard port 8081 and keeps RPC port 6123 internal. Docker removes the Flink network namespace's default route; Kubernetes uses network policies to restrict egress. Cloud ingress is restricted by a user-supplied CIDR, while the Kubernetes LoadBalancer permits access to port 8081 without a source-CIDR restriction in the supplied manifest. The upstream app compose file publishes both service ports. checks/version.sh only verifies the reported version and log-listing endpoint. Generated checks test dashboard availability and blocked internet access; none sends the traversal payload, so successful checks do not independently prove exploitation. CTF metadata requests flag retrieval, but no flag file, flag path, or flag-generation mechanism appears in the supplied files. The README image reference 1.png is also absent. Cleanup commands in CI and provisioning have ordinary maintenance purposes and do not indicate a fake exploit. Isoloom is deployment tooling, not an exploit framework. The original analyzed repository URL, analyzed git reference, and archive size were not supplied; empty strings and zero represent unavailable metadata. The stated upstream commit is provenance, not the analyzed repository reference.CyberCTF · Disclosed Oct 8, 2026 · shell · hcl · web · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationFlinkapplication
FAQ

Frequently asked questions

Is CVE-2020-17519 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 23, 2024.
Is there a public exploit for CVE-2020-17519?
Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2020-17519, the earliest disclosed Jan 5, 2021.
Is there a patch for CVE-2020-17519?
Upgrade affected Apache Flink installations to version 1.11.3, 1.12.0, or a later fixed release.
What products are affected by CVE-2020-17519?
Apache Software Foundation Flink.
How severe is CVE-2020-17519?
CVE-2020-17519 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 98.0% (100th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+5 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence1Every report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.