AutoMapper
Relicensed Facts checked 26 Nov 2026
AutoMapper moved from MIT to a commercial licence (or RPL-1.5) in July 2025. Version 14.0.0 is the last MIT release.
- Was
- MIT
- Now
- Dual licence, RPL-1.5 or a commercial licence from Lucky Penny Software (from version 15)
- Last free version
14.0.0- First paid version
15.0.0- Changed
- Jul 2025
- Still free for
- A free Community licence is offered to organisations under $5M annual revenue, non-profits, education and non-production use. Check the current terms.
- NuGet
- AutoMapper (latest 17.0.0, 1.2B downloads)
- Source
- github.com/LuckyPennySoftware/AutoMapper
Security note
- CVE-2026-32933: Denial-of-service through uncontrolled recursion (CVSS 7.5). Fixed in the commercial versions 15.1.1 and 16.1.1. Advisories list 14.0.0, the last free version, as affected.
Free alternatives
Source generator. Mapping code is generated at compile time, so there is no runtime reflection. The most popular replacement.
NuGet: Riok.Mapperly
Runtime mapper with an API close to AutoMapper. Also has a code generation mode.
NuGet: Mapster
- Manual mappingBuilt into .NET
Plain C# mapping methods or extension methods. No dependency at all, and easy for AI coding tools to write.
A small, new mapping library. Check its activity before depending on it.
NuGet: ForgeMap
- FastCSharp.MapperCommunity fork
A small, early fork that aims to stay binary compatible with AutoMapper 14.0. Check its activity before depending on it.
- Pin 14.0.0Stay on the last free version
Stays MIT, but has the unpatched CVE above.
Staying on the last free version
Pin the exact version so an update can't move you onto the paid licence by accident:
<PackageReference Include="AutoMapper" Version="[14.0.0]" />A pinned version gets no new fixes. Check for security advisories before relying on it long term.
Notes
- Versions already published under MIT stay MIT. The change only affects new versions.
- MediatR, by the same author, changed licence at the same time.
Sources
- FOSSED: AutoMapper
- Stop your AI agent picking the wrong .NET libraries (Sep 2026)
- GitHub advisory GHSA-rvv3-g6hj-g44x
Something wrong or out of date? Edit this page on GitHub.