Between a rock and a hard place
estaɾ eɪŋtri a espadæ i a paɾedʒy
In Portuguese Estar entre a espada e a parede
This Portuguese idiom, like the Spanish one, uses the imagery of a sword and a wall.
Example
"Ele estava entre a espada e a parede, sem saber o que fazer."