something that seems to be good, but that can have a bad effect:
Being famous is often a double-edged sword.
having two different parts:
a double-edged attack on global warming
a double-edged remark has two possible meanings, one of which is not very nice:
It sounded like a double-edged comment.
with two cutting edges:
a double-edged knife