Please do not open a public issue for a security problem.
Report it privately through GitHub: open the affected repository, go to the Security tab and choose Report a vulnerability. Direct links for the main repositories:
Include the version or commit you tested, the steps to reproduce the problem and what an attacker could do with it.
Fixes go into the latest release of each project. Older releases do not get security updates.