The answer is, it depends. The United States has jurisdiction over its military bases and embassies in whatever country those facilities are located. The concept of extraterritorial jurisdiction applies. However, in some cases, there is some limited jurisdiction by the hosting country. What the jurisdictional limits are for both the United States and the hosting countries can be found in the treaties between the involved nations and some federal law.