Privacy Risks on Public USB Chargers
spreadprivacy.com
spreadprivacy.com
Android (AOSP) also has a "Default USB Configuration" setting deep in the Developer Options [1] to set a device to MTP, PTP, RNDIS, charging etc...
A device would have to be really misconfigured by either the user or the OEM to allow plugging in a USB cable to extract system from the userdata partition without user input or awareness; or someone is just burning 0days on the general public.
0. https://review.lineageos.org/q/topic:%22trust-usb%22+(status...
You're giving Android OEMs, on the whole, way too much credit.