Update: The PR was accepted. Update your Metasploit installation and have a look!
Version 1 of an APF privilege escalation (Requires Creds) of a metasploit module has been submitted for inclusion. This version has no bells or whistles.
You can view it here:
PR# 8228 z/OS Privesc via authorized APF library write access