Please do not open a public issue for security problems.
Report it privately through GitHub instead: on the repository's Security tab, choose Report a vulnerability. You will get a reply there, and the fix will be coordinated with you before anything is disclosed.
Only the latest release on the main branch receives security fixes.