In 2018, UK cannabis law changed through updates to the Misuse of Drugs...
https://dlf-ne.org/is-cannabis-legal-in-the-uk-or-not-in-2026-clearing-up-the-confusion/
In 2018, UK cannabis law changed through updates to the Misuse of Drugs Regulations 2001, not the Misuse of Drugs Act 1971. Since then, specialist doctors can prescribe cannabis-based medicines listed as Schedule 2 substances