Skip to main content

CC-Tweaked CVE-2026-47695

| EUVDEUVD-2026-46424 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-29 https://github.com/cc-tweaked/CC-Tweaked GHSA-5jh9-2h63-pw4q
7.1
CVSS 4.0 · Vendor: https://github.com/cc-tweaked/CC-Tweaked
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Join public CC-Tweaked server
  2. Delivery
    Write Lua with NAT64-encoded internal IP
  3. Exploit
    Call http.request past SSRF filter
  4. Execution
    NAT64 gateway translates to internal IPv4
  5. Persist
    Reach internal DB/cloud API
  6. Impact
    Read response, exfiltrate internal data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires ALL of: (1) the attacker can execute Lua on a CC-Tweaked computer - trivially satisfied for any player on a public server; (2) the server host has an IPv6 address assigned; and (3) the network route table contains a 64:ff9b::/96 → NAT gateway (NAT64) entry, the default for AWS/GCP IPv6-only subnets with outbound IPv4. The target must be an internal IPv4 service reachable through that gateway; the attacker encodes it as 64:ff9b::<hex(a)><hex(b)>:<hex(c)><hex(d)>. Limiting factors that reduce real-world risk: without a NAT64 route (typical LAN/home servers) the bypass does nothing; the mod's HTTP API must be enabled; the technique reportedly does not work on modern macOS hosts; and success is bounded to services actually routable from the server's network segment. No user interaction and no in-game privilege beyond code execution is needed.

Impact

Signals are mostly consistent and point to a genuine but conditionally-exploitable, low-urgency issue. The CVSS 4.0 base score is 7.1 (High) with AV:N/AC:L and PR:N/UI:N, but crucially AT:P - a specific attack requirement - captures that exploitation depends on the server sitting on a NAT64-routed network, which is not universal. Impact is modelled entirely on subsequent systems (SC:H/SI:H/SA:H, with vulnerable-system VC/VI/VA all N), correctly reflecting that the flaw grants access to OTHER internal services rather than compromising the mod host itself. EPSS is very low (0.05%, 17th percentile) and there is no CISA KEV listing, so no evidence of active exploitation; however, a copy-paste Lua PoC is public in the GHSA advisory, so weaponisation effort is trivial where preconditions hold. The main uncertainty is environmental: risk is near-zero on a home/LAN Minecraft server with no NAT64 route, and materially higher on cloud-hosted (AWS/GCP/Azure) IPv6-only deployments where internal databases, peer instances and cloud metadata/management APIs become reachable. The advisory also notes it does not work on modern macOS, indicating platform-dependent behaviour. Net: prioritise on cloud-hosted public servers running the HTTP API; deprioritise for isolated LAN deployments.

Exploit ScenarioDerived

On a public cloud-hosted Minecraft server running CC-Tweaked in an AWS/GCP IPv6-only subnet with NAT64, any joined player opens the in-game computer and runs a short Lua script that calls http.request('http://[64:ff9b::0a00:0111]:8888/'), encoding an internal service at 10.0.1.17:8888. The mod's filter fails to recognise the NAT64 address as private, the connection is translated to the internal IPv4 service, and the response is read back with res.readAll(), letting the attacker pivot to internal databases, VPC peers, or cloud management APIs. Exploitation is low-complexity network-vector with no authentication beyond joining the server, and a ready-to-run PoC is published in the advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 21, 2026

SSRF filter bypass in CC-Tweaked (the ComputerCraft Minecraft mod) before 1.119.0 lets any user who can run Lua reach internal IPv4 services that the HTTP API's private-range blocklist is meant to protect. By encoding a blocked IPv4 address inside the NAT64 well-known prefix (64:ff9b::/96), an attacker crafts an IPv6 literal that Java's InetAddress classification methods do not recognise as private, so http.request/http.websocket connect to it and the network's NAT64 gateway translates it back to the target IPv4 service. A working Lua PoC is published in the vendor advisory, but there is no public exploit identified as being used in attacks; EPSS is low (0.05%, 17th percentile) and it is not in CISA KEV.

Earlier versions of this analysis (1)
v1 May 29, 2026 - 20:50

