Yes. Knitting needles, accompanied by yarn, are not subject to any security restrictions and are permitted in your carry-on luggage. However, this is at the airline’s discretion.
This item is not restricted, but you need to check with your airline as some prohibit knitting needles from carry-on.
You will be asked to relinquish all dangerous or prohibited items found in your carry-on luggage. If you refuse:
AvSec x-ray bags going onto aircraft to ensure there is nothing dangerous in them. If something comes up on the x-ray that needs checking, the bag will be opened, searched and any dangerous good or prohibited item will be removed, with a bag search notification form left within the bag.