Payara Micro Community 5.2021.6 and below contains a directory traversal vulnerability.
View the template here CVE-2021-41381.yaml
echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-41381.yaml
References: