Yes, this happened in earlier patches as well. However, I'm pretty sure I didn't get a disadvantage when attacking within the darkvision range granted by Devil's Sight. So I think it's just a lighting bug, not a game mechanics bug.