Everyone has the right to social security, including social insurance. This right applies equally to all without discrimination, including people who use drugs, people dependent on illicit drug economies, people in prisons and other places of detention or closed settings, and people who have been arrested for, charged with, or convicted of drug-related offences.
In accordance with this right, States should:
i. Take steps, to the maximum of available resources, to establish and progressively expand comprehensive social security systems that equally guarantee legal entitlements – including universal access to health care, housing, education, and basic income security – to the aforementioned individuals and groups, while also ensuring that particularly marginalised or vulnerable groups can effectively exercise and realise these human rights on an equal basis with others.
ii. Prevent and remedy the denial of social assistance to persons on the basis of drug dependence, which is impermissible discrimination.
iii. If in a position to assist other States, facilitate the realisation of the right to social security and related entitlements, including through the provision of economic and technical assistance.
Here is where you will see the cited reference for the Commentary feature.