An Incorrect Access Control vulnerability was found in Wikimedia MediaWiki 1.18.0 through 1.32.1. It is possible to bypass the limits on IP range blocks ($wgBlockCIDRLimit) by using the API. Fixed in 1.32.2, 1.31.2, 1.30.2 and 1.27.6.
https://phabricator.wikimedia.org/T199540
https://lists.wikimedia.org/pipermail/wikitech-l/2019-June/092152.html