Drupal security updates, in plain English · Module

Restrict route by IP

213 sites report using it · on drupal.org · 1 security release explained here

It provides an interface to manage page restriction by IP address.

Below is every security release for Restrict route by IP that this site has covered, newest first. Each one says who could exploit it, whether it applies to your site, how urgent it is, and what to tell your developer. If your site uses this module and you are not sure which version, that is the first question to ask whoever looks after it.

Restrict route by IP

Critical · 213 sites report using it · SA-CONTRIB-2026-216 · on drupal.org · Week of 7 October 2026

It provides an interface to manage page restriction by IP address.

The website fails to block access based on internet addresses for certain dynamic web pages. A visitor could see hidden pages and make changes to them.

  • Who could do thisAnyone visiting the site. No login needed.
  • Does it apply to youA site is affected if it uses this module and has any dynamic pages.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this critical. Cyber Essentials expects a fix within 14 days. Do it this week.

Tell your developerUpdate Restrict route by IP to 2.0.1 or 1.3.1, whichever branch you are on.

For developers: what the fix changed

The fix passes the current route collection to the service method fetching restricted routes and alters the route subscriber priority to ensure dynamic routes are properly processed.

Also in this release The release bumps core version requirements, improves type hinting, fixes an issue adding new configuration entities and filters HTML tags from IP and parameter fields.

2.0.0 to 2.0.1 6 commits, 10 files including 1 test.

  • composer.json +1 −1
  • restrict_route_by_ip.info.yml +1 −1
  • src/Controller/RestrictRouteListBuilder.php +11 −2
  • src/Entity/RestrictRouteByIp.php +50 −5
  • src/Entity/RestrictRouteInterface.php +6 −7
  • src/Form/RestrictRouteForm.php +0 −14
  • src/Routing/RouteSubscriber.php +11 −1 fix
  • src/Service/RestrictIpInterface.php +11 −3 fix
  • src/Service/RestrictIpService.php +19 −11

Full diff, 2.0.0 to 2.0.1 · Full diff, 1.3.0 to 1.3.1

The comparison is against the release immediately before the fix. If your site is on an older release, more will have changed.

Not sure what your site is running?

Send me your Drupal site's address.

I'll tell you what I can see from outside, what the Drupal 10 end of life on 9 December means for it, and what it would cost to have me keep it patched. There's no charge for that and no obligation. peter@peterbrady.co.uk


Get in touch

Tell me who you are, what your organisation does, and what you need. That might be a Drupal site that needs looking after, an upgrade to get done before December, or an agency that needs Drupal cover.

If I can help, I'll say so and suggest a call. If I can't, I'll tell you straight away rather than waste your time.

peter@peterbrady.co.uk

For context: I work mainly with UK charities, membership bodies and research organisations, and with the agencies that look after their websites. Not recruiters.

Or start smaller and connect with me on LinkedIn. That's where I post what I find digging around in charity and grants data, and where the free tools turn up first.