Skip to content
Heist/ feed
Back to feed
Medium

Apache Flink Kubernetes Operator: Server-Side Request Forgery and local file access in Kubernetes Operator

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-40564
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 01:39 UTC · Revision 1

Source evidence

Apache Flink Kubernetes Operator: Server-Side Request Forgery and local file access in Kubernetes Operator

core-osv · Original source

Published 26 May 2026, 14:38 UTC

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.

osv:CVE-2026-40564
Complete source record
{
  "id": "9b047bb493e6acf46047892289ca6fd91f90a1b877e374d5cb38f1861dd2cf3a",
  "url": "https://osv.dev/vulnerability/CVE-2026-40564",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Flink Kubernetes Operator: Server-Side Request Forgery and local file access in Kubernetes Operator",
    "summary": "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.",
    "evidence": "osv:CVE-2026-40564",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-40564",
      "aliases": [
        "CVE-2026-40564"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/flink-kubernetes-operator",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b7e40daacdf965e0f450bb4ec06ecc1f19622949"
                },
                {
                  "fixed": "79d730bab4d8403f3a447fb027f879f5cbdc59ad"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:flink_kubernetes_operator:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.3.0"
                      },
                      {
                        "fixed": "1.15.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40564.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.090325039Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40564.json",
        "https://lists.apache.org/thread/jvxs2kh2o60sl7qkl5nss4r5phzfl4cz",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-40564"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-552",
          "CWE-918"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.3.0"
                  },
                  {
                    "fixed": "1.15.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40564.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-40564",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491686,
  "published_at": "2026-05-26T14:38:21.937+00:00"
}