An angry thorn stabbed me

This sentence is grammatically correct. However, "thorn" is an inanimate object, so it cannot feel emotions like anger. A possible rephrased sentence that is more accurate could be: "The thorn pricked me sharply and caused me pain."