Cryptographic Flaw in Enterprise (CVE-2026-17666)
The policy validator checked that a Google-signed key verification blob was genuine and matched the victim's domain, but never checked that the key inside that blob was the same key used to sign the policy payload. An attacker in a TLS man-in-the-middle position could therefore swap in their own signing key and persistently inject arbitrary enterprise policies.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 3 months
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 https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: CloudPolicyValidatorBase correctly verifies the Google signature on a policy key verification blob but fails to verify that the key contained inside the blob matches the key used to sign the policy payload. This allows an attacker with TLS MITM capabilities to intercept initial policy fetches, substitute their own signing key, and persistently inject arbitrary enterprise policies into the device or profile.
Affected files:
components/policy/core/common/cloud/cloud_policy_validator.cccomponents/policy/core/common/cloud/user_cloud_policy_store.ccchrome/browser/ash/policy/enrollment/enrollment_handler.ccchrome/browser/ash/policy/core/user_cloud_policy_store_ash.ccchrome/browser/ash/policy/core/device_cloud_policy_store_ash.ccchrome/enterprise_companion/dm_client.cc
Estimated timestamp from git blame: 2026-02-06
Summary
A potential vulnerability in CloudPolicyValidatorBase allows an attacker with a TLS Man-in-the-Middle (MITM) position to bypass the verification mechanism intended to protect initial policy delivery from the Device Management (DM) server.
The validator correctly checks the Google-signed PublicKeyVerificationData blob to ensure it is authentic and matches the victim's domain. However, it fails to verify that the public key encapsulated inside this authenticated blob matches the new_public_key field in the PolicyFetchResponse (the key actually used to verify the policy payload). This missing cryptographic binding allows an attacker to substitute their own public key into the new_public_key field while providing a valid, captured Google-signed blob for the target domain.
Technical Details
In components/policy/core/common/cloud/cloud_policy_validator.cc, the CheckInitialKey() function uses policy_->new_public_key() to cryptographically verify the signature over the policy payload.
To ensure this key is trusted, it calls CheckNewPublicKeyVerificationSignature(), which verifies the Google signature over policy_->new_public_key_verification_data() using the hardcoded verification key. It then calls CheckDomainInPublicKeyVerificationData() to parse this blob and ensure its domain matches the domain of the device.
// components/policy/core/common/cloud/cloud_policy_validator.cc:545
bool CloudPolicyValidatorBase::CheckDomainInPublicKeyVerificationData(
const std::string& new_public_key_verification_data) {
em::PublicKeyVerificationData public_key_data;
if (!public_key_data.ParseFromString(new_public_key_verification_data)) {
// ...
}
if (public_key_data.domain() != ExtractDomainFromPolicy()) {
// ...
}
return true;
}
The vulnerability is that public_key_data.new_public_key() (the authenticated key) is never compared against policy_->new_public_key() (the unauthenticated key used to verify the payload). Because CheckInitialKey() relies on policy_->new_public_key(), an attacker can arbitrarily replace it.
Upon successful validation, UserCloudPolicyStore::StoreLoaded caches and persists validator->policy()->new_public_key() (the attacker's key) to disk. The attacker permanently controls future policy updates for the profile.
Potential Attack Scenario
An attacker requires a TLS MITM capability (e.g., via a compromised enterprise network or local trust anchor where public key pinning is bypassed).
- The attacker passively intercepts a legitimate policy fetch for the target domain (e.g.,
target.com) and extracts thenew_public_key_verification_datablob and its Google signature. - The attacker generates a malicious RSA keypair (
K_evil). - The attacker creates a malicious
PolicyDatapayload (e.g., force-installing a malicious extension for UXSS/RCE capabilities). - The victim initiates a fresh profile sign-in or device enrollment.
- The attacker intercepts the victim's request, extracting the
dm_tokenanddevice_idto populate their malicious payload. - The attacker crafts a malicious
PolicyFetchResponsewhere:policy_data= the malicious payload.new_public_key= the public key ofK_evil.policy_data_signature= the payload signed with the private key ofK_evil.new_public_key_verification_dataand its signature are the ones captured in step 1.
- The victim's browser validates the response. The payload signature is mathematically valid for
K_evil. The Google signature is mathematically valid for the captured blob, and the domain matches. The policy is applied, andK_evilis persisted.
Fix Recommendation
The CheckDomainInPublicKeyVerificationData function (or a new dedicated check in CheckNewPublicKeyVerificationSignature) must verify that the key enclosed within the authenticated blob exactly matches the key being validated.
if (public_key_data.has_new_public_key() && policy_->has_new_public_key() &&
public_key_data.new_public_key() != policy_->new_public_key()) {
LOG_POLICY(ERROR, POLICY_FETCHING)
<< PolicyTypeLogPrefix(policy_type_, settings_entity_id_)
<< "Key mismatch between policy and verification data.";
return false;
}
Evaluated with Chrome root at commit: eca8648a4e1cdfdda68c495a6003059fed641955
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.
Raised in root component due to access or custom field issues on 1227364
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 validator authenticated the key verification blob but never bound the key inside it to the new_public_key field used to verify the policy payload, so the two were not cryptographically linked.
Impact
An attacker with TLS interception could persistently inject arbitrary enterprise policies, such as force-installing a malicious extension, though this requires a position where public key pinning is bypassed.
What the attacker needed
TLS man-in-the-middle position; public key pinning bypassed; captured signed key blob for the domain
The fix
The validator should be changed to reject the response when the key in the authenticated blob does not match the key being validated.
How it was found
- Intercept a legitimate policy fetch for the target domain and capture the signed key verification blob.
- Generate a malicious keypair and craft a malicious policy payload.
- Wait for the victim to start a fresh sign-in or device enrolment.
- Intercept the victim's request and take the dm_token and device_id to fill in the malicious payload.
- Build a response with the malicious payload, the attacker's public key, a matching signature, and the captured blob.
- The browser validates everything, applies the policy, and stores the attacker's key.
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 a browser first receives company policies, it checks a signed note from Google saying 'this key belongs to this company'. The bug is that the browser never compared the key in that note with the key actually used to sign the policies. So someone who can intercept the network traffic could hand over their own key, still show the genuine Google note, and from then on control the device's policies.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.