It borders both Panama & Nicaragua
[DOC] [TLE] About Costa Rica, Nicaragua, their mutual border, and Google ... [PAR] Nov 7, 2010 ... For a good 10km stretch, Bing actually gives Nicaragua both banks of ..... Park) 
and it lies across borders between Costa Rica and Panama.