Server-side request forgery in CC-Tweaked (a Minecraft mod providing in-game programmable computers via Lua) allows any player able to run Lua code to bypass the mod's HTTP private-network filter by addressing internal IPv4 services through NAT64 well-known prefix addresses (64:ff9b::/96). On cloud-hosted Minecraft servers using IPv6-only subnets with NAT64 routing (the default outbound-IPv4 path on AWS and GCP), this exposes other VPC instances, internal databases, and cloud metadata/management APIs. Publicly available exploit code exists via the GitHub Security Advisory PoC; no public exploit identified at time of analysis as being used in the wild and the issue is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade CC-Tweaked to 1.119.0 or later for your Minecraft version, which adds an explicit NAT64 well-known prefix check to PrivatePattern.matches() (advisory: https://github.com/cc-tweaked/CC-Tweaked/security/advisories/GHSA-5jh9-2h63-pw4q). If you cannot upgrade immediately, the most effective compensating control is to remove the 64:ff9b::/96 → NAT gateway route from the host/VPC route table or disable NAT64/DNS64 for the subnet running the server, which breaks the bypass entirely but also removes IPv4 reachability for any legitimate outbound traffic on IPv6-only instances. Alternatively, add 64:ff9b::/96 (and, for defence in depth, other translation prefixes) to CC-Tweaked's HTTP blocklist rules in the mod configuration so the address range is denied at the application layer, or disable the HTTP API (http.request/http.websocket) altogether via config if server gameplay does not require it - at the cost of breaking any Lua programs that rely on outbound HTTP. Where full disablement is unacceptable, restrict the HTTP allowlist to only the specific external hosts programs legitimately need, and place the server in a network segment with no route to internal databases or cloud metadata/management endpoints.

Affected VersionsENISA

CC-Tweaked < 1.119.0

Affected Packages

maven cc.tweaked:cc-tweaked-1.19.3-core fix: 1.119.0
maven cc.tweaked:cc-tweaked-1.19.4-core fix: 1.119.0
maven cc.tweaked:cc-tweaked-1.20-core fix: 1.119.0
maven cc.tweaked:cc-tweaked-1.20.1-core fix: 1.119.0
maven cc.tweaked:cc-tweaked-1.20.4-core fix: 1.119.0
maven cc.tweaked:cc-tweaked-1.20.5-core fix: 1.119.0
maven cc.tweaked:cc-tweaked-1.20.6-core fix: 1.119.0
maven cc.tweaked:cc-tweaked-1.21-core fix: 1.119.0
euvd cc_tweaked fix: 1.119.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 9 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a CWE-918 server-side request forgery caused by an incomplete IP-address denylist. CC-Tweaked's PrivatePattern.matches() (AddressPredicate.java) relies on Java's built-in InetAddress classifiers - isAnyLocalAddress, isLoopbackAddress, isLinkLocalAddress, isSiteLocalAddress, isMulticastAddress - plus custom checks for unique-local and carrier-grade-NAT ranges. None of these recognise RFC 6052 NAT64 addresses in the 64:ff9b::/96 well-known prefix, which embed a target IPv4 address in the low 32 bits (e.g. 64:ff9b::0a00:0111 encodes 10.0.1.17). On dual-stack or IPv6-only hosts with a 64:ff9b::/96 → NAT gateway route - the standard AWS/GCP configuration for IPv6-only subnets needing outbound IPv4 - the OS transparently translates the connection to the embedded IPv4 destination. The mod already special-cases the 6to4 2002::/16 prefix in AddressRule.java but never added the analogous NAT64 check. Affected packages are the cc.tweaked:cc-tweaked-*-core Maven artifacts across Minecraft loader versions 1.19.3 through 1.21.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/cc-tweaked/CC-Tweaked) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
vuln.today AI 7.5 HIGH

