The FEN k7/6p1/8/q4P1K/8/8/8/8 b KQkq - 0 1, and similar FENs with the same arrangement of the King, Queen and the pawns, allow the King to be captured due to a bug in validation of the En-passant move.
The board arrangement can be reproduced by uncommenting Line 5 in defs/Constants.py and commenting Line 4 in the same file.