Only the petstore example on main gets security fixes.
Report it privately, with the Report a vulnerability button in the Security and quality tab of this repository. Never open a public issue for a vulnerability.
The report stays private until the fix is released and the security advisory is published.