Insufficient validation of untrusted input in Password Manager (CVE-2026-11192)
The browser trusted password requirement specifications received from Autofill crowdsourcing responses without checking their entropy or length limits. A compromised network service could supply a malicious specification that made the password generator produce predictable four-character passwords, which were then offered as strong suggestions and saved, and an oversized maximum length could crash the browser process.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 47 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. Please see go/chrome-ai-generated-security-bugs-faq for more information.
Overview: A compromised network service can spoof Autofill responses to inject a malicious PasswordRequirementsSpec. This allows an attacker to bypass minimum length checks and force the browser to generate highly predictable 4-character passwords. These weak passwords are then presented as 'strong' suggestions and persistently saved to the user's password manager.
Affected files:
components/password_manager/core/browser/generation/password_generator.cccomponents/password_manager/core/browser/password_requirements_service.cccomponents/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_encoding.cccomponents/password_manager/core/browser/generation/password_requirements_spec_fetcher_impl.cc
Estimated timestamp from git blame: 2024-09-13
Summary
The Chromium browser process ingests PasswordRequirementsSpec protocol buffers from Autofill crowdsourcing query responses. These specifications guide the password generation feature. However, the browser process stores and uses these specifications without sufficient validation of the character set entropy or constraints. A compromised network process can supply a malicious specification that severely restricts the entropy of generated passwords, reducing the search space to fewer than 24 permutations. The browser UI continues to suggest the resulting password as a 'strong' generated password, which is subsequently saved to the Password Manager.
Additionally, providing a max_length significantly larger than 200 causes a deterministic out-of-bounds insert crash in GenerateMaxEntropyChunkedPassword, leading to a denial of service of the browser process.
Vulnerability Details & Potential Steps to Reproduce
Note: The following are suggested potential steps, as our tooling agent has not executed a live proof of concept.
- Network Interception: An attacker with Remote Code Execution in the sandboxed Network Service intercepts an Autofill crowdsourcing query to
content-autofill.googleapis.com. - Spoofed Spec: The attacker constructs a spoofed
AutofillQueryResponsecontaining a maliciousPasswordRequirementsSpecwith:priority = 0xFFFFFFFF(UINT32_MAX)max_length = 4lower_case { character_set: "a" }upper_case { character_set: "A" }numeric { character_set: "1" }
- Cache Poisoning: The parsed spec is passed to
PasswordRequirementsService::AddSpecin the browser process. BecausepriorityisUINT32_MAX, it permanently wins the domain-keyed LRUCache against legitimate updates. - Generation Overrides: When the user triggers password generation,
autofill::GeneratePasswordmerges the malicious spec over secure defaults. The ProtobufMergeFromoverwrites the default character sets and length caps, but preserves the defaultmin: 1character requirements. - Zero-Entropy Generation:
GenerateMaxEntropyPasswordclamps the target length to 4. To fulfill themin: 1requirements for lower, upper, and numeric classes, it usesbase::RandGeneratoron the attacker's length-1 strings, deterministically appending "a", "A", and "1". The 4th character is randomly selected from the same constrained pool. - Safety Bypass: The generated password has a size of exactly 4. Execution returns to
GeneratePassword, where the safety checkif (password.size() < 4)evaluates to false. This successfully bypasses the fallback to the secure default specification. - Persistence: The highly predictable 4-character password is automatically filled, presented as a strong suggestion, and ultimately saved to the Password Manager upon form submission.
Suggested Fix
- Input Validation:
autofill::GeneratePasswordorPasswordRequirementsServiceshould validate that the providedPasswordRequirementsSpecmeets a minimum entropy threshold before merging. Character sets provided by the network should not be trusted blindly. - Strict Length Enforcement: Update the safety check in
GeneratePasswordto enforce a stricter minimum length (e.g.,password.size() < kDefaultPasswordLength / 2or at least 8) instead of 4. - Chunking Bounds Check: In
GenerateMaxEntropyChunkedPassword, ensure that the calculatednumber_of_dashesdoes not lead to out-of-bounds insertions whenmax_lengthexceeds the 200-character cap enforced byGenerateMaxEntropyPassword.
Evaluated with Chrome root at commit: 661452647ddb2827305122ff3273bd5dea403f09
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
Likely the browser merged network-supplied password requirement specifications into its defaults without validating character-set entropy or length bounds, and its safety check only rejected passwords shorter than four characters.
Impact
Users could end up with highly predictable four-character passwords saved as strong suggestions, and a large maximum length could crash the browser process; the steps are suggested and were not executed as a live proof of concept.
What the attacker needed
Attacker already controls the network service; user triggers password generation; user saves the suggested password
The fix
The report suggests validating the entropy of network-supplied specifications, raising the minimum length check, and adding bounds checks in the chunked generator; it does not say whether this was fixed.
How it was found
- An attacker who already controls the sandboxed network service intercepts an Autofill crowdsourcing query.
- The attacker replies with a spoofed response containing a malicious password requirements specification with a maximum priority and a four-character length.
- The specification is cached in the browser process and, because of its maximum priority, permanently beats legitimate updates.
- When the user triggers password generation, the malicious specification is merged over the secure defaults.
- The generator produces a four-character password that passes the length safety check.
- The weak password is filled in, shown as a strong suggestion and saved to the password manager.
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.
When you ask a browser to suggest a password, it follows rules it receives from an online service about how long and varied the password should be. Here the browser believed those rules without checking them, so someone who had already broken into one part of the browser could make it create very weak passwords and label them as strong. The report also says a very large length value could make the browser crash.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.