Wisby Shipmanagement AB said in a statement Monday that pirates boarded its vessel, the Gotland Sofia, early Sunday, but the navy arrived quickly and the pirates fled.
The company said no one was injured in the attack and the tanker suffered only minor damage.
It says the crew of 18 Filipinos, four Swedes and one Ukrainian were shocked by the incident.