Drupal security updates, in plain English · Module

AI Agents

13,186 sites report using it · on drupal.org · 1 security update explained here

This module provides a framework to create artificial intelligence agents that can follow instructions to manipulate website content.

Below is every security update for AI Agents 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.

AI Agents

Moderately critical · 13,186 sites report using it · 2 security fixes · Week of 24 June 2026

2 security fixes in one update. AI Agents fixed 2 separate security bugs this week: 1 information disclosure, 1 access bypass. One update covers all of them. The most serious, SA-CONTRIB-2026-057, is explained here and the full list is at the end of the card.

Anyone without logging in could cause an artificial intelligence agent to reveal hidden details when it uses the same tool multiple times in one request. They could view restricted agent configurations and alter certain automated tasks. They could not access or modify every piece of information on the website.

  • Who could do thisAnyone visiting the site. No login needed.
  • Does it apply to youAny site using this module.
  • Has it been used in attacksNo sign of it.
  • How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.

Tell your developerUpdate AI Agents to 1.1.4, 1.2.5 or 1.3.1, whichever branch you are on.

For developers: what the fix changed

This release carries 2 security fixes. The summary below is for SA-CONTRIB-2026-057, the most serious of them.

The fix clones the context definition in `AiAgentEntityWrapper::setToolUsageLimits` to prevent mutating the shared cached definition across agent instances, which stops parameters from being inherited. It also adds field-level access checks to `ContentEntitySeeder`, `GetCurrentContentEntityValues`, and `ListContentEntities` to ensure users have the appropriate view or edit permissions.

Also in this release The release also updates regex constraints to use named arguments, changes token replacement to not escape HTML markup, adds a logger channel, and removes some tests.

1.1.3 to 1.1.4 5 commits, 13 files including 3 tests.

  • ai_agents.services.yml +4 −1
  • composer.json +1 −1
  • src/Plugin/AiFunctionCall/ContentEntitySeeder.php +5 −0 fix
  • src/Plugin/AiFunctionCall/CreateContentType.php +1 −1
  • src/Plugin/AiFunctionCall/EditContentType.php +1 −1
  • src/Plugin/AiFunctionCall/GetCurrentContentEntityValues.php +8 −1 fix
  • src/Plugin/AiFunctionCall/ListContentEntities.php +12 −3 fix
  • src/Plugin/AiFunctionCall/ModifyVocabulary.php +1 −1
  • src/PluginBase/AiAgentEntityWrapper.php +27 −2 fix
  • src/PluginManager/AiAgentManager.php +5 −1

Full diff, 1.1.3 to 1.1.4 · Full diff, 1.2.4 to 1.2.5 · 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.

All 2 security bugs this update fixes, worst first. Each link is the drupal.org notice for that one.

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.