in reply to bug in POSIX mkfifo?

I agree. From the posix man page on mkfifo:

set file permission bits to MODE, not a=rw - umask


It doesn't look like a bug. You just need to be aware of your umask.