Vulnerabilities in pkg:npm/@capacitor/android
PACKAGECVE-2026-103922 is a CRITICAL (CVSS 9.3) remote content can be loaded vulnerability (CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')) affecting Capacitor Android and iOS libraries in the npm ecosystem. The issue involves remote content can be loaded at the app origin via the internal http proxy path. Remediation is available by upgrading affected packages to version 6.2.2, 7.6.9, 8.5.1, 8.4.3.
pkg:npm/@capacitor/android
Vulnerability advisories affecting package pkg:npm/@capacitor/android. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rvm3-566m-v7fv | CVE-2026-103922 | CRITICAL | Capacitor Android and iOS: remote content can be loaded at the app origin via the internal HTTP proxy path |
CVE-2026-103922 at a Glance
Security Impact
CVSS: 9.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N).
How to Fix CVE-2026-103922
To remediate this vulnerability, upgrade all affected Capacitor Android and iOS dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @capacitor/android@6.2.2
npm install @capacitor/android@7.6.9
npm install @capacitor/ios@6.2.2
npm install @capacitor/ios@7.6.9
Upgrade github.com/ionic-team/capacitor-swift-pm to 6.2.2
Upgrade github.com/ionic-team/capacitor-swift-pm to 7.6.9
<dependency>
<groupId>com.capacitorjs</groupId>
<artifactId>core</artifactId>
<version>6.2.2</version>
</dependency>
<dependency>
<groupId>com.capacitorjs</groupId>
<artifactId>core</artifactId>
<version>7.6.9</version>
</dependency>
npm install @capacitor/android@8.5.1
npm install @capacitor/ios@8.5.1
Upgrade github.com/ionic-team/capacitor-swift-pm to 8.5.1
<dependency>
<groupId>com.capacitorjs</groupId>
<artifactId>core</artifactId>
<version>8.5.1</version>
</dependency>
<dependency>
<groupId>com.capacitorjs</groupId>
<artifactId>core</artifactId>
<version>8.4.3</version>
</dependency>
npm install @capacitor/android@8.4.3
npm install @capacitor/ios@8.4.3
Upgrade github.com/ionic-team/capacitor-swift-pm to 8.4.3
Upgrade github.com/ionic-team/capacitor-swift-pm to Latest secure release
<dependency>
<groupId>com.capacitorjs</groupId>
<artifactId>core</artifactId>
<version>Latest secure release</version>
</dependency>
npm install @capacitor/android@Latest secure release
npm install @capacitor/ios@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @capacitor/android
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-103922, inspect your project dependencies using npm:
npm ls @capacitor/android
Analyze the terminal output to locate any version of Capacitor Android and iOS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.2.2), your application is affected.
Note: The npm ls @capacitor/android command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy'), where the product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. this causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor. In Capacitor Android and iOS, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-103922 Affected Capacitor Android and iOS Versions
20 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@capacitor/android
|
npm |
≥ 6.0.0
< 6.2.2
|
6.2.2
|
|
@capacitor/android
|
npm |
≥ 7.0.0
< 7.6.9
|
7.6.9
|
|
@capacitor/ios
|
npm |
≥ 6.0.0
< 6.2.2
|
6.2.2
|
|
@capacitor/ios
|
npm |
≥ 7.0.0
< 7.6.9
|
7.6.9
|
|
github.com/ionic-team/capacitor-swift-pm
|
SwiftURL |
≥ 6.0.0
< 6.2.2
|
6.2.2
|
|
github.com/ionic-team/capacitor-swift-pm
|
SwiftURL |
≥ 7.0.0
< 7.6.9
|
7.6.9
|
|
com.capacitorjs:core
|
Maven |
≥ 6.0.0
< 6.2.2
|
6.2.2
|
|
com.capacitorjs:core
|
Maven |
≥ 7.0.0
< 7.6.9
|
7.6.9
|
|
@capacitor/android
|
npm |
≥ 8.5.0
< 8.5.1
|
8.5.1
|
|
@capacitor/ios
|
npm |
≥ 8.5.0
< 8.5.1
|
8.5.1
|
|
github.com/ionic-team/capacitor-swift-pm
|
SwiftURL |
≥ 8.5.0
< 8.5.1
|
8.5.1
|
|
com.capacitorjs:core
|
Maven |
≥ 8.5.0
< 8.5.1
|
8.5.1
|
|
com.capacitorjs:core
|
Maven |
≥ 8.3.5
< 8.4.3
|
8.4.3
|
|
@capacitor/android
|
npm |
≥ 8.3.5
< 8.4.3
|
8.4.3
|
|
@capacitor/ios
|
npm |
≥ 8.3.5
< 8.4.3
|
8.4.3
|
|
github.com/ionic-team/capacitor-swift-pm
|
SwiftURL |
≥ 8.3.5
< 8.4.3
|
8.4.3
|
|
github.com/ionic-team/capacitor-swift-pm
|
SwiftURL |
≥ 8.0.0
≤ 8.3.4
|
|
|
com.capacitorjs:core
|
Maven |
≥ 8.0.0
≤ 8.3.4
|
|
|
@capacitor/android
|
npm |
≥ 8.0.0
≤ 8.3.4
|
|
|
@capacitor/ios
|
npm |
≥ 8.0.0
≤ 8.3.4
|
|
References
Frequently Asked Questions
What is CVE-2026-103922?
Which Capacitor Android and iOS versions are affected?
What version fixes CVE-2026-103922?
Is @capacitor/android affected?
Is @capacitor/ios affected?
What is the CVSS score of CVE-2026-103922?
What CWE is associated with CVE-2026-103922?
How can I check npm dependencies for CVE-2026-103922?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rvm3-566m-v7fv",
"modified" : "2026-10-05T22:53:10Z",
"published" : "2026-10-05T22:53:10Z",
"aliases" : [ "CVE-2026-103922" ],
"summary" : "Capacitor Android and iOS: remote content can be loaded at the app origin via the internal HTTP proxy path",
"details" : "### Impact\n\nCapacitor's WebView navigation guard validated only the **host and scheme** of a\ntarget URL, not its **path**. Because the internal HTTP proxy path\n(`/_capacitor_http_interceptor_`) is served at the application's own origin, a\nframe navigation to it was always treated as in-app navigation and allowed.\n\nLoading that path as a document caused the native layer to fetch an arbitrary,\ncaller-specified URL and return the response body to the WebView **at the app's\nown origin**. Script in that response then ran with full same-origin trust:\naccess to `localStorage`, cookies, and every native capability the application\nexposes through its registered Capacitor plugins.\n\nThe proxy handler was additionally served **regardless of whether the\n`CapacitorHttp` plugin was enabled**, so applications that never enabled\n`CapacitorHttp` were also affected.\n\nExploitation requires a victim to activate a link inside the application's\nWebView. Any Capacitor application that renders user-controlled or unsanitized\nlinks (chat messages, comments, rich-text content) is a viable delivery surface.\n\nBoth **Android and iOS** are affected.\n\n### Patches\n\nTwo changes on each platform:\n\n1. The navigation guard now blocks frame navigations whose path is the internal\n proxy path.\n2. The proxy handler is served only when `CapacitorHttp` is enabled, and never\n for a document (main frame) request.\n\nLegitimate `CapacitorHttp` usage is unaffected. `fetch` and `XMLHttpRequest` are\nsubresource requests and do not pass through the navigation guard.\n\nUpgrade to a patched version, then rebuild and redistribute your application.\n\n### Workarounds\n\nIf you cannot upgrade immediately, note first that **disabling `CapacitorHttp`\nis not sufficient** on affected versions, because the proxy path is served\nregardless of that setting.\n\nRegistered plugins are consulted before the navigation guard runs, so a small\nplugin can block the path. On Android, override `shouldOverrideLoad(Uri url)` and\nreturn `true` when `url.getPath()` starts with `/_capacitor_http_interceptor_`.\nOn iOS, implement `shouldOverrideLoad(_:)` and return `true` for the same path.\nReturning `true` cancels the navigation; return `null`/`nil` for all other URLs\nso normal navigation is unchanged.\n\nIndependently, sanitize user-controlled link targets before rendering them in the\nWebView.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@capacitor/android"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.2.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@capacitor/android"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.6.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@capacitor/ios"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.2.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@capacitor/ios"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.6.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "SwiftURL",
"name" : "github.com/ionic-team/capacitor-swift-pm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.2.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "SwiftURL",
"name" : "github.com/ionic-team/capacitor-swift-pm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.6.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.capacitorjs:core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.2.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.capacitorjs:core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.6.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@capacitor/android"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.5.0"
}, {
"fixed" : "8.5.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@capacitor/ios"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.5.0"
}, {
"fixed" : "8.5.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "SwiftURL",
"name" : "github.com/ionic-team/capacitor-swift-pm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.5.0"
}, {
"fixed" : "8.5.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.capacitorjs:core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.5.0"
}, {
"fixed" : "8.5.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.capacitorjs:core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.3.5"
}, {
"fixed" : "8.4.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@capacitor/android"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.3.5"
}, {
"fixed" : "8.4.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@capacitor/ios"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.3.5"
}, {
"fixed" : "8.4.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "SwiftURL",
"name" : "github.com/ionic-team/capacitor-swift-pm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.3.5"
}, {
"fixed" : "8.4.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "SwiftURL",
"name" : "github.com/ionic-team/capacitor-swift-pm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"last_affected" : "8.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.capacitorjs:core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"last_affected" : "8.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@capacitor/android"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"last_affected" : "8.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@capacitor/ios"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"last_affected" : "8.3.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ionic-team/capacitor/security/advisories/GHSA-rvm3-566m-v7fv"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-103922"
}, {
"type" : "WEB",
"url" : "https://github.com/ionic-team/capacitor/commit/430356a91e1419fc66862dc09835081aa501677e"
}, {
"type" : "WEB",
"url" : "https://github.com/ionic-team/capacitor/commit/745b5f805bf77bc6463977cc7d718cd9de44ccbc"
}, {
"type" : "WEB",
"url" : "https://github.com/ionic-team/capacitor/commit/80b6c5e81d062e1e158914040f49e044d95b7ccb"
}, {
"type" : "WEB",
"url" : "https://github.com/ionic-team/capacitor/commit/85ccc44151fdd5ae5e0d806d875766ef4b84ad5d"
}, {
"type" : "WEB",
"url" : "https://github.com/ionic-team/capacitor/commit/af9a287fef45f0ac68ce640cb42fed2d06b0f1b4"
}, {
"type" : "WEB",
"url" : "https://github.com/ionic-team/capacitor/commit/d5e3170ba0ff155fc542b7e6d16cff5201406540"
}, {
"type" : "WEB",
"url" : "https://github.com/ionic-team/capacitor/commit/ee586ae680887ba99d066616f976db149542d922"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ionic-team/capacitor"
}, {
"type" : "WEB",
"url" : "https://github.com/ionic-team/capacitor/releases/tag/8.5.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-346", "CWE-441" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-05T22:53:10Z",
"nvd_published_at" : "2026-10-01T18:17:12Z"
}
}