# MentorAgent 1.3.1 release notes

> MentorAgent 1.3.1 fixes a security defect in action policies: who is affected, what to do if you cannot upgrade yet, and the new support policy.

- URL: https://docs.mentoragent.net/release-notes/1-3-1
- Verified with: MentorAgent 1.3.1
- Last updated: 2026-11-18
- Packages: Novior.MentorAgent, Novior.MentorAgent.Abstractions, Novior.MentorAgent.Blazor, Novior.MentorAgent.Declarative, Novior.MentorAgent.Server

MentorAgent 1.3.1 was published on NuGet on 14 November 2026 (UTC). It is a patch version: it fixes a security defect of severity S1 in action policies, and nothing else. See [Security](https://docs.mentoragent.net/release-notes/1-3-1#security).

| Package | Version |
|---|---|
| [Novior.MentorAgent](https://www.nuget.org/packages/Novior.MentorAgent/1.3.1) | 1.3.1 |
| [Novior.MentorAgent.Abstractions](https://www.nuget.org/packages/Novior.MentorAgent.Abstractions/1.3.1) | 1.3.1 |
| [Novior.MentorAgent.Blazor](https://www.nuget.org/packages/Novior.MentorAgent.Blazor/1.3.1) | 1.3.1 |
| [Novior.MentorAgent.Declarative](https://www.nuget.org/packages/Novior.MentorAgent.Declarative/1.3.1) | 1.3.1 |
| [Novior.MentorAgent.Server](https://www.nuget.org/packages/Novior.MentorAgent.Server/1.3.1) | 1.3.1 |

The five packages require each other at exactly this version: upgrade them together. MentorAgent 1.3.1 runs on .NET 10. To upgrade, see [Upgrade from 1.3.0](https://docs.mentoragent.net/release-notes/1-3-1#upgrade-from-130).

## Highlights

- **[An action policy now decides for every agent](https://docs.mentoragent.net/release-notes/1-3-1#security).** An action that a policy does not offer a user stays out of reach. That holds for specialists, team members and agent sources too, and for a call to the action by name.
- **[Earlier minor versions get no more fixes](https://docs.mentoragent.net/release-notes/1-3-1#earlier-minor-versions-get-no-more-fixes).** Only the latest minor version gets fixes, security fixes included.

## New features

This version adds no features.

## Improvements

This version has no other improvements.

## Fixes

This version fixes one defect, a security defect: see [Security](https://docs.mentoragent.net/release-notes/1-3-1#security).

## Security

**BUG-233 (S1), in `Novior.MentorAgent`.** The advisory is [GHSA-wqpr-h32x-xm2v](https://github.com/Novior-dev/MentorAgent/security/advisories/GHSA-wqpr-h32x-xm2v): severity High, CVSS 8.1, CWE-863 (incorrect authorization), with no CVE. It affects 1.2.0 and 1.3.0. Versions 1.0.x and 1.1.x had no action policies, so they are not affected.

**What happened.** In 1.2.0 and 1.3.0, a signed-in user could run an action that an `IMentorActionPolicy` did not offer them. This happened when the policy decided at `MentorActionStage.Offer` and checked something else at `MentorActionStage.Call`. The policy example in the 1.3.0 README did so. There were two ways through:

- **Through another agent.** The policies were asked at the offer only about the coordinator's actions. Specialists, team members and the agents of an `IMentorAgentSource` got their tools by roles alone, so they could call such an action.
- **By name.** On Path A, where MentorAgent builds the agent from your `ChatClient` (see [Model providers](https://docs.mentoragent.net/configure/model-providers)), an action left out at the offer was still known to the coordinator. A user could ask for it by name, and only the policy's answer at the call decided.

**Who is not affected.**

- An application whose policies answer at the call the same question that they answer at the offer. The policy example of these pages, [`CaseTeamPolicy`](https://docs.mentoragent.net/concepts/governance#your-own-rules-action-policies), does so.
- An action protected by its roles, `RequiredRoles`, or by an `IMentorActionGovernor`.
- The coordinator on Path B, your own `AIAgent`.

**What changes in 1.3.1.** The policies decide which tools every agent is offered. MentorAgent asks them once a turn, at the agent's first request, with its `AgentKind` and `AgentName`. A call to an action that they did not offer that agent in the turn is refused: `Denied`, with the reason code `not-offered`. MentorAgent refuses it before any confirmation box, and does not ask the policies about the call.

**If you cannot upgrade yet.** Make each policy answer at `MentorActionStage.Call` the question that it answers at `MentorActionStage.Offer`. Or protect the action with `RequiredRoles`, or with an `IMentorActionGovernor`. [Where policies are asked](https://docs.mentoragent.net/reference/action-policies#imentoractionpolicy) shows both stages.

### Earlier minor versions get no more fixes

With 1.3.1 the support policy changes. Only the latest minor version gets fixes, in its patch versions, and a security fix ships as soon as it is ready. Earlier minor versions get no more fixes, security fixes included. The security fixes promised for 1.0.x, 1.1.x and 1.2.x are withdrawn. Upgrade to the latest minor version, which is compatible with the earlier ones: see [Versioning and support](https://docs.mentoragent.net/release-notes#versioning-and-support).

## Breaking changes

This version has no intended breaking change, and the public API does not change. Two changes of behavior come with the fix:

- **Fewer tools for other agents.** With an action policy registered, specialists, team members and the agents of an `IMentorAgentSource` are offered only the tools that the policies offer the user, as the coordinator is.
- **A new reason code for some refusals.** A call to an action that a policy did not offer in the turn now reaches an `IMentorActionObserver` as `Denied` with `not-offered`, not `not-authorized`.

The steps are in [Upgrade from 1.3.0](https://docs.mentoragent.net/release-notes/1-3-1#upgrade-from-130).

## Deprecations

This version deprecates nothing.

## Dependency updates

This version changes no dependency: they are the same as in [1.3.0](https://docs.mentoragent.net/release-notes/1-3-0#dependency-updates).

## Known issues

The defects that are still open in 1.3.1, with what to do about each one, are on the [Known issues](https://docs.mentoragent.net/reference/known-issues) page, together with the prerelease packages and the package versions to pin. The limits that are not defects are in [Known limitations](https://docs.mentoragent.net/reference/known-limitations).

## Upgrade from 1.3.0

1. **Upgrade the five packages together.** Each package requires the others at exactly its own version.
2. **Check what your policies offer to other agents.** A policy that leaves an action out at the offer now leaves it out for specialists, team members and agent sources too. Check that each agent still gets the tools it needs.
3. **Check what reads the reason codes.** A report or an alert that counts `not-authorized` now also needs `not-offered`, for the calls to an action that a policy did not offer.
4. **Update the links you write by hand.** If a page links `MentorAgent.css` and `MentorAgent.js` itself, as the `index.html` of a [Blazor WebAssembly](https://docs.mentoragent.net/configure/blazor-webassembly#minimal-configuration) client or of a [.NET MAUI](https://docs.mentoragent.net/configure/maui#minimal-configuration) application does, change `?v=1.3.0` to `?v=1.3.1` in both links.

If you upgrade from 1.2.0, first read [Upgrade from 1.2.0](https://docs.mentoragent.net/release-notes/1-3-0#upgrade-from-120) in the 1.3.0 notes.

## Full list of changes

Every entry of this version is in the [1.3.1 section of CHANGELOG.md](https://github.com/Novior-dev/MentorAgent/blob/main/CHANGELOG.md#131---2026-11-14), which is also the [release notes on NuGet](https://www.nuget.org/packages/Novior.MentorAgent/1.3.1#releasenotes-body-tab).

---

- Previous: [MentorAgent 1.4.0 release notes](https://docs.mentoragent.net/release-notes/1-4-0.md)
- Next: [MentorAgent 1.3.0 release notes](https://docs.mentoragent.net/release-notes/1-3-0.md)
