NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
HIGH severity

CVE-2020-17518 — flink-runtime

HIGHFix: apache/flink@a5264a6

CVE-2020-17518 is a high-severity (CVSS 7.5) CWE-23 vulnerability in org.apache.flink:flink-runtime. 5 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for org.apache.flink:flink-runtime — see the affected versions and patch details below.

Upload of file to arbitrary path in Apache Flink

Also known asBIT-flink-2020-17518GHSA-7q5g-gph2-4rc6
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
5 known
Exploitation data as of Oct 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
49.1%probability of exploitation in next 30 days
High Risk-2.29%
Lower risk than most CVEs99th percentile — riskier than 99% of all scored CVEsHighest risk
35.7%57.1%78.6%100.0%93.8%49.1%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
☕org.apache.flink:flink-runtime

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Apache Flink 1.5.1 introduced a REST handler that allows you to write an uploaded file to an arbitrary location on the local file system, through a maliciously modified HTTP HEADER. The files can be written to any location accessible by Flink 1.5.1. 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 a5264a6f41524afe8ceadf1d8ddc8c80f323ebc4 from apache/flink:master.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.apache.flink:flink-runtime≥ 1.5.1&&< 1.11.31.11.3org.apache.flink:flink-runtime:1.11.3

Affected Products

1 product · 1 configurations
Application
flinkapache
≥ 1.5.1 && < 1.11.3
range
Exploits & PoCs
5

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.flink:flink-runtime, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.apache.flink:flink-runtime to 1.11.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-17518 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

How to detect CVE-2020-17518

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2020-17518 -u https://target
Template
Apache Flink 1.5.1 - Local File Inclusion
Severity
high
Impact
An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.
Remediation
Upgrade Apache Flink to a version that is not affected by the vulnerability (1.5.2 or later).

Template by ProjectDiscovery nuclei-templates (pdteam), MIT licensed. View the full template. Scan only systems you are authorised to test.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
Red Hat Fuse 7.9flinkRHSA-2021:3140
Red Hat Integrationsee advisoryRHSA-2021:3205
Red Hat Integration Camel Quarkus 2see advisoryRHSA-2021:3207

Frequently Asked Questions

Apache Flink 1.5.1 introduced a REST handler that allows you to write an uploaded file to an arbitrary location on the local file system, through a maliciously modified HTTP HEADER. The files can be written to any location accessible by Flink 1.5.1. 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 a5264a6f41524afe8ceadf1d8ddc8c80f323ebc4 from apache/flink:master.
O3 Security · Impact-Aware SCA

Is CVE-2020-17518 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2020-17518: flink-runtime — Fixed in 1.11.3