You can now use the REST API to open a private vulnerability report on open-source repositories that have this feature enabled.

Learn more about the repository security advisories REST API