---
title: "Budibase’s 4.0.0 blacklist fix reads three IPv6 transition forms and misses the fourth"
slug: budibase-ipv4-translated-blacklist
draft: false
date: "2026-11-24"
datetime: "2026-11-24T06:36:19Z"
updated: "2026-11-24"
description: "Budibase’s GHSA-622v calls 4.0.0 patched for the IPv6 transition prefixes. extractEmbeddedIPv4 handles compatible, NAT64 and 6to4, not the RFC 2765 translated prefix."
abstract: >-
  GHSA-622v-wwmm-7xrf (“Incomplete fix of CVE-2026-35219: the outbound blacklist omits every IPv6 transition prefix…”, patched 4.0.0) is Budibase’s record for the transition-prefix class. The shipped package decodes IPv6 addresses that carry an embedded IPv4 destination: extractEmbeddedIPv4() handles the IPv4-compatible ::/96, NAT64 64:ff9b::/96 and 6to4 2002::/16 forms, and the default list carries the NAT64 local-use 64:ff9b:1::/48 and Teredo 2001::/32 prefixes. The RFC 2765 IPv4-translated prefix 0::ffff:0:0:0/96 is a fourth carrier: its canonical form is 0000:0000:0000:0000:ffff:0000:hhhh:llll, so groups 0-4 are not all zero and no branch matches. isBlacklisted(::ffff:0:a00:1) returns false while isBlacklisted(::ffff:10.0.0.1) returns true. We ran the guard on @budibase/backend-core 4.0.0, whose blacklist.js is byte-identical to 3.50.0’s and to the current 4.1.0’s. The same helper gates the REST datasource query preview, where a Builder controls the URL. The impact is conditional on a network that routes the translated prefix to an IPv4 translator, the same condition the vendor’s own NAT64 and 6to4 checks accept.
authors:
  - name: EZO Labs Security
    url: https://ezolabs.net
section: environments
report_number: EZO-R-2026-21
lang: en
og:
  kicker: "EZO LABS // SECURITY"
  title:
    - "Budibase’s 4.0.0 blacklist"
    - "fix reads three IPv6"
    - "transition forms and misses"
  foot:
    - "An independent write-up."
    - "Notes from the disclosure."
bibtex_key: budibaseipv4translatedblacklist
revisions:
  - date: "2026-11-24"
    note: "First publication."
license: cc-by-4.0
---

## Summary

The blacklist that Budibase’s 4.0.0 advisory calls patched reads three of the four standard IPv6 carriers of an IPv4 address. It still says the fourth is public.

## The gap

`isBlacklisted('::ffff:0:a00:1')` returns false while the mapped form of the same 10.0.0.1 is blocked, so a Builder’s REST datasource preview reaches the internal address through the translated form.

- `packages/backend-core/src/blacklist/blacklist.ts` (extractEmbeddedIPv4()): The helper unwraps only the IPv4-compatible `::/96`, NAT64 `64:ff9b::/96` and 6to4 `2002::/16` prefixes; the RFC 2765 translated prefix `0::ffff:0:0:0/96` is not decoded, and the IPv6 `net.BlockList` has no entry covering it.
- `packages/backend-core/src/utils/outboundFetch.ts:39-53`: `resolveSafePinnedIp` uses `isBlacklisted()` as the address gate.
- `packages/server/src/integrations/rest.ts:966`: The REST datasource calls `fetchWithBlacklist`.
- `packages/server/src/api/routes/query.ts:43-48`: `POST /api/queries/preview` is mounted on `builderRoutes`, where a Builder controls the REST datasource URL.

## Reproduction

`npm install @budibase/backend-core@3.50.0 zod`; call `isBlacklisted('::ffff:0:a00:1')` and `isBlacklisted('::ffff:10.0.0.1')`; run the nine-form matrix; add the translated case to the vendor’s `should blacklist IPv6 transition addresses` Jest case.

`false true`, the translated address is accepted while the mapped form of the same 10.0.0.1 is blocked. The matrix records `blocked=false` for `::ffff:0:a00:1` and `blocked=true` for `10.0.0.1`, `::10.0.0.1`, `2002:0a00:0001::` and `64:ff9b::a00:1`.

## Impact

A Builder can make the Budibase server connect to an internal IPv4 address through the IPv4-translated form, so a REST datasource query preview returns services bound to 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16, and reads the cloud metadata endpoint at 169.254.169.254, whenever the server routes 0::ffff:0:0:0/96 to an RFC 7915 SIIT translator.

## Affected versions

All @budibase/backend-core releases from 3.33.4 (where the default blacklist was introduced) through 4.1.0 (current), including 4.0.1. The omission is in `packages/backend-core/src/blacklist/blacklist.ts`.

## Fix status

No release carries the fix. Add `0::ffff:0:0:0/96` (RFC 2765 §2.1) to the embedded-IPv4 decoding or the IPv6 `net.BlockList`.

## The vendor’s record

No maintainer reply. `GHSA-622v-wwmm-7xrf` is the authority for the class and names the transition prefixes in scope; the translated prefix is the one it left out. Its suggested fix and the shipped decoder both skip `0::ffff:0:0:0/96`.

## Timeline

- 2026-08-14: GHSA-9754-4wm6-3c8r published (the missing 100.64.0.0/10), patched 3.41.3
- 2026-11-09T15:27:26Z: Private report filed (`GHSA-54qf-4gcj-62hf`)
- 2026-11-10T17:07:52Z: GHSA-622v-wwmm-7xrf published (transition prefixes), patched 4.0.0
- 2026-11-12: Notice naming 2026-11-17T16:00Z as the planned publication
- 2026-11-24T06:36:19Z: This write-up published
- 2026-11-24: MITRE CNA-LR request submitted

## References

- Incomplete fix of CVE-2026-35219: the outbound blacklist omits every IPv6 transition prefix…: https://github.com/Budibase/budibase/security/advisories/GHSA-622v-wwmm-7xrf
- Budibase backend-core omits shared address space from its default SSRF blacklist: https://github.com/Budibase/budibase/security/advisories/GHSA-9754-4wm6-3c8r
- Private report: https://github.com/Budibase/budibase/security/advisories/GHSA-54qf-4gcj-62hf

## Disclosure

This note is an independent write-up. It is published on 2026-11-24 as the public reference for a CVE request. The private advisory and this write-up describe the same defect; the vendor advisory named above is the authority where one exists.
