# CVE-2026-40564: Apache Flink Kubernetes Operator: Server-Side Request Forgery and local file access in Kubernetes Operator

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.49% (percentile 35, 2026-11-26)
- **CWE:** CWE-552, CWE-918
- **Published:** 2026-05-26T14:38:21.937Z
- **Modified:** 2026-07-24T11:10:00.170Z

## Who should check

- Anyone running Apache Software Foundation Apache Flink Kubernetes Operator \>= 1.3.0, \< 1.15.0

## Description

Files or Directories Accessible to External Parties, Server-Side Request Forgery (SSRF) vulnerability in Apache Flink Kubernetes Operator.

The FlinkSessionJob jarURI is currently not validated so that it points to user-owned files or addresses.  This lets a user with CR create permissions read files from the operator pod's filesystem and pull content from any backing store reachable through Flink's pluggable filesystem layer and access them through the submitted Flink job. Furthermore for fetching from http/https addresses there is currently no allowlist on the URI scheme, no host check, no IP-range restriction, and no protection against pointing the URI at internal or link-local addresses.This issue affects Apache Flink Kubernetes Operator: from 1.3.0 before 1.15.0.

Users are recommended to upgrade to version 1.15.0, which fixes the issue.

## Affected and fixed versions

- Apache Software Foundation Apache Flink Kubernetes Operator: \>= 1.3.0, \< 1.15.0 (cvelist)

## Mitigation

- Upgrade Apache Flink Kubernetes Operator to 1.15.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-40564. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-40564.md
Affected: Apache Software Foundation Apache Flink Kubernetes Operator >= 1.3.0, < 1.15.0
Fixed in: Apache Software Foundation Apache Flink Kubernetes Operator 1.15.0

Steps:
1. Search this machine and project for Apache Software Foundation Apache Flink Kubernetes Operator: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-40564 being exploited?

There is no confirmed exploitation: CVE-2026-40564 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-40564?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-40564?

Apache Software Foundation Apache Flink Kubernetes Operator \>= 1.3.0, \< 1.15.0.

### Is there a fix for CVE-2026-40564?

Yes. Fixed in Apache Software Foundation Apache Flink Kubernetes Operator 1.15.0. Upgrade Apache Flink Kubernetes Operator to 1.15.0 or later.

### How do I check if I'm affected by CVE-2026-40564?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/jvxs2kh2o60sl7qkl5nss4r5phzfl4cz>
- other: <http://www.openwall.com/lists/oss-security/2026/05/26/6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-40564>

HTML: <https://flawdb.com/CVE-2026-40564> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-40564>
