In all versions of GitLab CE/EE since version 13.6, it is possible to see pending invitations of any public group or public project by visiting an API endpoint.
{
"versions": [
{
"introduced": "13.6.0"
},
{
"fixed": "14.1.7"
},
{
"introduced": "13.6.0"
},
{
"fixed": "14.1.7"
},
{
"introduced": "14.2.0"
},
{
"fixed": "14.2.5"
},
{
"introduced": "14.2.0"
},
{
"fixed": "14.2.5"
}
]
}