SSRF reaching internal services only when the host is on a NAT64-routed IPv6 network (AC:H), any player runs Lua unauthenticated (PR:N), and access to other systems is a scope change (S:C) exposing internal responses (C:H).

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (https://github.com/cc-tweaked/CC-Tweaked).

CVSS VectorVendor: https://github.com/cc-tweaked/CC-Tweaked

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Analysis Updated
Jul 21, 2026 - 21:35 vuln.today
v2 - CVSS changed
CVSS changed
Jul 21, 2026 - 21:22 NVD
7.1 (HIGH)

DescriptionCVE.org

Summary

CC-Tweaked's HTTP API (http.request, http.websocket) blocks requests to private network ranges to prevent server-side request forgery (SSRF). This protection can be bypassed on IPv6-capable servers using NAT64 well-known prefix addresses (64:ff9b::/96). An attacker who can execute Lua code can reach any internal IPv4 service that the filter is intended to block, by addressing it as http://[64:ff9b::<ipv4-as-hex>]/ instead of its direct IPv4 address. This affects any CC-Tweaked deployment on a network with NAT64 routing - a configuration that is standard on AWS, GCP, and other cloud platforms when using IPv6-only subnets.

Details

The IP filter in PrivatePattern.matches() (AddressPredicate.java#L121-L130) blocks private network ranges by calling Java's standard InetAddress classification methods:

java
public boolean matches(InetAddress socketAddress) {
    return socketAddress.isAnyLocalAddress()
        || socketAddress.isLoopbackAddress()
        || socketAddress.isLinkLocalAddress()
        || socketAddress.isSiteLocalAddress()
        || socketAddress.isMulticastAddress()
        || isUniqueLocalAddress(socketAddress)
        || isCarrierGradeNatAddress(socketAddress)
        || additionalAddresses.contains(socketAddress);
}

When a NAT64 address such as 64:ff9b::c0a8:0101 (encoding 192.168.1.1) is resolved via new InetSocketAddress("64:ff9b::c0a8:0101", 80), Java returns an Inet6Address. Every method above returns false for this address - the 64:ff9b::/96 prefix is not recognised by any of Java's built-in classification methods. The address passes the filter and CC-Tweaked opens a connection.

On a network with a 64:ff9b::/96 → NAT Gateway route, that connection is translated at the network level: the embedded IPv4 address is extracted and the packet is forwarded to 192.168.1.1:80. The internal service receives a normal IPv4 TCP connection.

The existing 6to4 (2002::/16) mitigation in AddressRule.java#L74-L75 does not cover the NAT64 prefix. No other check catches 64:ff9b::/96.

PoC

Preconditions (all three required):

  1. The server running CC-Tweaked has an IPv6 address assigned
  2. The network has a NAT Gateway (or equivalent)
  3. The route table contains 64:ff9b::/96 → NAT Gateway - the standard AWS/GCP configuration for IPv6-only subnets with outbound IPv4 access (AWS documentation)

Lua payload (targets an internal service at 10.0.1.17:8888):

lua
-- 10.0.1.17 = 0x0a000111, expressed as NAT64: 64:ff9b::0a00:0111
local res = http.request("http://[64:ff9b::0a00:0111]:8888/")
if res then print(res.readAll()) end

Conversion formula - for any blocked IPv4 a.b.c.d, the bypass address is:

64:ff9b::<hex(a)><hex(b)>:<hex(c)><hex(d)>

Impact

This is a server-side request forgery (SSRF) vulnerability. Any user able to execute Lua code on a CC-Tweaked computer - including players on a public server - can use it to send HTTP requests to internal IPv4 services that the HTTP filter is designed to block. On cloud-hosted servers (AWS, GCP, Azure) using IPv6-only subnets with NAT64, which is an increasingly common configuration following AWS's February 2024 public IPv4 pricing change, this includes other instances in the VPC, internal databases, and cloud management APIs.

Suggested fix: add a check for the NAT64 well-known prefix in PrivatePattern.matches():

java
|| isNAT64Address(socketAddress)

private boolean isNAT64Address(InetAddress address) {
    if (!(address instanceof Inet6Address)) return false;
    byte[] b = address.getAddress();
    // 64:ff9b::/96 - NAT64 well-known prefix (RFC 6052)
    return b[0] == 0x00 && b[1] == 0x64 &&
           b[2] == (byte) 0xff && b[3] == (byte) 0x9b &&
           b[4] == 0 && b[5] == 0 && b[6] == 0 && b[7] == 0 &&
           b[8] == 0 && b[9] == 0 && b[10] == 0 && b[11] == 0;
}

This vulnerability does not seem to work on servers running on modern versions of MacOS.

Executive ViewAI

Why It Matters

CC-Tweaked, a widely-used ComputerCraft Minecraft mod, contains an SSRF filter bypass (CVE-2026-47695) that allows players with Lua execution privileges to reach internal IPv4 services, potentially exposing databases, administrative interfaces, and other protected infrastructure. The vulnerability uses NAT64 prefix encoding to circumvent the HTTP API's private-range blocking; publicly available exploit code exists, but active exploitation remains extremely low (EPSS at 17th percentile) and vendor patch version 1.119.0 is available. Organizations running CC-Tweaked on servers should prioritize patching to prevent lateral movement into back-end systems.

Business Impact: High
Compensating Controls

Apply vendor patch version 1.119.0. Interim mitigations during deployment: restrict game server outbound access to approved services only; disable HTTP API functionality if not required; consider network isolation (VLAN or air-gapping) of game servers from sensitive infrastructure until patching is complete.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Prevalence
Low
popular Minecraft mod but niche, non-enterprise gaming deployment footprint
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy