Home / Apache Software Foundation / Apache Flink / CVE-2020-17518
CVE-2020-17518: is it exploited, and which versions of Apache Software Foundation Apache Flink are affected and fixed?
CVE-2020-17518 is a path traversal vulnerability in Apache Software Foundation Apache Flink. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: org.apache.flink:flink-runtime from 1.5.1 before 1.11.3 (GitHub advisory GHSA-7q5g-gph2-4rc6). Fixed in 1.11.3 (GitHub advisory GHSA-7q5g-gph2-4rc6). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:04 UTC.
What is CVE-2020-17518?
Apache Flink directory traversal attack: remote file writing through the REST API
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.
From the CVE record by apache, last updated February 13, 2025, 16:27 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Flink | Apache Flink 1.5.1 to 1.11.2 |
As the CVE record by apache states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.flink:flink-runtime | >= 1.5.1, < 1.11.3 | 1.11.3 | GHSA-7q5g-gph2-4rc6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 7, 2021. Summary: Upload of file to arbitrary path in Apache Flink.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | flink | from 1.5.1 before 1.11.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:59 UTC.
How severe is CVE-2020-17518?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-17518 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 49.4% probability of exploitation activity in the next 30 days, percentile 98.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/rb43cd476419a48be89c1339b527a18116f23eec5b6df2b2acbfef261%40%3Cdev.flink.apache.org%3E x_refsource_MISC
- [flink-user] 20210105 [CVE-2020-17518] Apache Flink directory traversal attack: remote file writing through the REST API mailing-list, x_refsource_MLIST
- [announce] 20210105 [CVE-2020-17518] Apache Flink directory traversal attack: remote file writing through the REST API mailing-list, x_refsource_MLIST
- [oss-security] 20210105 [CVE-2020-17518] Apache Flink directory traversal attack: remote file writing through the REST API mailing-list, x_refsource_MLIST
- [flink-issues] 20210106 [GitHub] [flink-web] zentol commented on a change in pull request #408: Add security page for Flink mailing-list, x_refsource_MLIST
- [flink-dev] 20210106 [jira] [Created] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-issues] 20210106 [jira] [Created] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-issues] 20210107 [jira] [Updated] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-issues] 20210107 [jira] [Closed] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-issues] 20210107 [jira] [Commented] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-issues] 20210112 [jira] [Commented] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-dev] 20210113 Re: [DISCUSS] Releasing Apache Flink 1.10.3 mailing-list, x_refsource_MLIST
- [flink-issues] 20210114 [jira] [Reopened] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-issues] 20210114 [jira] [Commented] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-issues] 20210114 [jira] [Closed] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-issues] 20210114 [jira] [Updated] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-issues] 20210114 [jira] [Comment Edited] (FLINK-20875) Could patch CVE-2020-17518 to version 1.10 mailing-list, x_refsource_MLIST
- [flink-issues] 20210114 [jira] [Updated] (FLINK-20875) [CVE-2020-17518] Directory traversal attack: remote file writing through the REST API mailing-list, x_refsource_MLIST
- [flink-issues] 20210114 [jira] [Commented] (FLINK-20875) [CVE-2020-17518] Directory traversal attack: remote file writing through the REST API mailing-list, x_refsource_MLIST
- [flink-dev] 20210115 Re: [DISCUSS] Releasing Apache Flink 1.10.3 mailing-list, x_refsource_MLIST
- [flink-dev] 20210121 Re: [VOTE] Release 1.10.3, release candidate #1 mailing-list, x_refsource_MLIST
- [announce] 20210125 Apache Software Foundation Security Report: 2020 mailing-list, x_refsource_MLIST
- [announce] 20210223 Re: Apache Software Foundation Security Report: 2020 mailing-list, x_refsource_MLIST
- https://lists.apache.org/thread.html/r26fcdd4fe288323006253437ebc4dd6fdfadfb5e93465a0e4f68420d%40%3Cuser-zh.flink.apache.org%3E x_refsource_MISC
Who found and reported it?
- 0rich1 of Ant Security FG Lab (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 12, 2020
- Published
- January 5, 2021, 11:40 UTC
- CVE record updated
- February 13, 2025, 16:27 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 02:59 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:04 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Flink?
- Jan 5, 2021CVE-2020-17519 Apache Software Foundation Apache Flink: files or folders accessible to outside parties exploited
- May 15, 2026CVE-2026-35194 Apache Software Foundation Apache Flink: code injection (remote code execution)
Questions about CVE-2020-17518
Is CVE-2020-17518 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 49.4% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Flink are affected by CVE-2020-17518?
org.apache.flink:flink-runtime from 1.5.1 before 1.11.3, per the GitHub advisory GHSA-7q5g-gph2-4rc6. The tables above give every range the sources list.
Which version fixes CVE-2020-17518?
1.11.3, per the GitHub advisory GHSA-7q5g-gph2-4rc6. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-17518?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-17518?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.