CVE-2026-40564
MEDIUMApache Flink Kubernetes Operator: Server-Side Request Forgery and local file access in Kubernetes Operator
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2026-40564. PoCs published by oscerd.
AI-analyzed exploit summary This repository contains a functional exploit PoC for CVE-2026-40564, demonstrating an SSRF vulnerability in the Apache Flink Kubernetes Operator. The exploit leverages the operator's lack of validation on the `spec.job.jarURI` field in `FlinkSessionJob` resources, allowing an attacker to coerce the operator into fetching arbitrary URLs from its network position.
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.
Exploits (1)
This repository contains a functional exploit PoC for CVE-2026-40564, demonstrating an SSRF vulnerability in the Apache Flink Kubernetes Operator. The exploit leverages the operator's lack of validation on the `spec.job.jarURI` field in `FlinkSessionJob` resources, allowing an attacker to coerce the operator into fetching arbitrary URLs from its network position.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N