The following describes all security bulletins related to
Dataflow.

To get the latest security bulletins delivered to you, do one of the following:

- Add the URL of this page to your [feed reader](https://wikipedia.org/wiki/Comparison_of_feed_aggregators).
- Add the feed URL directly to your feed reader: `https://cloud.google.com/feeds/dataflow-security-bulletins.xml`

## GCP-2026-082

**Published:** 2026-11-20

### Description

| Description | Severity | Notes |
|---|---|---|
| A remote code execution vulnerability ([CVE-2026-114938](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-114938)) was disclosed in OpenJDK 17.0.6 and later on x86-64 processors that support AVX-512 VBMI. On Dataflow, this applies to Java 17 (Apache Beam SDK 2.56.0 and later), Java 21, and Java 25 worker runtimes. For Google Cloud-wide details, see the [GCP-2026-082 security bulletin](https://docs.cloud.google.com/support/bulletins.md.txt#gcp-2026-082). As of November 20, 2026, Dataflow has released a service-side security update that disables the vulnerable HotSpot Base64 intrinsic (`-XX:-UseBASE64Intrinsics`) on standard Google-provided Java 17, 21, and 25 worker containers across all Apache Beam SDK versions. Dataflow has also patched OpenJDK (to versions `17.0.21.1+2`, `21.0.13.1+2`, and `25.0.5.1+2`) in Apache Beam 2.78.0 worker images for jobs that don't use the [Portable Runner](https://docs.cloud.google.com/dataflow/docs/portable-runner.md.txt) (the Non-Portable Runner for batch workloads and the Streaming Java Runner for streaming workloads). Updated Java 17, 21, and 25 worker images for the Portable Runner and Flex Template base images are in progress. If you experience out-of-memory (OOM) errors after upgrading to Apache Beam 2.78.0 with the patched OpenJDK runtime (due to [JDK-8319713](https://bugs.openjdk.org/browse/JDK-8319713) affecting `ParallelGC`), configure the G1 garbage collector by passing `--experiments=java_gc=UseG1GC`. For more information, see [Use a different Java garbage collector](https://docs.cloud.google.com/dataflow/docs/guides/troubleshoot-oom.md.txt#java-gc). #### What should I do? Your Dataflow pipeline is potentially affected only if all of the following conditions apply: - Your workers run unpatched OpenJDK 17.0.6 or later---specifically Java 17 with Apache Beam SDK 2.56.0 or later, Java 21, or Java 25 (including multi-language pipelines using an affected Java SDK harness). Java 8, Java 11, and Java 17 on Apache Beam SDK versions earlier than 2.56.0 aren't affected. - Your worker VMs run on x86-64 processors that support AVX-512 VBMI (such as N2 Ice Lake, N4, N4D, C3, C3D, C4, C4D, C4N, M3, M4, M4N, A3, A4, G4, H3, H4D, X4, X5, Z3, Z4D, and Z4M). Default Dataflow worker machine types (E2 and N1), Arm-based VMs (such as T2A, C4A, and N4A), and other x86-64 machine series without AVX-512 VBMI (such as N2D, C2, C2D, and T2D) aren't affected. Flex Template launcher VMs use an unaffected machine type (such as E2 or N1) by default, but they might still be affected if you override the launcher machine type or if the default machine type is unavailable and Dataflow falls back to a machine type that supports AVX-512 VBMI. - Your worker code (such as custom transforms, third-party dependencies, or templates) decodes untrusted Base64 or Base64URL input using `java.util.Base64.getDecoder()` or `java.util.Base64.getUrlDecoder()`. Inspection of supported Apache Beam Java SDK components (`beam-sdks-java-core`, `beam-sdks-java-io-google-cloud-platform`, and `beam-sdks-java-io-kafka`) confirmed that first-party Beam transforms don't use the vulnerable code path on pipeline element data; check your custom transforms, third-party dependencies, and templates to confirm whether your job is exposed. Take the following actions based on your pipeline configuration: #### Mitigate using pipeline options If you use [custom containers](https://docs.cloud.google.com/dataflow/docs/guides/using-custom-containers.md.txt)---or if you want to explicitly disable the Base64 intrinsic at the job level---set the `JDK_JAVA_OPTIONS` environment variable through the `environment_variables` experiment: ```bash --experiments="environment_variables=JDK_JAVA_OPTIONS=-XX:-UseBASE64Intrinsics" ``` If you launch a Classic Template or Flex Template with the gcloud CLI, pass the same value using the `--additional-experiments` flag (or `additionalExperiments` in the REST API): ```bash --additional-experiments="environment_variables=JDK_JAVA_OPTIONS=-XX:-UseBASE64Intrinsics" ``` To confirm that the mitigation is active, check your [worker logs](https://docs.cloud.google.com/dataflow/docs/guides/logging.md.txt) for an entry similar to the following: ```none Picked up JDK_JAVA_OPTIONS: -XX:-UseBASE64Intrinsics ``` #### Update or restart long-running streaming jobs Existing streaming jobs don't automatically pick up service-side JVM option updates or patched worker images. To apply the service-side update or the `environment_variables` pipeline option, [update the streaming job](https://docs.cloud.google.com/dataflow/docs/guides/updating-a-pipeline.md.txt) (launch a replacement job) or restart the job. #### What vulnerabilities are being addressed? - **CVE-2026-114938:** An integer underflow in OpenJDK HotSpot's AVX-512 VBMI Base64 decoder intrinsic causes a heap out-of-bounds write when decoding malformed standard or URL-safe Base64 input (`Base64.getDecoder()` or `Base64.getUrlDecoder()`) with `UseAVX=3` enabled. Once the C2 JIT compiler compiles the decode path, an unauthenticated remote attacker supplying untrusted Base64 input might execute arbitrary code within the JVM process. | Critical | [CVE-2026-114938](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-114938) |

<br />

## GCP-2024-040

**Published**: 2024-07-03

| Description | Severity | Notes |
|---|---|---|
| A remote code execution vulnerability, [CVE-2024-6387](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-6387), was recently discovered in OpenSSH. Dataflow jobs might create VMs that use an OS image with versions of OpenSSH that are vulnerable to CVE-2024-6387. The vulnerability could enable attackers to gain root access to Dataflow worker VMs. **Dataflow worker VMs with public IP addresses and SSH exposed to the internet should be treated with the highest priority for mitigation.** #### What should I do? A patched Dataflow VM image that includes an updated OpenSSH is available. We recommend working through the following steps to check your pipelines' exposure, and then applying the mitigations described, as necessary. #### Disallow SSH to Dataflow worker VMs *This action is the most effective mitigation against current and future vulnerabilities in SSH.* [SSH access](https://docs.cloud.google.com/dataflow/docs/guides/routes-firewall.md.txt#ssh_access_to_worker_vms) to Dataflow worker VMs is not required for Dataflow to function or for debugging most Dataflow issues. Use the following Google Cloud CLI command to disable SSH for Dataflow VMs: ```bash gcloud compute firewall-rules create block-ssh-dataflow \ --network=NETWORK \ --action=DENY --priority=500 \ --rules=tcp:22 \ --target-tags=dataflow ``` To revert this action, use the `gcloud compute firewall-rules delete block-ssh-dataflow` command. #### Update or restart long-running streaming pipelines *This action addresses the specific vulnerability mentioned in this bulletin.* Any Dataflow jobs that were started after 2024-07-04 22:00 PDT use the patched VM image. For streaming pipelines launched before this date, to use the patched VM image, you must either manually [update](https://docs.cloud.google.com/dataflow/docs/guides/updating-a-pipeline.md.txt) the job or restart the job. #### Identify which Dataflow jobs have worker VMs with public IP addresses *Unless access is blocked by firewalls, the SSH ports of Dataflow worker VMs with public IP addresses are open to the internet.* To get a list of Dataflow jobs that started VMs with external IP addresses, use the following gcloud CLI command: ```bash gcloud --project PROJECT_ID compute instances list \ --filter "EXTERNAL_IP!='' AND STATUS='RUNNING' \ AND description ~ 'Created for Dataflow job'" \ --format="list (description)" | sort -u ``` To inspect the list of all VMs with external IP addresses in your project, use the following gcloud CLI command: ```bash gcloud --project PROJECT_ID compute instances list \ --filter "EXTERNAL_IP!='' AND STATUS='RUNNING'" ``` #### Disable public IPs in your Dataflow jobs *This step ensures that the SSH ports aren't open to the public internet. Unless access is blocked by a firewall, this configuration leaves the ports open to other users with access to this network.* Dataflow pipelines that don't access the public internet don't need to use public IP addresses. If you identify any pipelines that are using public IP addresses but don't need public internet access, turn off external IP addresses for these pipelines. For instructions, see [Turn off external IP address](https://docs.cloud.google.com/dataflow/docs/guides/routes-firewall.md.txt#turn_off_external_ip_address). #### What vulnerabilities are being addressed? The vulnerability, CVE-2024-6387 exploits a race condition that could be used to obtain access to a remote shell, enabling attackers to gain root access to Dataflow worker VMs. At the time of publication, exploitation is believed to be difficult and take several hours per machine being attacked. We are not aware of any exploitation attempts. | Medium | [CVE-2024-6387](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-6387) |

<br />