Insufficient validation of untrusted input in Password Manager (CVE-2026-11151)
The automated password change flow did not validate the URL returned by the Affiliations API, so a compromised network process could point it at a privileged internal page such as the settings page. The flow would then capture that page's DOM and follow a spoofed model response to click an element on the user's behalf, which the report claims leads to a sandbox escape.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 53 days
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team.
Overview: The Chrome automated password change flow fails to validate the change_password_url provided by the Affiliations API. A compromised network process can spoof this URL to redirect the flow to privileged internal pages (e.g., chrome://settings). The browser then captures the privileged page's DOM and allows the attacker to execute arbitrary clicks via spoofed Optimization Guide responses, leading to a sandbox escape.
Affected files:
components/affiliations/core/browser/lookup_affiliation_response_parser.ccchrome/browser/password_manager/password_change_delegate_impl.ccchrome/browser/password_manager/password_change/change_password_form_filling_submission_helper.ccchrome/browser/password_manager/password_change/cross_origin_navigation_observer.ccchrome/browser/password_manager/chrome_password_change_service.cccomponents/password_manager/content/browser/content_password_manager_driver.ccchrome/browser/ui/passwords/password_change_ui_controller.cc
Estimated timestamp from git blame: 2025-07-25
Description
A potential vulnerability exists in the Chrome automated password change flow that could allow a compromised network process to achieve a sandbox escape. The issue stems from a lack of validation on the change_password_url returned by the Google Affiliations API.
When a user initiates an automated password change, the browser relies on the Affiliations API to provide the URL of the password change form. However, the parser in components/affiliations/core/browser/lookup_affiliation_response_parser.cc does not restrict the scheme or origin of the provided URL. A compromised network process can intercept the affiliation request and return a spoofed protobuf response, setting the change_password_url to a highly privileged internal page, such as chrome://settings.
Because the password change flow uses a browser-initiated navigation (is_renderer_initiated=false) in a background tab or detached WebContents, it bypasses standard renderer-enforced restrictions and successfully navigates to the chrome:// scheme.
Furthermore, the CrossOriginNavigationObserver, which is intended to detect cross-origin redirects and abort the flow, fails to protect against this. It initializes its allowlist using the domain of the initial (spoofed) URL. For chrome://settings, the domain extraction logic returns an empty string (""), which is added to the allowlist. When the navigation commits, the check matches the empty string against the allowlist and incorrectly permits the navigation to proceed.
Once the privileged page loads, the flow attempts to find a password change form. When it inevitably fails and times out, it triggers a fallback mechanism. The browser captures the DOM tree of the chrome://settings page using AnnotatedPageContentCapturer and sends it to the Optimization Guide model. The compromised network process can intercept this request to read the privileged DOM structure. It can then provide a spoofed model response containing a dom_node_id_to_click corresponding to a dangerous element on the settings page. The ButtonClickHelper will execute this click on the user's behalf, executing privileged actions without user interaction.
Potential Attack Steps
Note: These steps outline a potential exploit path; a working proof-of-concept has not been executed.
- Network Interception: An attacker with code execution in the network process intercepts a request to the Affiliations API.
- Spoof Response: The attacker returns a spoofed protobuf response for a legitimate site, setting the
change_password_urlin thechange_password_infofacet tochrome://settings. - User Trigger: The user clicks the "Change password" button for the legitimate site (e.g., in a breach notification dialog).
- Privileged Navigation: The browser initiates a background navigation to
chrome://settings. TheCrossOriginNavigationObserverfails to abort the flow because its domain extraction returns an empty string, which matches its initial empty string allowlist. - DOM Capture: The password change form finder times out and triggers the
AnnotatedPageContentCapturer. The browser extracts the DOM tree ofchrome://settingsand sends it to the Optimization Guide. - Spoofed Model Response: The attacker intercepts the Optimization Guide request, reads the privileged DOM, and returns a spoofed response directing the browser to click a specific
dom_node_id(e.g., a button to disable Safe Browsing or export passwords). - Sandbox Escape: The
ButtonClickHelpersends an IPC to the renderer, simulating a click on the targeted element inchrome://settings, executing a privileged action and achieving a sandbox escape.
Suggested Fix
- Strict URL Validation: In
components/affiliations/core/browser/lookup_affiliation_response_parser.cc(or where the data is consumed), explicitly validate thechange_password_url. Ensure that the scheme ishttps://and that the origin matches or is strictly affiliated with the origin of the credentials being updated. - Robust Observer Logic: Update
CrossOriginNavigationObserverto explicitly reject navigations to non-web schemes (e.g.,chrome://,file://) and handle domain extraction failures more securely, rather than allowing empty strings to match.
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The affiliation response parser accepted any scheme or origin for the password change URL, and the cross-origin observer's allowlist was seeded from that same unvalidated URL, so an empty extracted domain matched and the navigation was not aborted.
Impact
A compromised network process could read a privileged page's DOM and trigger privileged actions without user interaction, which the report describes as a sandbox escape; the report notes that no working proof-of-concept has been executed.
What the attacker needed
Compromised network process; victim clicks change password; no PoC executed
The fix
The password change URL should be validated to require https and an origin matching or affiliated with the credentials being updated, and the observer should reject non-web schemes and handle domain extraction failures instead of matching empty strings.
How it was found
- An attacker with code execution in the network process intercepts a request to the Affiliations API.
- The attacker returns a spoofed response setting the password change URL to an internal settings page.
- The user clicks the change password button for the legitimate site.
- The browser navigates in the background to the internal page and the cross-origin observer fails to abort it.
- The form finder times out, the page DOM is captured and sent to the Optimization Guide.
- The attacker returns a spoofed response naming an element to click, and the click is executed.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Chrome splits its work into processes, and some of them are less trusted than others; a 'sandbox escape' means breaking out of that separation to reach more powerful parts of the browser. Here the browser asked a service which web address holds the password change form and never checked the answer, so a tampered answer could send it to an internal settings page instead of a normal website. The browser then read that page and clicked things on it automatically, which is what turns a bad address into a serious problem.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.