The Nameless One from Planescape: Torment can escape the Maze. (via a portal puzzle that doesn't appear to require any special skills/abilities, and just involves wandering around and using them in a specific order)
Of course, he IS immortal and as I recall getting sent there is optional in the first place, so it might not be present in the canon retelling of the story.
Because that was that power of one of its eyestalks in previous editions of the game.
In AD&D book Monster Manual II (1983) by Gary Gygax, the ability to create food and water is one of the spectator's four eyestalks, the others being cause serious wounds, paralyzation ray, and telepathy.
The special quality of "Undead Traits" didn't really exist until D&D 3e (2000), which took design influence from Magic: the Gathering to apply general traits to specific monster types. The fact that undead don't need to eat or sleep wasn't really considered relevant by the designers of the very early editions of the game, when D&D was largely about fighting monsters in dungeons rather than any kind of realism.
In the D&D third edition book Magic of Faerûn (2001), the spectator similarly has the ability to create food and water with one of its eyestalks. Its other three were inflict serious wounds, hold monster, and suggestion. An updated version of the creature in Lords of Madness (2005) changes the creature so it creates food and drink as an innate ability, and one of its eye stalks instead causes fatigue.
It needs to eat and drink because according to its lore, the spectator is dedicated to to guard a specific place or thing without the luxury of leaving to hunt for food. Beholders are traditionally a type of living creature known as an Aberration, and therefore it would not be correct to simply make them Undead. Aberrations frequently have to eat, and the large mouth of beholder-like creatures strongly suggests that it is a creature which must eat to survive, and perhaps even greatly enjoys eating. It's therefore highly thematically appropriate for the spectator to be able to create food.
Giving creatures the ability to cast a single spell is a long-standing D&D mechanical tradition that dates back to the earliest editions of the game, when the easiest way for designers to give a monster a magical capability was simply to allow it to cast a spell normally available to a player character spellcasting class such as the cleric. D&D third edition often did this, where they were generally known as spell-like abilities.
It's not unthinkable for living creatures to be immune to the need to eat and drink, of course. The elan are a race of people who are of Aberration type, and they can sustain themselves without food or drink.
Best Answer
Oghma is canonically fairly non-controversial.
According to the AD&D 2nd edition Legends & Lore p.63, Oghma is intolerant of losing worshippers to another deity, and will enact harsh punishment against clerics whose flock switch to another deity. (Note: he doesn't punish his former followers for leaving, he punishes the follower's cleric, which may seem unfair.)
According to Faiths & Avatars p.131, Oghma's only real flaw is that he spends too much time implementing convoluted plots rather than taking direct action.
Per the AD&D 2e Draconomicon p.40, despite being god of knowledge, Oghma was repeatedly beaten at chess by the brass dragon Ileuthra.