Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-95180 Overview
CVE-2026-95180 is an improper access control vulnerability [CWE-284] in Justson AgentWeb, an Android WebView wrapper library. The flaw exists in DefaultWebClient within agentweb-core version v5.1.6-androidx and earlier. The component mishandles intent:// URL schemes, allowing a local attacker to obtain sensitive information and launch non-exported components of the host application through crafted web content.
Critical Impact
A malicious webpage loaded in an application using AgentWeb can invoke internal, non-exported Activities of the host app and expose data that was intended to remain private to the application sandbox.
Affected Products
- Justson AgentWeb agentweb-core version v5.1.6-androidx
- All prior -androidx releases of agentweb-core
- Android applications embedding the vulnerable DefaultWebClient
Discovery Timeline
- 2026-10-15 - CVE-2026-95180 published to the National Vulnerability Database (NVD)
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-95180
Vulnerability Analysis
AgentWeb's DefaultWebClient parses intent:// URLs encountered during WebView navigation and dispatches the resulting Intent without verifying whether the resolved component is exported. Android's security model treats non-exported components as internal to the application and inaccessible to external callers. By routing an intent from a web page through the host app's own process, DefaultWebClient effectively bypasses that boundary.
An attacker who can influence the content loaded inside a WebView, such as through a malicious ad, redirect, or a locally staged HTML file, can craft an intent:// URL that targets a private Activity. The dispatched intent executes with the host application's identity, so Android's component export checks are satisfied and the private screen launches. Depending on the targeted component, this yields access to configuration data, authentication state, or user-only UI flows.
Root Cause
The root cause is missing authorization logic around Intent resolution inside DefaultWebClient. The client resolves the parsed intent and starts the target component without checking the exported flag of the resolved ActivityInfo or constraining the package to trusted targets. This is a classic Android intent redirection pattern that falls under [CWE-284: Improper Access Control].
Attack Vector
Exploitation requires local access, in that the attacker must get content rendered inside a WebView that uses the vulnerable DefaultWebClient. The attacker provides a page containing an intent:// URL that encodes the fully qualified name of a non-exported Activity in the host application. When the user navigates to the page, DefaultWebClient resolves and launches the component, surfacing data or functionality the Android sandbox was supposed to isolate.
// Security patch excerpt from DefaultUIController.java (v5.1.7-androidx)
// Source: https://github.com/Justson/AgentWeb/commit/9efb1519
private Activity mActivity;
private WebParentLayout mWebParentLayout;
private AlertDialog mAskOpenOtherAppDialog = null;
+private Handler.Callback mAskOpenOtherAppCallback = null;
private AlertDialog mSslErrorDialog = null;
private ProgressDialog mProgressDialog;
private Resources mResources = null;
The added mAskOpenOtherAppCallback field is part of the fix flow that intercepts intent-based launches so that host applications can gate the behavior before an Activity is started.
Detection Methods for CVE-2026-95180
Indicators of Compromise
- Unexpected launches of non-exported Activities triggered immediately after WebView navigation events.
- WebView page loads containing intent:// URLs whose package= or component= parameters match the host application's own package.
- Logcat entries from AgentWeb or DefaultWebClient showing intent dispatch to internal components.
Detection Strategies
- Perform a dependency inventory across Android projects and flag any use of com.github.Justson.AgentWeb:agentweb-core at v5.1.6-androidx or earlier.
- Statically scan APKs for the DefaultWebClient class alongside non-exported Activities in AndroidManifest.xml to identify vulnerable application surfaces.
- Instrument QA builds to log every Intent dispatched from DefaultWebClient and alert on targets within the host package.
Monitoring Recommendations
- Monitor mobile telemetry and crash reporters for Activity launches that originate from WebView traffic rather than user navigation.
- Review network egress for pages serving intent:// payloads to users of the affected application.
- Track Software Composition Analysis (SCA) findings for AgentWeb across CI/CD pipelines and gate releases on remediation.
How to Mitigate CVE-2026-95180
Immediate Actions Required
- Upgrade agentweb-core to v5.1.7-androidx or later, which contains the fix delivered in commit 9efb1519.
- Audit the host app's AndroidManifest.xml and confirm that sensitive Activities are declared with android:exported="false".
- Restrict the content sources that can be loaded inside WebViews that use DefaultWebClient.
Patch Information
Justson released v5.1.7-androidx with the commit titled "fix(agentweb): 阻止网页经 intent URL 拉起宿主未导出页面" (prevent webpages from launching non-exported host pages via intent URLs). The patch bumps the published artifact version and introduces callback-driven gating around intent dispatch inside the default UI controller. See the GitHub Security Advisory CVE-2026-95180 and the patch commit 9efb1519 for full details.
// Build configuration update bumping agentweb-core to the patched release
// Source: https://github.com/Justson/AgentWeb/commit/9efb1519
from components.release
groupId = 'com.github.Justson.AgentWeb'
artifactId = 'agentweb-core'
- version = 'v5.1.6-androidx'
+ version = 'v5.1.7-androidx'
}
}
}
Workarounds
- Subclass DefaultWebClient and override shouldOverrideUrlLoading to reject URLs starting with intent:// that resolve to the host package.
- Validate parsed Intent objects with PackageManager.resolveActivity and drop any dispatch where the resolved component has exported=false.
- Disable JavaScript or restrict WebView content to a trusted allowlist until the patched library version is deployed.
# Gradle dependency update to adopt the fixed release
implementation 'com.github.Justson.AgentWeb:agentweb-core:v5.1.7-androidx'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

