Description
CC: Tweaked is a mod for Minecraft which adds programmable computers, turtles, and more to the game. Prior to 1.120.0, the SSRF protection in projects/core/src/main/java/dan200/computercraft/core/apis/http/options/AddressPredicate.java blocks the RFC 6052 64:ff9b::/96 NAT64 prefix but omits the RFC 8215 64:ff9b:1::/48 local-use prefix. On a dual-stack server using RFC 8215 NAT64, an unauthenticated user who can execute Lua code can use http.request or http.websocket with an address under 64:ff9b:1::/48 to reach loopback, RFC 1918, cloud metadata, or internal API endpoints because PrivatePattern.matches() does not classify the mapped IPv6 address as private. This issue is fixed in version 1.120.0.
Published: 2026-08-27
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the SSRF guard that incorrectly excludes the RFC 8215 NAT64 local‑use prefix 64:ff9b:1::/48. An unauthenticated Lua user can issue http.request or http.websocket to an address within that prefix, causing the server to treat it as a private IPv6 address and connect to loopback, RFC 1918, cloud metadata or other internal services. This flaw is a classic server‑side request forgery (CWE‑918) that allows the attacker to reach internal endpoints, discover network secrets, and potentially inject malicious payloads via the Minecraft environment.

Affected Systems

Affected product is the CC‑Tweaked mod for Minecraft, all versions prior to 1.120.0. The fix was introduced in release 1.120.0.

Risk and Exploitability

The CVSS base score of 6.9 indicates a moderate severity issue. There is no EPSS data and the vulnerability is not yet listed in the CISA KEV catalog. The attack requires that an attacker has the ability to execute arbitrary Lua code on the server, which can be obtained by being a player on a shared server or by compromising a user account. Once that privilege is achieved, the attack path is straightforward: send a crafted http.request to a 64:ff9b:1::/48 address to reach localhost or internal APIs. Therefore, the exploitability is relatively high in environments where untrusted Lua execution is permitted.

Generated by OpenCVE AI on August 28, 2026 at 07:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch by updating CC‑Tweaked to version 1.120.0 or newer.
  • If an update is not possible, remove or disable the http.request and http.websocket APIs from the server or restrict them with a whitelist that excludes NAT64 addresses.
  • Configure network firewalls to block connections to 64:ff9b:1::/48 from within the Minecraft server.
  • Consider disabling NAT64 or moving to an IPv6 addressing scheme that does not use the local‑use prefix.
  • Monitor server logs for suspicious HTTP requests originating from Lua scripts.

Generated by OpenCVE AI on August 28, 2026 at 07:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description CC: Tweaked is a mod for Minecraft which adds programmable computers, turtles, and more to the game. Prior to 1.120.0, the SSRF protection in projects/core/src/main/java/dan200/computercraft/core/apis/http/options/AddressPredicate.java blocks the RFC 6052 64:ff9b::/96 NAT64 prefix but omits the RFC 8215 64:ff9b:1::/48 local-use prefix. On a dual-stack server using RFC 8215 NAT64, an unauthenticated user who can execute Lua code can use http.request or http.websocket with an address under 64:ff9b:1::/48 to reach loopback, RFC 1918, cloud metadata, or internal API endpoints because PrivatePattern.matches() does not classify the mapped IPv6 address as private. This issue is fixed in version 1.120.0.
Title CC: Tweaked: Incomplete fix for GHSA-5jh9-2h63-pw4q: RFC 8215 NAT64 prefix (64:ff9b:1::/96) bypasses SSRF protection
Weaknesses CWE-918
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-27T17:11:00.307Z

Reserved: 2026-06-17T14:34:51.880Z

Link: CVE-2026-55758

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T20:17:50.640

Modified: 2026-08-27T20:17:50.640

Link: CVE-2026-55758

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T07:30:07Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)