{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40564 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-40564 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-40564 is a medium-severity server-side request forgery vulnerability in Apache Flink Kubernetes Operator, published on 26 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40564 and fix it if it is affected.\n\nWhat it is: CVE-2026-40564 is a medium-severity server-side request forgery vulnerability in Apache Flink Kubernetes Operator, published on 26 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40564 in the wild and no public exploit code.\n\nAffected product: Apache Flink Kubernetes Operator. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40564/ (Markdown: https://insights.sbomify.com/CVE-2026-40564/index.md)","id":"CVE-2026-40564","markdown":"https://insights.sbomify.com/CVE-2026-40564/index.md","name":"CVE-2026-40564","record":{"aliases":["GHSA-rj6x-mg28-wf4x"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes Operator","requires_auth":"low_privilege","summary":"Attackers with CR create permissions can exploit unvalidated URIs to read local files and access internal network resources via SSRF.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"flink_kubernetes_operator","vendor":"apache"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"description":"Files or Directories Accessible to External Parties, Server-Side Request Forgery (SSRF) vulnerability in Apache Flink Kubernetes Operator.\n\nThe 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.\n\nUsers are recommended to upgrade to version 1.15.0, which fixes the issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-05-29","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-29T09:32:14Z","kind":"github_poc","ref":"https://github.com/oscerd/CVE-2026-40564","stars":0,"title":"CVE-2026-40564: SSRF via FlinkSessionJob jarURI in apache/flink-kubernetes-operator. Self-contained reproducer that runs on a local kind cluster with one make command."}],"tier":"poc_unverified"},"has_fix":false,"headline":"Apache Flink Kubernetes Operator: Server-Side Request Forgery and local file access in Kubernetes Operator","id":"CVE-2026-40564","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"FreeScout has Stored XSS / CSS Injection via linkify() — Unescaped URL in Anchor href","id":"CVE-2026-40565"},"packages":[],"prev":{"headline":"Apache Atlas: Script injection allows access to unintended data","id":"CVE-2026-40563"},"products":["Apache Flink Kubernetes Operator"],"published":"2026-05-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-02","vendors":["Apache Software Foundation"]},"summary":"Attackers with CR create permissions can exploit unvalidated URIs to read local files and access internal network resources via SSRF.","url":"https://insights.sbomify.com/CVE-2026-40564/"}