I believe it’s fine. As you rightly pointed, you won’t have to go through security. But you’ll have to go through passport control as 2E is non-Schengen. And many people are connecting 2F to 2E at that time for the last long-haul departure bank around 23:15-23:30.