)]}'
{
  "commit": "3dfa9781cb4f9500c7b7ad96127593bbf664c108",
  "tree": "afed0c60ed00dc420d99af936ff1779645c5ea58",
  "parents": [
    "cd43df5ad8bef738ce0b803afe28674365f57942"
  ],
  "author": {
    "name": "Sam Lin",
    "email": "hsiangyulin@google.com",
    "time": "Wed Jul 01 04:45:21 2026 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Thu Aug 20 13:18:16 2026 -0700"
  },
  "message": "[Accessibility] Fix metadata spoofing in setAccessibilityWindowAttributes\n\nA malicious app could use setAccessibilityWindowAttributes to overwrite\nthe accessibility title and locale of any other window by guessing its\ninteger windowId.\n\nThis CL adds an ownership check in AccessibilityWindowManager to ensure\nthat the calling UID matches the UID associated with the target window\u0027s\nconnection.\n\nVerification:\n1. Added unit test in AccessibilityWindowManagerTest to verify the\n   SecurityException is thrown on the server side when UID mismatch\n   is detected.\n2. Added CTS test AccessibilityWindowMetadataTest (tagged for STS)\n   to verify that foreign window attributes cannot be spoofed and\n   own window attributes can still be set successfully.\n\nBug: 494816520\nTest: atest AccessibilityWindowManagerTest\nTest: atest CtsAccessibilityTestCases:android.view.accessibility.cts.AccessibilityWindowMetadataTest\nFlag: EXEMPT CVE_FIX\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:a03ff76d12d83c73b7df058ac7b2299a1df6dc4d\nMerged-In: I2982185203cfaac6f73a12adfe41b9e810bc535d\nChange-Id: I2982185203cfaac6f73a12adfe41b9e810bc535d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "78f07e4f2692a2464351e62926c71935e111ea49",
      "old_mode": 33188,
      "old_path": "services/accessibility/java/com/android/server/accessibility/AccessibilityWindowManager.java",
      "new_id": "e8e7969e025369c6d31614957829960a28ab981b",
      "new_mode": 33188,
      "new_path": "services/accessibility/java/com/android/server/accessibility/AccessibilityWindowManager.java"
    },
    {
      "type": "modify",
      "old_id": "2dfabd0fbefb8217e66f59fc8d357eaab16dd328",
      "old_mode": 33188,
      "old_path": "services/tests/servicestests/src/com/android/server/accessibility/AccessibilityWindowManagerTest.java",
      "new_id": "cf8690b0accfc1be7ef8d820c8c155f29f3b93ab",
      "new_mode": 33188,
      "new_path": "services/tests/servicestests/src/com/android/server/accessibility/AccessibilityWindowManagerTest.java"
    }
  ]
}
